Skip to content

Commit d75c8d3

Browse files
committed
Merge branch 'dev'
2 parents 65edcad + 46501a2 commit d75c8d3

File tree

6 files changed

+75
-30
lines changed

6 files changed

+75
-30
lines changed

notebooks/walkthrough/00-introduction.ipynb

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,26 @@
101101
"Furthermore, whenever Tuttle asks you to enter a password (e.g. for a cloud account), it will be processed securely and not stored."
102102
]
103103
},
104+
{
105+
"cell_type": "markdown",
106+
"id": "bce5e1c0-9609-423e-8f8f-6d55d1b17453",
107+
"metadata": {},
108+
"source": [
109+
"## Feature Preview"
110+
]
111+
},
112+
{
113+
"cell_type": "markdown",
114+
"id": "6e3e8e94-d7f8-4235-b5ad-5a9ecd4f819d",
115+
"metadata": {},
116+
"source": [
117+
"![](https://media.gettyimages.com/vectors/under-construction-sign-in-white-background-vector-id536013219?b=1&k=6&m=536013219&s=170x170&h=_-DZGgLDo-84eyZSJZmgwlekma7FYt3LdOdLIC7qktw=)"
118+
]
119+
},
104120
{
105121
"cell_type": "code",
106122
"execution_count": null,
107-
"id": "8d3ae2ea-86e9-4b9e-919f-56ccb1c0cf39",
123+
"id": "f2809b5c-795e-4ef6-94df-08aa6981c62c",
108124
"metadata": {},
109125
"outputs": [],
110126
"source": []

notebooks/walkthrough/01-user-setup.ipynb

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,33 @@
55
"id": "0025a9fb-f7bf-4151-a059-058401a9341c",
66
"metadata": {},
77
"source": [
8-
"# Setup"
8+
"# User Setup"
9+
]
10+
},
11+
{
12+
"cell_type": "markdown",
13+
"id": "c2268ff6-e356-4ca7-af88-291acd08061e",
14+
"metadata": {},
15+
"source": [
16+
"## Preamble"
17+
]
18+
},
19+
{
20+
"cell_type": "code",
21+
"execution_count": 1,
22+
"id": "97e897a7-21ad-41ec-b695-e07fa5fc864e",
23+
"metadata": {},
24+
"outputs": [],
25+
"source": [
26+
"from pathlib import Path"
27+
]
28+
},
29+
{
30+
"cell_type": "markdown",
31+
"id": "d24e3bb0-1116-4e97-8265-c5d347334c5c",
32+
"metadata": {},
33+
"source": [
34+
"## Setup"
935
]
1036
},
1137
{
@@ -375,20 +401,20 @@
375401
},
376402
{
377403
"cell_type": "code",
378-
"execution_count": 4,
404+
"execution_count": 2,
379405
"id": "ce5aac90-3726-423c-bdfa-0a4b57a977cf",
380406
"metadata": {},
381407
"outputs": [
382408
{
383409
"name": "stdout",
384410
"output_type": "stream",
385411
"text": [
386-
"tuttle.db\n"
412+
"tuttle.db tuttle.db-journal\n"
387413
]
388414
}
389415
],
390416
"source": [
391-
"!ls /Users/cls/.tuttle/"
417+
"!ls {Path.home()}/.tuttle/"
392418
]
393419
},
394420
{

notebooks/walkthrough/02-projects-setup.ipynb

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,14 @@
103103
"### Setup: Clients"
104104
]
105105
},
106+
{
107+
"cell_type": "markdown",
108+
"id": "adcd2838-2571-4857-bc4e-26bc53ff641b",
109+
"metadata": {},
110+
"source": [
111+
"The `Client` is the person or business you are working for in the course of a project."
112+
]
113+
},
106114
{
107115
"cell_type": "code",
108116
"execution_count": 4,
@@ -175,7 +183,7 @@
175183
"id": "886cba6c-d1e0-408b-a4e9-8fc9521788db",
176184
"metadata": {},
177185
"source": [
178-
"When you agree with a client on the terms of a project, you record them in a contract signed by both parties. In `tuttle`, this is what the `Contract` object is for."
186+
"When you agree with a client on the business terms of a project, you record them in a contract signed by both parties. In `tuttle`, this is what the `Contract` object is for."
179187
]
180188
},
181189
{
@@ -387,6 +395,16 @@
387395
"## Setup: Projects"
388396
]
389397
},
398+
{
399+
"cell_type": "markdown",
400+
"id": "12401626-75f5-4525-9792-9901c1528ba8",
401+
"metadata": {},
402+
"source": [
403+
"A `Project` is a large, logical unit of work. Tuttle's automatic invoice generation feature assumes that every invoice is related to one project. You may have several projects with the same client. And since the terms of business can change or get extended, you may have several contracts attached to a project. However, only one contract can be active at a time.\n",
404+
"\n",
405+
"Let's start with the simplest case: One client, one project, one contract."
406+
]
407+
},
390408
{
391409
"cell_type": "markdown",
392410
"id": "06df9747-c306-4716-97e9-e7a76cdbed25",

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
pip
2-
bump2version
32
wheel
43
watchdog
54
flake8
@@ -8,7 +7,7 @@ Sphinx
87
#twine
98
pytest
109
pandas
11-
pandera[mypy]
10+
pandera
1211
altair
1312
sqlmodel
1413
pyicloud

requirements_dev.txt

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
pip
2-
bump2version==0.5.11
3-
wheel==0.33.6
4-
watchdog==0.9.0
5-
flake8==3.7.8
6-
tox==3.14.0
7-
coverage==4.5.4
8-
Sphinx==1.8.5
9-
twine==1.14.0
10-
11-
pytest==6.2.4
12-
black==21.7b0
1+
jupyterlab
2+
ipywidgets
3+
bump2version
4+
black
5+
nbdime

setup.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,8 @@
1313
with open("requirements.txt") as requirements_file:
1414
requirements = requirements_file.readlines()
1515

16-
17-
dev_requirements = [
18-
"jupyterlab",
19-
"ipywidgets",
20-
]
21-
22-
test_requirements = []
23-
16+
with open("requirements_dev.txt") as dev_requirements_file:
17+
dev_requirements = dev_requirements_file.readlines()
2418

2519
setup(
2620
author="Christian Staudt",
@@ -36,15 +30,14 @@
3630
"Programming Language :: Python :: 3.9",
3731
],
3832
description="Painless business planning for freelancers.",
39-
install_requires=requirements + test_requirements,
33+
install_requires=requirements + dev_requirements,
4034
license="GNU General Public License v3",
4135
long_description=readme + "\n\n" + history,
4236
include_package_data=True,
4337
keywords="tuttle",
4438
name="tuttle",
4539
packages=find_packages(include=["tuttle", "tuttle.*"]),
4640
test_suite="tests",
47-
tests_require=test_requirements,
4841
url="https://github.com/tuttle-dev/tuttle",
4942
version="0.0.4",
5043
zip_safe=False,

0 commit comments

Comments
 (0)