geoseeq 0.6.2__tar.gz → 0.6.3__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. {geoseeq-0.6.2 → geoseeq-0.6.3}/PKG-INFO +6 -1
  2. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/download.py +2 -2
  3. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/main.py +2 -2
  4. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/result/file_download.py +2 -1
  5. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq.egg-info/PKG-INFO +6 -1
  6. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq.egg-info/SOURCES.txt +1 -0
  7. geoseeq-0.6.3/geoseeq.egg-info/requires.txt +5 -0
  8. {geoseeq-0.6.2 → geoseeq-0.6.3}/pyproject.toml +9 -2
  9. {geoseeq-0.6.2 → geoseeq-0.6.3}/LICENSE +0 -0
  10. {geoseeq-0.6.2 → geoseeq-0.6.3}/README.md +0 -0
  11. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/__init__.py +0 -0
  12. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/app.py +0 -0
  13. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/blob_constructors.py +0 -0
  14. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/bulk_creators.py +0 -0
  15. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/__init__.py +0 -0
  16. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/constants.py +0 -0
  17. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/copy.py +0 -0
  18. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/detail.py +0 -0
  19. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/fastq_utils.py +0 -0
  20. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/get_eula.py +0 -0
  21. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/manage.py +0 -0
  22. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/progress_bar.py +0 -0
  23. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/project.py +0 -0
  24. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/raw.py +0 -0
  25. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/run.py +0 -0
  26. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/search.py +0 -0
  27. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/shared_params/__init__.py +0 -0
  28. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/shared_params/common_state.py +0 -0
  29. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/shared_params/config.py +0 -0
  30. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/shared_params/id_handlers.py +0 -0
  31. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/shared_params/obj_getters.py +0 -0
  32. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/shared_params/opts_and_args.py +0 -0
  33. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/upload/__init__.py +0 -0
  34. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/upload/upload.py +0 -0
  35. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/upload/upload_advanced.py +0 -0
  36. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/upload/upload_reads.py +0 -0
  37. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/user.py +0 -0
  38. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/utils.py +0 -0
  39. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/cli/view.py +0 -0
  40. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/constants.py +0 -0
  41. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/contrib/__init__.py +0 -0
  42. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/contrib/ncbi/__init__.py +0 -0
  43. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/contrib/ncbi/api.py +0 -0
  44. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/contrib/ncbi/bioproject.py +0 -0
  45. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/contrib/ncbi/cli.py +0 -0
  46. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/contrib/ncbi/setup_logging.py +0 -0
  47. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/file_system/__init__.py +0 -0
  48. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/file_system/filesystem_download.py +0 -0
  49. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/file_system/main.py +0 -0
  50. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/file_system_cache.py +0 -0
  51. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/id_constructors/__init__.py +0 -0
  52. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/id_constructors/from_blobs.py +0 -0
  53. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/id_constructors/from_ids.py +0 -0
  54. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/id_constructors/from_names.py +0 -0
  55. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/id_constructors/from_uuids.py +0 -0
  56. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/id_constructors/resolvers.py +0 -0
  57. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/id_constructors/utils.py +0 -0
  58. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/knex.py +0 -0
  59. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/organization.py +0 -0
  60. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/pipeline.py +0 -0
  61. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/plotting/__init__.py +0 -0
  62. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/plotting/constants.py +0 -0
  63. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/plotting/highcharts.py +0 -0
  64. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/plotting/map/__init__.py +0 -0
  65. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/plotting/map/base_layer.py +0 -0
  66. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/plotting/map/map.py +0 -0
  67. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/plotting/map/overlay.py +0 -0
  68. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/plotting/selectable.py +0 -0
  69. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/project.py +0 -0
  70. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/remote_object.py +0 -0
  71. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/result/__init__.py +0 -0
  72. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/result/bioinfo.py +0 -0
  73. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/result/file_chunker.py +0 -0
  74. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/result/file_upload.py +0 -0
  75. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/result/result_file.py +0 -0
  76. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/result/result_folder.py +0 -0
  77. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/result/resumable_download_tracker.py +0 -0
  78. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/result/resumable_upload_tracker.py +0 -0
  79. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/result/utils.py +0 -0
  80. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/sample.py +0 -0
  81. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/search.py +0 -0
  82. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/upload_download_manager.py +0 -0
  83. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/user.py +0 -0
  84. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/utils.py +0 -0
  85. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/vc/__init__.py +0 -0
  86. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/vc/checksum.py +0 -0
  87. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/vc/cli.py +0 -0
  88. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/vc/clone.py +0 -0
  89. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/vc/constants.py +0 -0
  90. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/vc/vc_cache.py +0 -0
  91. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/vc/vc_dir.py +0 -0
  92. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/vc/vc_sample.py +0 -0
  93. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/vc/vc_stub.py +0 -0
  94. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq/work_orders.py +0 -0
  95. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq.egg-info/dependency_links.txt +0 -0
  96. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq.egg-info/entry_points.txt +0 -0
  97. {geoseeq-0.6.2 → geoseeq-0.6.3}/geoseeq.egg-info/top_level.txt +0 -0
  98. {geoseeq-0.6.2 → geoseeq-0.6.3}/setup.cfg +0 -0
  99. {geoseeq-0.6.2 → geoseeq-0.6.3}/setup.py +0 -0
  100. {geoseeq-0.6.2 → geoseeq-0.6.3}/tests/__init__.py +0 -0
  101. {geoseeq-0.6.2 → geoseeq-0.6.3}/tests/test_api_client.py +0 -0
  102. {geoseeq-0.6.2 → geoseeq-0.6.3}/tests/test_plotting.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: geoseeq
