taskbadger 0.2__tar.gz → 0.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {taskbadger-0.2 → taskbadger-0.2.1}/PKG-INFO +21 -2
- {taskbadger-0.2 → taskbadger-0.2.1}/README.md +3 -1
- {taskbadger-0.2 → taskbadger-0.2.1}/pyproject.toml +20 -1
- taskbadger-0.2.1/setup.py +43 -0
- taskbadger-0.2/setup.py +0 -43
- {taskbadger-0.2 → taskbadger-0.2.1}/LICENSE +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/__init__.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/cli.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/config.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/exceptions.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/integrations.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/__init__.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/api/__init__.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/api/action_endpoints/__init__.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/api/action_endpoints/action_cancel.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/api/action_endpoints/action_create.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/api/action_endpoints/action_get.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/api/action_endpoints/action_list.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/api/action_endpoints/action_partial_update.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/api/action_endpoints/action_update.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/api/task_endpoints/__init__.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/api/task_endpoints/task_cancel.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/api/task_endpoints/task_create.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/api/task_endpoints/task_get.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/api/task_endpoints/task_list.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/api/task_endpoints/task_partial_update.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/api/task_endpoints/task_update.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/client.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/errors.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/models/__init__.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/models/action.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/models/action_config.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/models/action_request.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/models/action_request_config.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/models/paginated_task_list.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/models/patched_action_request.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/models/patched_action_request_config.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/models/patched_task_request.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/models/patched_task_request_data.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/models/status_enum.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/models/task.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/models/task_data.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/models/task_request.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/models/task_request_data.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/py.typed +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/types.py +0 -0
- {taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/sdk.py +0 -0
|
@@ -1,23 +1,42 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: taskbadger
|
|
3
|
-
Version: 0.2
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: The official Python SDK for Task Badger
|
|
5
|
+
Home-page: https://taskbadger.net/
|
|
6
|
+
License: Apache-2.0
|
|
5
7
|
Requires-Python: >=3.8,<4.0
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
|
+
Classifier: Environment :: Web Environment
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
6
14
|
Classifier: Programming Language :: Python :: 3
|
|
7
15
|
Classifier: Programming Language :: Python :: 3.8
|
|
8
16
|
Classifier: Programming Language :: Python :: 3.9
|
|
9
17
|
Classifier: Programming Language :: Python :: 3.10
|
|
10
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
25
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
11
26
|
Requires-Dist: attrs (>=21.3.0)
|
|
12
27
|
Requires-Dist: httpx (>=0.15.4,<0.24.0)
|
|
13
28
|
Requires-Dist: python-dateutil (>=2.8.0,<3.0.0)
|
|
14
29
|
Requires-Dist: tomlkit (>=0.11.6,<0.12.0)
|
|
15
30
|
Requires-Dist: typer[all] (>=0.7.0,<0.8.0)
|
|
31
|
+
Project-URL: Documentation, https://docs.taskbadger.net/
|
|
32
|
+
Project-URL: Repository, https://github.com/taskbadger/taskbadger-docs
|
|
16
33
|
Description-Content-Type: text/markdown
|
|
17
34
|
|
|
18
35
|
# Task Badger Python Client
|
|
19
36
|
|
|
20
|
-
This is the official Python SDK for [Task Badger](https://taskbadger.net/)
|
|
37
|
+
This is the official Python SDK for [Task Badger](https://taskbadger.net/).
|
|
38
|
+
|
|
39
|
+
For full documentation go to https://docs.taskbadger.net/python/.
|
|
21
40
|
|
|
22
41
|
---
|
|
23
42
|
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Task Badger Python Client
|
|
2
2
|
|
|
3
|
-
This is the official Python SDK for [Task Badger](https://taskbadger.net/)
|
|
3
|
+
This is the official Python SDK for [Task Badger](https://taskbadger.net/).
|
|
4
|
+
|
|
5
|
+
For full documentation go to https://docs.taskbadger.net/python/.
|
|
4
6
|
|
|
5
7
|
---
|
|
6
8
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "taskbadger"
|
|
3
|
-
version = "0.2"
|
|
3
|
+
version = "0.2.1"
|
|
4
4
|
description = "The official Python SDK for Task Badger"
|
|
5
|
+
license = "Apache-2.0"
|
|
5
6
|
|
|
6
7
|
authors = []
|
|
7
8
|
|
|
@@ -11,6 +12,24 @@ packages = [
|
|
|
11
12
|
]
|
|
12
13
|
include = ["CHANGELOG.md", "taskbadger/internal/py.typed"]
|
|
13
14
|
|
|
15
|
+
homepage = "https://taskbadger.net/"
|
|
16
|
+
repository = "https://github.com/taskbadger/taskbadger-docs"
|
|
17
|
+
documentation = "https://docs.taskbadger.net/"
|
|
18
|
+
classifiers = [
|
|
19
|
+
"Development Status :: 4 - Beta",
|
|
20
|
+
"Environment :: Web Environment",
|
|
21
|
+
"Intended Audience :: Developers",
|
|
22
|
+
"Operating System :: OS Independent",
|
|
23
|
+
"Programming Language :: Python",
|
|
24
|
+
"Programming Language :: Python :: 3.6",
|
|
25
|
+
"Programming Language :: Python :: 3.7",
|
|
26
|
+
"Programming Language :: Python :: 3.8",
|
|
27
|
+
"Programming Language :: Python :: 3.9",
|
|
28
|
+
"Programming Language :: Python :: 3.10",
|
|
29
|
+
"Programming Language :: Python :: 3.11",
|
|
30
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
31
|
+
]
|
|
32
|
+
|
|
14
33
|
[tool.poetry.dependencies]
|
|
15
34
|
python = "^3.8"
|
|
16
35
|
httpx = ">=0.15.4,<0.24.0"
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
from setuptools import setup
|
|
3
|
+
|
|
4
|
+
packages = \
|
|
5
|
+
['taskbadger',
|
|
6
|
+
'taskbadger.internal',
|
|
7
|
+
'taskbadger.internal.api',
|
|
8
|
+
'taskbadger.internal.api.action_endpoints',
|
|
9
|
+
'taskbadger.internal.api.task_endpoints',
|
|
10
|
+
'taskbadger.internal.models']
|
|
11
|
+
|
|
12
|
+
package_data = \
|
|
13
|
+
{'': ['*']}
|
|
14
|
+
|
|
15
|
+
install_requires = \
|
|
16
|
+
['attrs>=21.3.0',
|
|
17
|
+
'httpx>=0.15.4,<0.24.0',
|
|
18
|
+
'python-dateutil>=2.8.0,<3.0.0',
|
|
19
|
+
'tomlkit>=0.11.6,<0.12.0',
|
|
20
|
+
'typer[all]>=0.7.0,<0.8.0']
|
|
21
|
+
|
|
22
|
+
entry_points = \
|
|
23
|
+
{'console_scripts': ['taskbadger = taskbadger.cli:app']}
|
|
24
|
+
|
|
25
|
+
setup_kwargs = {
|
|
26
|
+
'name': 'taskbadger',
|
|
27
|
+
'version': '0.2.1',
|
|
28
|
+
'description': 'The official Python SDK for Task Badger',
|
|
29
|
+
'long_description': '# Task Badger Python Client\n\nThis is the official Python SDK for [Task Badger](https://taskbadger.net/).\n\nFor full documentation go to https://docs.taskbadger.net/python/.\n\n---\n\n## Getting Started\n\n### Install\n\n```bash\npip install --upgrade taskbadger\n```\n\n### Configuration\n\n```python\nimport taskbadger\n\ntaskbadger.init(\n organization_slug="my-org",\n project_slug="my-project",\n token="***"\n)\n```\n\n### Usage\n\n```python\nfrom taskbadger import Task, Action, EmailIntegration\n\n# create a new task with custom data and an action definition\ntask = Task.create(\n "task name",\n data={\n "custom": "data"\n },\n actions=[\n Action(\n "*/10%,success,error",\n integration=EmailIntegration(to="me@example.com")\n )\n ]\n)\n\n# update the task status to \'processing\' and set the value to 0\ntask.started()\ntry:\n for i in range(100):\n do_something(i)\n if i!= 0 and i % 10 == 0:\n # update the progress of the task\n task.update_progress(i)\nexcept Exception as e:\n # record task errors\n task.error(data={\n "error": str(e)\n })\n raise\n\n# record task success\ntask.success()\n```\n',
|
|
30
|
+
'author': 'None',
|
|
31
|
+
'author_email': 'None',
|
|
32
|
+
'maintainer': 'None',
|
|
33
|
+
'maintainer_email': 'None',
|
|
34
|
+
'url': 'https://taskbadger.net/',
|
|
35
|
+
'packages': packages,
|
|
36
|
+
'package_data': package_data,
|
|
37
|
+
'install_requires': install_requires,
|
|
38
|
+
'entry_points': entry_points,
|
|
39
|
+
'python_requires': '>=3.8,<4.0',
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
setup(**setup_kwargs)
|
taskbadger-0.2/setup.py
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
from setuptools import setup
|
|
3
|
-
|
|
4
|
-
packages = \
|
|
5
|
-
['taskbadger',
|
|
6
|
-
'taskbadger.internal',
|
|
7
|
-
'taskbadger.internal.api',
|
|
8
|
-
'taskbadger.internal.api.action_endpoints',
|
|
9
|
-
'taskbadger.internal.api.task_endpoints',
|
|
10
|
-
'taskbadger.internal.models']
|
|
11
|
-
|
|
12
|
-
package_data = \
|
|
13
|
-
{'': ['*']}
|
|
14
|
-
|
|
15
|
-
install_requires = \
|
|
16
|
-
['attrs>=21.3.0',
|
|
17
|
-
'httpx>=0.15.4,<0.24.0',
|
|
18
|
-
'python-dateutil>=2.8.0,<3.0.0',
|
|
19
|
-
'tomlkit>=0.11.6,<0.12.0',
|
|
20
|
-
'typer[all]>=0.7.0,<0.8.0']
|
|
21
|
-
|
|
22
|
-
entry_points = \
|
|
23
|
-
{'console_scripts': ['taskbadger = taskbadger.cli:app']}
|
|
24
|
-
|
|
25
|
-
setup_kwargs = {
|
|
26
|
-
'name': 'taskbadger',
|
|
27
|
-
'version': '0.2',
|
|
28
|
-
'description': 'The official Python SDK for Task Badger',
|
|
29
|
-
'long_description': '# Task Badger Python Client\n\nThis is the official Python SDK for [Task Badger](https://taskbadger.net/)\n\n---\n\n## Getting Started\n\n### Install\n\n```bash\npip install --upgrade taskbadger\n```\n\n### Configuration\n\n```python\nimport taskbadger\n\ntaskbadger.init(\n organization_slug="my-org",\n project_slug="my-project",\n token="***"\n)\n```\n\n### Usage\n\n```python\nfrom taskbadger import Task, Action, EmailIntegration\n\n# create a new task with custom data and an action definition\ntask = Task.create(\n "task name",\n data={\n "custom": "data"\n },\n actions=[\n Action(\n "*/10%,success,error",\n integration=EmailIntegration(to="me@example.com")\n )\n ]\n)\n\n# update the task status to \'processing\' and set the value to 0\ntask.started()\ntry:\n for i in range(100):\n do_something(i)\n if i!= 0 and i % 10 == 0:\n # update the progress of the task\n task.update_progress(i)\nexcept Exception as e:\n # record task errors\n task.error(data={\n "error": str(e)\n })\n raise\n\n# record task success\ntask.success()\n```\n',
|
|
30
|
-
'author': 'None',
|
|
31
|
-
'author_email': 'None',
|
|
32
|
-
'maintainer': 'None',
|
|
33
|
-
'maintainer_email': 'None',
|
|
34
|
-
'url': 'None',
|
|
35
|
-
'packages': packages,
|
|
36
|
-
'package_data': package_data,
|
|
37
|
-
'install_requires': install_requires,
|
|
38
|
-
'entry_points': entry_points,
|
|
39
|
-
'python_requires': '>=3.8,<4.0',
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
setup(**setup_kwargs)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/api/action_endpoints/action_cancel.py
RENAMED
|
File without changes
|
{taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/api/action_endpoints/action_create.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/api/action_endpoints/action_update.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/api/task_endpoints/task_partial_update.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{taskbadger-0.2 → taskbadger-0.2.1}/taskbadger/internal/models/patched_action_request_config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|