tardis-dev 3.2.0__tar.gz → 3.4.0__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.
@@ -1,24 +1,18 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: tardis-dev
3
- Version: 3.2.0
3
+ Version: 3.4.0
4
4
  Summary: Python client for tardis.dev - historical tick-level cryptocurrency market data replay API.
5
- Home-page: https://github.com/tardis-dev/tardis-python
6
- License: MPL-2.0
7
5
  Keywords: cryptocurrency data feed,market data,api client,orderbook,crypto markets data replay,historical data,historical cryptocurrency prices,cryptocurrency api
8
6
  Author: Thad
9
- Author-email: thad@tardis.dev
10
- Requires-Python: >=3.9,<4.0
11
- Classifier: License :: OSI Approved
12
- Classifier: Programming Language :: Python :: 3
13
- Classifier: Programming Language :: Python :: 3.9
14
- Classifier: Programming Language :: Python :: 3.10
15
- Classifier: Programming Language :: Python :: 3.11
16
- Classifier: Programming Language :: Python :: 3.12
17
- Classifier: Programming Language :: Python :: 3.13
18
- Requires-Dist: aiofiles (>=24.1.0,<25.0.0)
19
- Requires-Dist: aiohttp (>=3.10.0)
20
- Requires-Dist: python-dateutil (>=2.8.2,<3.0.0)
21
- Requires-Dist: zstandard (>=0.19.0)
7
+ Author-email: Thad <thad@tardis.dev>
8
+ License-Expression: MPL-2.0
9
+ License-File: LICENSE
10
+ Requires-Dist: aiohttp>=3.10.0
11
+ Requires-Dist: python-dateutil>=2.8.2,<3
12
+ Requires-Dist: aiofiles>=24.1.0,<25
13
+ Requires-Dist: zstandard>=0.19.0
14
+ Requires-Python: >=3.9, <4.0
15
+ Project-URL: Homepage, https://github.com/tardis-dev/tardis-python
22
16
  Description-Content-Type: text/markdown
23
17
 
24
18
  # tardis-dev
@@ -83,6 +77,20 @@ pip install tardis-dev
83
77
  <br/>
84
78
  <br/>
85
79
 