3
- Version: 0.6.2
3
+ Version: 0.6.3
4
4
  Summary: GeoSeeq command line tools and python API
5
5
  Author: David C. Danko
6
6
  Author-email: "David C. Danko" <dcdanko@biotia.io>
@@ -12,6 +12,11 @@ Classifier: Operating System :: OS Independent
12
12
  Requires-Python: >=3.8
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
+ Requires-Dist: requests
16
+ Requires-Dist: click
17
+ Requires-Dist: pandas
18
+ Requires-Dist: biopython
19
+ Requires-Dist: tqdm
15
20
 
16
21
  # Geoseeq API Client
17
22
 
@@ -160,8 +160,8 @@ def cli_download_files(
160
160
 
161
161
  \b
162
162
  # Download assembly contigs from two samples in the MetaSUB Consortium CSD16 project
163
- $ geoseeq download files "MetaSUB Consortium/CSD16" `# specify the project` \
164
- haib17CEM4890_H2NYMCCXY_SL254769 haib17CEM4890_H2NYMCCXY_SL254773 `# specify the samples by name` \
163
+ $ geoseeq download files "MetaSUB Consortium/CSD16" `# specify the project` \\
164
+ haib17CEM4890_H2NYMCCXY_SL254769 haib17CEM4890_H2NYMCCXY_SL254773 `# specify the samples by name` \\
165
165
  --folder-type sample --extension '.contigs.fasta' # filter for contig files
166
166
 
167
167
  ---
@@ -26,7 +26,7 @@ handler.setFormatter(logging.Formatter('[%(levelname)s] %(name)s :: %(message)s'
26
26
  logger.addHandler(handler)
27
27
 
28
28
 
29
- @click.group()
29
+ @click.group(context_settings={'show_default': True})
30
30
  def main():
31
31
  """Command line interface for the GeoSeeq API.
32
32
 
@@ -54,7 +54,7 @@ def version():
54
54
  Use of this tool implies acceptance of the GeoSeeq End User License Agreement.
55
55
  Run `geoseeq eula show` to view the EULA.
56
56
  """
57
- click.echo('0.6.2') # remember to update setup
57
+ click.echo('0.6.3') # remember to update setup
58
58
 
59
59
 
60
60
  @main.group('advanced')
@@ -6,6 +6,7 @@ import os
6
6
  from os.path import basename, getsize, join, isfile, getmtime, dirname
7
7
  from pathlib import Path
8
8
  from tempfile import NamedTemporaryFile
9
+ from math import ceil
9
10
 
10
11
  from geoseeq.utils import download_ftp
11
12
  from geoseeq.constants import FIVE_MB
@@ -43,7 +44,7 @@ def _download_resumable(response, filename, total_size_in_bytes, progress_tracke
43
44
  target_id = url_to_id(response.url)
44
45
  tracker = ResumableDownloadTracker(chunk_size, target_id, filename)
45
46
  if not tracker.download_started: tracker.start_download(response.url)
46
- n_chunks = total_size_in_bytes // chunk_size
47
+ n_chunks = ceil(total_size_in_bytes / chunk_size)
47
48
  for i in range(n_chunks):
48
49
  bytes_start, bytes_end = i * chunk_size, min((i + 1) * chunk_size - 1, total_size_in_bytes - 1)
49
50
  if tracker.part_has_been_downloaded(i):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: geoseeq
3
- Version: 0.6.2
3
+ Version: 0.6.3
4
4
  Summary: GeoSeeq command line tools and python API
5
5
  Author: David C. Danko
6
6
  Author-email: "David C. Danko" <dcdanko@biotia.io>
@@ -12,6 +12,11 @@ Classifier: Operating System :: OS Independent
12
12
  Requires-Python: >=3.8
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
+ Requires-Dist: requests
16
+ Requires-Dist: click
17
+ Requires-Dist: pandas
18
+ Requires-Dist: biopython
19
+ Requires-Dist: tqdm
15
20
 
16
21
  # Geoseeq API Client
17
22
 
@@ -23,6 +23,7 @@ geoseeq.egg-info/PKG-INFO
23
23
  geoseeq.egg-info/SOURCES.txt
24
24
  geoseeq.egg-info/dependency_links.txt
25
25
  geoseeq.egg-info/entry_points.txt
26
+ geoseeq.egg-info/requires.txt
26
27
  geoseeq.egg-info/top_level.txt
27
28
  geoseeq/cli/__init__.py
28
29
  geoseeq/cli/constants.py
@@ -0,0 +1,5 @@
1
+ requests
2
+ click
3
+ pandas
4
+ biopython
5
+ tqdm
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "geoseeq"
7
- version = "0.6.2"
7
+ version = "0.6.3"
8
8
  authors = [
9
9
  { name="David C. Danko", email="dcdanko@biotia.io" },
10
10
  ]
@@ -16,10 +16,17 @@ classifiers = [
16
16
  "License :: OSI Approved :: MIT License",
17
17
  "Operating System :: OS Independent",
18
18
  ]
19
+ dependencies = [
20
+ "requests",
21
+ "click",
22
+ "pandas",
23
+ "biopython",
24
+ "tqdm",
25
+ ]
19
26
 
20
27
  [project.urls]
21
28
  Homepage = "https://github.com/biotia/geoseeq_api_client"
22
29
  Issues = "https://github.com/biotia/geoseeq_api_client/issues"
23
30
 
24
31
  [project.scripts]
25
- geoseeq = "geoseeq.cli:main"
32
+ geoseeq = "geoseeq.cli:main"
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
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
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes