dart-tools 0.6.6__py3-none-any.whl → 0.6.7__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.

dart/dart.py CHANGED
@@ -77,7 +77,7 @@ _REPLICATE_SPACE_URL_FRAG_FMT = _ROOT_API_URL_FRAG + "/spaces/replicate/{duid}"
77
77
  _REPLICATE_DARTBOARD_URL_FRAG_FMT = _ROOT_API_URL_FRAG + "/dartboards/replicate/{duid}"
78
78
 
79
79
  _AUTH_TOKEN_ENVVAR_KEY = "DART_TOKEN"
80
- _CONFIG_FPATH = platformdirs.user_config_path(_APP, roaming=False, ensure_exists=False)
80
+ _CONFIG_FPATH = platformdirs.user_config_path(_APP)
81
81
  _CLIENT_DUID_KEY = "clientDuid"
82
82
  _HOST_KEY = "host"
83
83
  _HOSTS_KEY = "hosts"
@@ -189,6 +189,7 @@ class _Config:
189
189
  self._write()
190
190
 
191
191
  def _write(self):
192
+ if os.path.isfile(_CONFIG_FPATH):
192
193
  with open(_CONFIG_FPATH, "w+", encoding="UTF-8") as fout:
193
194
  json.dump(self._content, fout, indent=2)
194
195
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dart-tools
3
- Version: 0.6.6
3
+ Version: 0.6.7
4
4
  Summary: The Dart CLI and Python Library
5
5
  Author-email: Dart Software Team <software@itsdart.com>
6
6
  License: MIT License
@@ -55,10 +55,12 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
55
55
  Requires-Python: >=3.8
56
56
  Description-Content-Type: text/markdown
57
57
  License-File: LICENSE
58
+ Requires-Dist: attrs
58
59
  Requires-Dist: dateparser
60
+ Requires-Dist: httpx
59
61
  Requires-Dist: pick
60
- Requires-Dist: requests
61
62
  Requires-Dist: platformdirs
63
+ Requires-Dist: requests
62
64
 
63
65
  <div align="center">
64
66
  <h1>Dart Tools</h1>
@@ -1,5 +1,5 @@
1
1
  dart/__init__.py,sha256=qqF5dblo7jCWgrFy7g_IYktJAYUfvYe_4rB8Fuqyc-Y,321
2
- dart/dart.py,sha256=i_aOA88LtgAwYEqkbSHVT8SxoRi08oeJEj-hBnRRczw,34017
2
+ dart/dart.py,sha256=N5fTlsc-2wuQ4Tq6C4_R1v18QcocpJPJCXYKB0yZfo0,34023
3
3
  dart/exception.py,sha256=evN1SFV7Bal5dQIIOnhYA0cRu6jSa0cOCiG7AkHZD5A,85
4
4
  dart/order_manager.py,sha256=marym55UKoiz5C9rRf8p6sVIoWfVBIfihkdS1jte9IU,1905
5
5
  dart/webhook.py,sha256=38MCFsvzxLi4k44L7s3Ft2BTncrQ0q_pQciF33S0cTc,613
@@ -247,10 +247,10 @@ dart/generated/models/webhook.py,sha256=90ZjBe-oh8hTQMb8CafWTZTUsaj9eHxu85uU-JxT
247
247
  dart/generated/models/webhook_create.py,sha256=kyhv-pI8i4URwul5Ive3hh7TirpDB1YQmio8tn0lkJo,1834
248
248
  dart/generated/models/webhook_update.py,sha256=iy9mx8yyKn9182td88pOnc2H7_4H8xl27m8tV3j8hEI,1916
249
249
  dart/generated/models/zapier_integration.py,sha256=3cKzM0UHNte6Jg-hnroOvgMUHiD7iv1fodrWZoAIaag,1783
250
- dart_tools-0.6.6.dist-info/dist/dart-tools-0.3.3.tar.gz,sha256=JHf6kKcFBOXsnB62lpeV3xcv-GVusi5CysY2tAxgxvk,8788
251
- dart_tools-0.6.6.dist-info/LICENSE,sha256=4ZrQkL_PyaBC3paDrqLnD3knKAXS2i8HwJGyUgRUxls,1061
252
- dart_tools-0.6.6.dist-info/METADATA,sha256=1N5h5Y8NPOoRYbOJgaFBtyLGP3yoQlOhhj02LbuVlLk,7111
253
- dart_tools-0.6.6.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
254
- dart_tools-0.6.6.dist-info/entry_points.txt,sha256=KOVAnDWJbSKn9HoXWQ7x6NfACYzSMGHBBaBxonHEv6w,34
255
- dart_tools-0.6.6.dist-info/top_level.txt,sha256=ZwUQ6QjCyi1i32BJOAkbOA7UfgitLmIwToJGJwZXPrg,5
256
- dart_tools-0.6.6.dist-info/RECORD,,
250
+ dart_tools-0.6.7.dist-info/dist/dart-tools-0.3.3.tar.gz,sha256=JHf6kKcFBOXsnB62lpeV3xcv-GVusi5CysY2tAxgxvk,8788
251
+ dart_tools-0.6.7.dist-info/LICENSE,sha256=4ZrQkL_PyaBC3paDrqLnD3knKAXS2i8HwJGyUgRUxls,1061
252
+ dart_tools-0.6.7.dist-info/METADATA,sha256=i7MwvI3tJXcKJQqR34WriZbSCG1b6Mfvuo37BM6b-HM,7153
253
+ dart_tools-0.6.7.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
254
+ dart_tools-0.6.7.dist-info/entry_points.txt,sha256=KOVAnDWJbSKn9HoXWQ7x6NfACYzSMGHBBaBxonHEv6w,34
255
+ dart_tools-0.6.7.dist-info/top_level.txt,sha256=ZwUQ6QjCyi1i32BJOAkbOA7UfgitLmIwToJGJwZXPrg,5
256
+ dart_tools-0.6.7.dist-info/RECORD,,