thds.adls 3.0.20250116223841__py3-none-any.whl → 3.0.20250123173535__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.
thds/adls/meta.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
- "git_commit": "8119ce98e26d99335cda51ac5cbebbcd6d87c416",
3
- "git_branch": "task/ci/open-source",
2
+ "git_commit": "b098686a21ee7e5b450ea8b4de37f06c8553bffa",
3
+ "git_branch": "main",
4
4
  "git_is_clean": true,
5
- "pyproject_version": "3.0.20250116223841",
6
- "thds_user": "peter.gaultney",
5
+ "pyproject_version": "3.0.20250123173535",
6
+ "thds_user": "runner",
7
7
  "misc": {}
8
8
  }
@@ -0,0 +1,18 @@
1
+ import argparse
2
+ from pathlib import Path
3
+
4
+ from thds.adls.cached_up_down import upload_through_cache
5
+ from thds.adls.uri import resolve_uri
6
+
7
+
8
+ def main():
9
+ parser = argparse.ArgumentParser()
10
+ parser.add_argument("path", type=Path, help="A local file you want to upload.")
11
+ parser.add_argument("uri", type=resolve_uri, help="A fully qualified path to an ADLS location")
12
+ args = parser.parse_args()
13
+
14
+ upload_through_cache(args.uri, args.path)
15
+
16
+
17
+ if __name__ == "__main__":
18
+ main()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: thds.adls
3
- Version: 3.0.20250116223841
3
+ Version: 3.0.20250123173535
4
4
  Summary: ADLS tools
5
5
  Author: Trilliant Health
6
6
  Description-Content-Type: text/markdown
@@ -15,7 +15,7 @@ thds/adls/fqn.py,sha256=pGPBAWKrXorXs1DGkH-XXeDgwwQk3S_heQE7VkPAbW4,5598
15
15
  thds/adls/global_client.py,sha256=kl1miL5W7r0k6P0_E3U__zuIEfBbMQlURCokjoli0Rs,3433
16
16
  thds/adls/impl.py,sha256=x1nSqc8W4NeuX8-JGOp2MRkK8ff6GnelTWedGxPs-qY,42494
17
17
  thds/adls/md5.py,sha256=qOX4_7WUj1QkbH_IwREcQNHvvZccOj-HpHZBfsKn1gY,1846
18
- thds/adls/meta.json,sha256=d0EYRqOCSexOHBq31_qHQTXHzst_Bt6QEBg0GjWpbbU,218
18
+ thds/adls/meta.json,sha256=7V1ilZ1sSo5KNGLr6E4wEohbB0ehy7mquNKheOP-P20,195
19
19
  thds/adls/named_roots.py,sha256=7SLbAoQQpV_mrFZaUPjYoS-F9dxQxN5Hg4M3YPirF_w,751
20
20
  thds/adls/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
21
  thds/adls/ro_cache.py,sha256=F0uXol0t95mcRuBukNg3A7wt7XXQxpD5Sy09d9sl8f0,4825
@@ -28,8 +28,9 @@ thds/adls/resource/file_pointers.py,sha256=PLru_3lwut_ZvrX5Keu-wJkPOt5o7UGf-OOT4
28
28
  thds/adls/resource/up_down.py,sha256=3uNlTvm2gVhSyYdQTBwsGecOgwtINQfINckR-awwV0Y,9907
29
29
  thds/adls/tools/download.py,sha256=ZZ8t1g9MRRy-aENGjr10E4aAqyVkKq2OqpyH70pCD_8,965
30
30
  thds/adls/tools/ls.py,sha256=OgEaIfTK359twlZIj-A0AW_nv81Z6zi0b9Tw6OJJfWA,1083
31
- thds.adls-3.0.20250116223841.dist-info/METADATA,sha256=kpsfheQUb9dA-EW5PlWdgInYStAnIv1VkCNrTN7NnJo,397
32
- thds.adls-3.0.20250116223841.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
33
- thds.adls-3.0.20250116223841.dist-info/entry_points.txt,sha256=-dLxohfrxO0LTHZPGLF8vVXhb05qujJbF8c4fcKqpLQ,106
34
- thds.adls-3.0.20250116223841.dist-info/top_level.txt,sha256=LTZaE5SkWJwv9bwOlMbIhiS-JWQEEIcjVYnJrt-CriY,5
35
- thds.adls-3.0.20250116223841.dist-info/RECORD,,
31
+ thds/adls/tools/upload.py,sha256=eMk4pdug1aCMPDDWpIE3Zoq77i5APp9Uuh-sVCCDNJE,493
32
+ thds.adls-3.0.20250123173535.dist-info/METADATA,sha256=jaQUSjiWvGHOpoF9erL3L3L38d0hMmxIpThWHFNTu6w,397
33
+ thds.adls-3.0.20250123173535.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
34
+ thds.adls-3.0.20250123173535.dist-info/entry_points.txt,sha256=uTqreT1AIwqJboMfLv5w6sviM8mNbAkln765gIjzoA4,152
35
+ thds.adls-3.0.20250123173535.dist-info/top_level.txt,sha256=LTZaE5SkWJwv9bwOlMbIhiS-JWQEEIcjVYnJrt-CriY,5
36
+ thds.adls-3.0.20250123173535.dist-info/RECORD,,
@@ -1,3 +1,4 @@
1
1
  [console_scripts]
2
2
  adls-download-uri = thds.adls.tools.download:main
3
3
  adls-ls-uri = thds.adls.tools.ls:main
4
+ adls-upload-uri = thds.adls.tools.upload:main