dart-tools 0.7.0__py3-none-any.whl → 0.7.2__py3-none-any.whl

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.

Potentially problematic release.


This version of dart-tools might be problematic. Click here for more details.

@@ -1,9 +1,30 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dart-tools
3
- Version: 0.7.0
3
+ Version: 0.7.2
4
4
  Summary: The Dart CLI and Python Library
5
5
  Author-email: Dart <software@itsdart.com>
6
- License-Expression: MIT
6
+ License: MIT License
7
+
8
+ Copyright (c) 2023 Dart
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
7
28
  Project-URL: Homepage, https://www.itsdart.com/?nr=1
8
29
  Project-URL: Web App, https://app.itsdart.com/
9
30
  Project-URL: Help Center, https://help.itsdart.com/
@@ -13,6 +34,7 @@ Keywords: dart,cli,projectmanagement,taskmanagement
13
34
  Classifier: Development Status :: 4 - Beta
14
35
  Classifier: Environment :: Console
15
36
  Classifier: Intended Audience :: Developers
37
+ Classifier: License :: OSI Approved :: MIT License
16
38
  Classifier: Natural Language :: English
17
39
  Classifier: Operating System :: OS Independent
18
40
  Classifier: Programming Language :: Python
@@ -52,52 +74,63 @@ Dynamic: license-file
52
74
 
53
75
  `dart-tools` is the Dart CLI and Python Library. It enables direct integration with Dart through a terminal CLI or through Python.
54
76
 