80
+ ## Development
81
+
82
+ This repository uses [`uv`](https://docs.astral.sh/uv/) for dependency management, locking, builds, and release automation.
83
+
84
+ ```bash
85
+ uv sync --locked --group dev
86
+ uv run black --check tardis_dev tests
87
+ uv run pytest tests/ -q -m "not live"
88
+ uv build --no-sources
89
+ ```
90
+
91
+ <br/>
92
+ <br/>
93
+
86
94
  ## Documentation
87
95
 
88
96
  ### [See official docs](https://docs.tardis.dev/python-client/quickstart)
@@ -151,4 +159,3 @@ See [Migration Notice](https://docs.tardis.dev/python-client/migration-notice) f
151
159
  <br/>
152
160
 
153
161
  ## See the [tardis-dev docs](https://docs.tardis.dev/python-client/quickstart) for more examples.
154
-
@@ -60,6 +60,20 @@ pip install tardis-dev
60
60
  <br/>
61
61
  <br/>
62
62
 
63
+ ## Development
64
+
65
+ This repository uses [`uv`](https://docs.astral.sh/uv/) for dependency management, locking, builds, and release automation.
66
+
67
+ ```bash
68
+ uv sync --locked --group dev
69
+ uv run black --check tardis_dev tests
70
+ uv run pytest tests/ -q -m "not live"
71
+ uv build --no-sources
72
+ ```
73
+
74
+ <br/>
75
+ <br/>
76
+
63
77
  ## Documentation
64
78
 
65
79
  ### [See official docs](https://docs.tardis.dev/python-client/quickstart)
@@ -0,0 +1,57 @@
1
+ [tool.black]
2
+ line-length = 125
3
+
4
+ [tool.pytest.ini_options]
5
+ asyncio_default_fixture_loop_scope = "function"
6
+ markers = [
7
+ "live: tests that call live tardis.dev endpoints",
8
+ ]
9
+
10
+ [project]
11
+ name = "tardis-dev"
12
+ version = "3.4.0"
13
+ description = "Python client for tardis.dev - historical tick-level cryptocurrency market data replay API."
14
+ readme = "README.md"
15
+ requires-python = ">=3.9,<4.0"
16
+ license = "MPL-2.0"
17
+ license-files = ["LICENSE"]
18
+ authors = [
19
+ { name = "Thad", email = "thad@tardis.dev" },
20
+ ]
21
+ keywords = [
22
+ "cryptocurrency data feed",
23
+ "market data",
24
+ "api client",
25
+ "orderbook",
26
+ "crypto markets data replay",
27
+ "historical data",
28
+ "historical cryptocurrency prices",
29
+ "cryptocurrency api",
30
+ ]
31
+ dependencies = [
32
+ "aiohttp>=3.10.0",
33
+ "python-dateutil>=2.8.2,<3",
34
+ "aiofiles>=24.1.0,<25",
35
+ "zstandard>=0.19.0",
36
+ ]
37
+
38
+ [project.urls]
39
+ Homepage = "https://github.com/tardis-dev/tardis-python"
40
+
41
+ [dependency-groups]
42
+ dev = [
43
+ "pytest>=8.3.5,<9",
44
+ "pytest-asyncio>=0.24.0,<0.25",
45
+ "aioresponses>=0.7.8,<0.8",
46
+ "black>=24.4.2,<25",
47
+ ]
48
+
49
+ [tool.uv]
50
+ exclude-newer = "7 days"
51
+
52
+ [tool.uv.build-backend]
53
+ module-root = ""
54
+
55
+ [build-system]
56
+ requires = ["uv_build>=0.9.28,<0.10.0"]
57
+ build-backend = "uv_build"
@@ -118,7 +118,7 @@ async def _download(
118
118
  content_encoding = response.headers.get("Content-Encoding")
119
119
  if content_encoding == "zstd":
120
120
  final_path = f"{dest_path}.zst"
121
- elif content_encoding == "gzip":
121
+ elif content_encoding is None or content_encoding == "gzip":
122
122
  final_path = f"{dest_path}.gz"
123
123
  else:
124
124
  raise urllib.error.HTTPError(
@@ -1,43 +0,0 @@
1
- [tool.black]
2
- line-length = 125
3
-
4
- [tool.pytest.ini_options]
5
- asyncio_default_fixture_loop_scope = "function"
6
- markers = [
7
- "live: tests that call live tardis.dev endpoints",
8
- ]
9
-
10
- [tool.poetry]
11
- name = "tardis-dev"
12
- version = "3.2.0"
13
- description = "Python client for tardis.dev - historical tick-level cryptocurrency market data replay API."
14
- readme = "README.md"
15
- homepage = "https://github.com/tardis-dev/tardis-python"
16
- license = "MPL-2.0"
17
- authors = ["Thad <thad@tardis.dev>"]
18
- keywords = [
19
- "cryptocurrency data feed",
20
- "market data",
21
- "api client",
22
- "orderbook",
23
- "crypto markets data replay",
24
- "historical data",
25
- "historical cryptocurrency prices",
26
- "cryptocurrency api"]
27
-
28
- [tool.poetry.dependencies]
29
- python = ">=3.9,<4.0"
30
- aiohttp = ">=3.10.0"
31
- python-dateutil = "^2.8.2"
32
- aiofiles = "^24.1.0"
33
- zstandard = ">=0.19.0"
34
-
35
- [tool.poetry.group.dev.dependencies]
36
- pytest = "^8.3.5"
37
- pytest-asyncio = "^0.24.0"
38
- aioresponses = "^0.7.8"
39
- black = "^24.4.2"
40
-
41
- [build-system]
42
- requires = ["poetry-core>=1.0.0"]
43
- build-backend = "poetry.core.masonry.api"
File without changes