55
-
56
77
  - [Installation](#installation)
78
+ - [Naming conflicts](#naming-conflicts)
57
79
  - [Using the CLI](#using-the-cli)
58
80
  - [Using the Python Library](#using-the-python-library)
59
81
  - [Using the Python Library in AWS Lambda Functions](#using-the-python-library-in-aws-lambda-functions)
60
- - [Advanced Usage](#advanced-usage)
82
+ - [Navigate to the directory containing your `lambda_function.py` source file. In this example, the directory is named `my_function`.](#navigate-to-the-directory-containing-your-lambda_functionpy-source-file-in-this-example-the-directory-is-named-my_function)
83
+ - [Create a Deployment Package](#create-a-deployment-package)
84
+ - [Zip the contents of the `package` directory along with your `lambda_function.py`](#zip-the-contents-of-the-package-directory-along-with-your-lambda_functionpy)
85
+ - [Deploy the Lambda function](#deploy-the-lambda-function)
61
86
  - [Help and Resources](#help-and-resources)
62
87
  - [Contributing](#contributing)
63
88
  - [License](#license)
64
89
 
65
-
66
90
  ## Installation
67
91
 
68
92
  In the terminal, install by running
93
+
69
94
  ```sh
70
95
  pip install dart-tools
71
96
  ```
72
97
 
98
+ ### Naming conflicts
99
+
100
+ If you have a preexisting shell command named `dart`, a quick fix is to run `which -a dart` and fine the path for this `dart` application. Then you can create an alias and add it to your shell profile file (`.zshrc`, `.bashrc`, etc.). For example, open `~/.zshrc` and add a line like `alias dartai="/path/to/dart"`, save it, and restart your terminal.
73
101
 
74
102
  ## Using the CLI
75
103
 
76
104
  Start off by setting up authentication with
105
+
77
106
  ```sh
78
107
  dart login
79
108
  ```
80
109
 
81
110
  Then, you can create a new task with a command along the lines of
111
+
82
112
  ```sh
83
113
  dart task-create "Update the landing page" -p0 --tag marketing
84
114
  ```
115
+
85
116
  which will make a new task called 'Update the landing page' with priority 'Critical' (i.e. P0) and with the 'marketing' tag.
86
117
 
87
118
  You can explore all of these options and many more with `dart --help` or the more specific help for subcommands, in this case `dart task-create --help`.
88
119
 
89
120
  Another common workflow is to updating a preexisting task. To do this, run something like
121
+
90
122
  ```sh
91
123
  dart task-update [ID] -s Done
92
124
  ```
93
- This command will mark the referenced task 'Done'. Here `[ID]` is meant to be replaced (including the brackets) with the ID of an existing task. You can get a ID from any existing task in a number of ways, such as by copying it from the end of a task's URL or by clicking the '...' button in a task page in Dart and then choosing 'Copy ID'.
94
125
 
126
+ This command will mark the referenced task 'Done'. Here `[ID]` is meant to be replaced (including the brackets) with the ID of an existing task. You can get a ID from any existing task in a number of ways, such as by copying it from the end of a task's URL or by clicking the '...' button in a task page in Dart and then choosing 'Copy ID'.
95
127
 
96
128
  ## Using the Python Library
97
129
 
98
130
  First, set up authentication. Run `dart login` in the terminal for an interactive process. Alternatively, copy your authentication token from [your Dart profile](https://app.itsdart.com/?settings=account) and save that as the `DART_TOKEN` environment variable.
99
131
 
100
132
  Then, you can run something like
133
+
101
134
  ```python
102
135
  import os
103
136
  from dart import create_task, is_logged_in, update_task
@@ -114,18 +147,17 @@ new_task = create_task(
114
147
  update_task(new_task.id, status_title="Done")
115
148
  ```
116
149
 
117
-
118
150
  ## Using the Python Library in AWS Lambda Functions
119
151
 
120
152
  To use the `dart-tools` Python library in an AWS Lambda function, you need to package the library with your Lambda deployment package (see more details at [Working with .zip file archives for Python Lambda functions](https://docs.aws.amazon.com/lambda/latest/dg/python-package.html)). Follow these steps:
121
153
 
122
- 1. Navigate to the directory containing your `lambda_function.py` source file. In this example, the directory is named `my_function`.
154
+ ### Navigate to the directory containing your `lambda_function.py` source file. In this example, the directory is named `my_function`.
123
155
 
124
156
  ```sh
125
157
  cd my_function
126
158
  ```
127
159
 
128
- 2. Create a Deployment Package
160
+ ### Create a Deployment Package
129
161
 
130
162
  Use Docker to create a deployment package that includes the `dart-tools` library. Run the following commands in your terminal, ensuring that the `RUNTIME_PYTHON_VERSION` and `RUNTIME_ARCHITECTURE` environment variables match the runtime settings of your Lambda function:
131
163
 
@@ -137,7 +169,7 @@ To use the `dart-tools` Python library in an AWS Lambda function, you need to pa
137
169
 
138
170
  This command installs the `dart-tools` library into a directory named `package` in your current working directory.
139
171
 
140
- 3. Zip the contents of the `package` directory along with your `lambda_function.py`
172
+ ### Zip the contents of the `package` directory along with your `lambda_function.py`
141
173
 
142
174
  ```sh
143
175
  cd package
@@ -146,16 +178,15 @@ To use the `dart-tools` Python library in an AWS Lambda function, you need to pa
146
178
  zip -r my_deployment_package.zip lambda_function.py
147
179
  ```
148
180
 
149
- 4. Deploy the Lambda function
181
+ ### Deploy the Lambda function
150
182
 
151
183
  Upload the `my_deployment_package.zip` file to AWS Lambda using the AWS Management Console or the AWS CLI.
152
184
 
153
185
  By following these steps, you can use the `dart-tools` Python library within your AWS Lambda functions.
154
186
 
155
-
156
187
  ## Help and Resources
157
188
 
158
- - [Homepage](https://www.itsdart.com/?nr=1)
189
+ - [Homepage](https://itsdart.com/?nr=1)
159
190
  - [Web App](https://app.itsdart.com/)
160
191
  - [Help Center](https://help.itsdart.com/)
161
192
  - [Bugs and Features](https://app.itsdart.com/p/r/JFyPnhL9En61)
@@ -1,7 +1,7 @@
1
1
  dart/__init__.py,sha256=M4oDY_DtfE7s50jXziRxVuL95hE1EKEaWOEmWxy8_Ig,523
2
- dart/dart.py,sha256=Syu6-JTBGKoX2EEcuBmeLhGidVbFcWaCvjJMFdTqr6g,26584
2
+ dart/dart.py,sha256=x56OpbcSPTybUnLsyul6MW9qOAG2oOKJBWywqABdP6U,26765
3
3
  dart/exception.py,sha256=evN1SFV7Bal5dQIIOnhYA0cRu6jSa0cOCiG7AkHZD5A,85
4
- dart/old.py,sha256=sKCJV0rSqKx0acIEvrV-Up6mOTKtJ14qf2vmeDzJ3vA,6973
4
+ dart/old.py,sha256=LqwFKYDpNwHlp_0NT9UACmAsx8PwYLyogLmY7YcuzVg,7053
5
5
  dart/order_manager.py,sha256=WI8YEjdOuEFDNcRCm30INAA5lY8016ttt0yXElGIeUU,1882
6
6
  dart/webhook.py,sha256=1_8m1ik4k7yOHi1mBKUQrTy6RIXCFCuq0QJkoloZEGY,590
7
7
  dart/generated/__init__.py,sha256=8fO-FKZzuZzOUUaqtlgw7k08MUwNLf8Ll-cAt7BgmAU,158
@@ -9,34 +9,34 @@ dart/generated/client.py,sha256=o_mdLqyBCQstu5tS1WZFwqIEbGwkvWQ7eQjuCJw_5VY,1241
9
9
  dart/generated/errors.py,sha256=gO8GBmKqmSNgAg-E5oT-oOyxztvp7V_6XG7OUTT15q0,546
10
10
  dart/generated/py.typed,sha256=8ZJUsxZiuOy1oJeVhsTWQhTG_6pTVHVXk5hJL79ebTk,25
11
11
  dart/generated/types.py,sha256=E1hhDh_zXfsSQ0NCt9-uw90_Mr5iIlsdfnfvxv5HarU,1005
12
- dart/generated/api/__init__.py,sha256=LmRMQNOJjUSyQhrOaV7YNBf0HDM0BHQ_O5TVEaG9aqc,383
12
+ dart/generated/api/__init__.py,sha256=4YclSlMxGeqJPtDReQqxmMmfCsoqgYMO2MM2kqwkHJI,514
13
13
  dart/generated/api/comment/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
14
14
  dart/generated/api/comment/create_comment.py,sha256=G9kpQ60IrMC4cxXP--wsPvVtYPMmByy-t55wV4WkvbI,4757
15
15
  dart/generated/api/config/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
16
- dart/generated/api/config/get_config.py,sha256=TPjumTzM0OvcALAGId_ieDltRIdFWKM-CQ1RXwdSKSo,4142
16
+ dart/generated/api/config/get_config.py,sha256=C9Pw-IhVpxCaIv_rbL85kKBsHze9rJ0O1FTXyFbSw9I,3913
17
17
  dart/generated/api/dartboard/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
18
- dart/generated/api/dartboard/retrieve_dartboard.py,sha256=z7dmuyPurhv_fnaMo_viKW88kYmvB_nBViHOoQBJbD0,4445
18
+ dart/generated/api/dartboard/retrieve_dartboard.py,sha256=8shlB70PUxwk-nH6hLhjhuiYHiyk2whQ20rD5aBhisA,4548
19
19
  dart/generated/api/doc/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
20
20
  dart/generated/api/doc/create_doc.py,sha256=IK0FDGTzdjT_b5uDCJbtbBZygGt_Lh_0XyJBBVFDorc,4993
21
- dart/generated/api/doc/delete_doc.py,sha256=RjN1-d4Zp_1xPAJLiDIzX9gXNrh9KV9O4ksDTnlP05w,4216
22
- dart/generated/api/doc/list_docs.py,sha256=cezHhq91h23ZdIGVwc8XQKx1ZsV268LXfzNX08jnCms,8365
23
- dart/generated/api/doc/retrieve_doc.py,sha256=8y6zayJRj5WYxK23wVE_0qWfRfiZhH2DHEdwuQtSGRA,4205
24
- dart/generated/api/doc/update_doc.py,sha256=VcjUwgcnrcQSi-YqLVJM08s_11MKWbMa1FQPtbVPWBY,5007
21
+ dart/generated/api/doc/delete_doc.py,sha256=FTUMuTSj5Hk6nfkzqQYZnJ2_tb6aDP1vt-wzBBRYImc,4319
22
+ dart/generated/api/doc/list_docs.py,sha256=-u0K6yeTmZyaN2E9a9dTHgCkjhD9CFopYV4vLOfQEqo,8869
23
+ dart/generated/api/doc/retrieve_doc.py,sha256=hxDrfxlxvQGTQvDC5_jsmILNAaHKfPHMKf3_XZNv39I,4308
24
+ dart/generated/api/doc/update_doc.py,sha256=Xq5FWLU6gDvEYmRypE8eLPjDDvMAu8Qlc_BK7filVjw,5110
25
25
  dart/generated/api/folder/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
26
- dart/generated/api/folder/retrieve_folder.py,sha256=jWLOw7ygMWxFKlttZjwSXkyExEvswVRCXaN-X3WOkWc,4363
26
+ dart/generated/api/folder/retrieve_folder.py,sha256=kogpKCuwSIbXTRFntEQ3pjcDGAj4RDdyZ6Pmf6gin0E,4466
27
27
  dart/generated/api/task/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
28
28
  dart/generated/api/task/create_task.py,sha256=0qLps0cHZE6LqA9cUQEExEpnhT4k83AHrz8nm1TzS0Q,5057
29
- dart/generated/api/task/delete_task.py,sha256=4m1bvIMdGwDXEJNu-NqEUZj6T9eVzYdG75n2B7TjZ_Q,4242
30
- dart/generated/api/task/list_tasks.py,sha256=faEoASEwPN2uL0lFVRIUOkOX7BkGDkFO1DJK_spl2D0,16444
31
- dart/generated/api/task/retrieve_task.py,sha256=aKdsZm6gphHytBCT03xjb8Y_2qCVGeAkd1uTrLiaFV4,4303
32
- dart/generated/api/task/update_task.py,sha256=5wVrhwZnkugA7TA1DgF2V9RYed3iQ058yVNaUtyiI9c,5044
29
+ dart/generated/api/task/delete_task.py,sha256=PHCGYknEHW8mIK5znOFCXyjuNPvKL26OJqfCX6B9TXE,4345
30
+ dart/generated/api/task/list_tasks.py,sha256=8-GKMX3XXq3BGkSmJfvnuZDV5uKFNjU9fpfQXm4jMqE,16884
31
+ dart/generated/api/task/retrieve_task.py,sha256=hAN2gCZzM4FfGtW1BO-UpAgj97_mB_Y2eRKaACiCvY0,4406
32
+ dart/generated/api/task/update_task.py,sha256=3Ngljy89fm5TCGUefApIY8seJ6DX0MwdCNvHBeI8mJ8,5147
33
33
  dart/generated/api/view/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
34
- dart/generated/api/view/retrieve_view.py,sha256=0xv1SlZtvIixiz84HTz2gp9PKT2GNTQioIHriF8Yu3w,4315
34
+ dart/generated/api/view/retrieve_view.py,sha256=LnbZgxIMW_nN4mk6O__bd1pMmEXVPmwKW2FoULGyeX0,4418
35
35
  dart/generated/models/__init__.py,sha256=xeAXd32Gh87pe5sYlCMlp7DdUMcHr74VlgQkfR6QdZk,1878
36
36
  dart/generated/models/comment.py,sha256=xxjnssdNxXO3iO8cHH5TYDEmsL9ItvH9OM-F0TeljjQ,2361
37
37
  dart/generated/models/comment_create.py,sha256=n_Q3riMI0U17rzpp7SKvhnA3YhtyJxXMuXumtVRgZpw,1764
38
38
  dart/generated/models/concise_doc.py,sha256=xrJIJr4rm_iG0DlmpemBtzDaOxroHC2NgsG-V9CNsX8,2200
39
- dart/generated/models/concise_task.py,sha256=qxSC6v_yXt6bM2zDdhmcCOzFtFfd5USeUAAPIEHieeE,9434
39
+ dart/generated/models/concise_task.py,sha256=V8d5UyVK-a3Q_bVJJH1D0-P0rQ1SLDNwq5DPUKYlx70,9354
40
40
  dart/generated/models/dartboard.py,sha256=QWRy37OFBrlloUAk4_eG9E_pMZgFNAWejYmA1UwL32I,2789
41
41
  dart/generated/models/doc.py,sha256=f_1aVMo7aCQTGOhH19IjrkucIbINj7n_OkbaZnbJ9tc,2298
42
42
  dart/generated/models/doc_create.py,sha256=HOpiuuDg7fNEkwoUvXqceXKI59cDVBS5PzTR08iYE7E,2134
@@ -46,11 +46,11 @@ dart/generated/models/list_docs_o_item.py,sha256=owGxTljNQTi1KAHkfTknrSTMEome1x7
46
46
  dart/generated/models/paginated_concise_doc_list.py,sha256=Y7YbOwd7TaHm7b9rHJvVKEynHEp-xgCyN0Kw5gEZ4i8,3665
47
47
  dart/generated/models/paginated_concise_task_list.py,sha256=Yu-r-WvWBH3LfMWGm3YNQ30w1-B0mdxjx5jykKFFQlY,3677
48
48
  dart/generated/models/priority.py,sha256=eupjzXQndyaia8svwVmylisIGwl6OQ_0g8pgcsm8118,195
49
- dart/generated/models/task.py,sha256=7ZDqWPSNYoPpJOhIQea8HlirtsTe93xQnvCI8a9tIPM,9605
50
- dart/generated/models/task_create.py,sha256=TuroQ0M3f6nXm0k9g0O8CF2VBJFfdmaXkSTfvYO9YMU,9828
51
- dart/generated/models/task_update.py,sha256=od22McUNcFIcVo6hlVbMz4yPYa6xbnaqUsGhCesJRKY,10071
49
+ dart/generated/models/task.py,sha256=OH5vSN7R9VJ0P27Tz7pLAyxDkthwSuqh2TQST2RAAlc,9525
50
+ dart/generated/models/task_create.py,sha256=cHisk3lqdGQLt_jk5BL8QBUjNwb2wY94rp3du2yXQO8,9748
51
+ dart/generated/models/task_update.py,sha256=4zOCl6OOXRFNedaNh-1qdrz91MMTXsiteCCMPvSo8I4,9991
52
52
  dart/generated/models/user.py,sha256=Vl63zDoadat1k5NtTq3AAI0NMTp5T3DOIAcM5zZXD3o,1552
53
- dart/generated/models/user_space_configuration.py,sha256=iEP7IP99eUdpEwrE-Cul6kD1OQukXcYPvZu9xoiDluQ,3846
53
+ dart/generated/models/user_space_configuration.py,sha256=kpTQ-7fY_AD719QKXY9dQ9Ol8Ng1xoY6FuiCTP-1O-g,5004
54
54
  dart/generated/models/view.py,sha256=X7w6hH387LTAY8nbjGDNdf0hbho2O2al8kVOhCZi4Pg,2739
55
55
  dart/generated/models/wrapped_comment.py,sha256=tjMBU-NZYQ6n_jSn6LOT00JPWGcJjFjAWSlz77cDIT8,1613
56
56
  dart/generated/models/wrapped_comment_create.py,sha256=g_t09rNShbqDpdkUBSGY0jS5tO0qaPtoJR_VfewTZq0,1690
@@ -63,9 +63,9 @@ dart/generated/models/wrapped_task.py,sha256=TRlVMxIGhDwSaJlXdMH6q7Vx2hpz7EdiGns
63
63
  dart/generated/models/wrapped_task_create.py,sha256=Oxdot2EwfEuC3l4uo0fAvmyjRNVkXALmWCvfgHI7BcI,1654
64
64
  dart/generated/models/wrapped_task_update.py,sha256=_erGSSR_k6ahF_RFjgLKdyitx5TDQiFw_Ml77zHQdJM,1654
65
65
  dart/generated/models/wrapped_view.py,sha256=zflJxA4UnITM8w-0EObw4AF54yS-c_e5UL6vaikXyG8,1577
66
- dart_tools-0.7.0.dist-info/licenses/LICENSE,sha256=4ZrQkL_PyaBC3paDrqLnD3knKAXS2i8HwJGyUgRUxls,1061
67
- dart_tools-0.7.0.dist-info/METADATA,sha256=ohVLSItmRPxYievflAulCLqEF4cnUGCdxh7ClLq3x9Q,6780
68
- dart_tools-0.7.0.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
69
- dart_tools-0.7.0.dist-info/entry_points.txt,sha256=KOVAnDWJbSKn9HoXWQ7x6NfACYzSMGHBBaBxonHEv6w,34
70
- dart_tools-0.7.0.dist-info/top_level.txt,sha256=ZwUQ6QjCyi1i32BJOAkbOA7UfgitLmIwToJGJwZXPrg,5
71
- dart_tools-0.7.0.dist-info/RECORD,,
66
+ dart_tools-0.7.2.dist-info/licenses/LICENSE,sha256=4ZrQkL_PyaBC3paDrqLnD3knKAXS2i8HwJGyUgRUxls,1061
67
+ dart_tools-0.7.2.dist-info/METADATA,sha256=PQMR8cb5W2Mvpdm4NI5LA4w9D9P6dRYVxYi1bItTb4s,8981
68
+ dart_tools-0.7.2.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
69
+ dart_tools-0.7.2.dist-info/entry_points.txt,sha256=KOVAnDWJbSKn9HoXWQ7x6NfACYzSMGHBBaBxonHEv6w,34
70
+ dart_tools-0.7.2.dist-info/top_level.txt,sha256=ZwUQ6QjCyi1i32BJOAkbOA7UfgitLmIwToJGJwZXPrg,5
71
+ dart_tools-0.7.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (79.0.0)
2
+ Generator: setuptools (80.4.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5