Skip to main content

tardis-client

PyPi Python Code style: black

tardis-client is deprecated and frozen.

This package has been replaced by tardis-dev, the unified Python package for replay, dataset downloads, exchange metadata, and cache helpers.

This 1.4.2 release does not introduce new features. Its purpose is to point existing tardis-client users to the migration path.

Migrate To tardis-dev

Migration notice:

Install commands:

pip uninstall tardis-client
pip install tardis-dev

Old To New

Replay

Old:

from tardis_client import TardisClient, Channel

client = TardisClient(api_key="YOUR_API_KEY")

async for item in client.replay(
    exchange="bitmex",
    from_date="2019-06-01",
    to_date="2019-06-02",
    filters=[Channel("trade", ["XBTUSD"])],
):
    print(item)

New:

from tardis_dev import Channel, replay

async for item in replay(
    exchange="bitmex",
    from_date="2019-06-01",
    to_date="2019-06-02",
    filters=[Channel("trade", ["XBTUSD"])],
    api_key="YOUR_API_KEY",
):
    print(item)

Cache Cleanup

Old:

from tardis_client import TardisClient

client = TardisClient()
client.clear_cache()

New:

from tardis_dev import clear_cache

clear_cache()

Dataset Downloads

The replacement package also includes dataset downloads directly from the top level:

from tardis_dev import download_datasets

download_datasets(
    exchange="deribit",
    data_types=["trades"],
    symbols=["BTC-PERPETUAL"],
    from_date="2024-01-01",
    to_date="2024-01-02",
    api_key="YOUR_API_KEY",
)

Support Status

  • no new features will be added to tardis-client
  • new Python development continues in tardis-dev
  • future migration guidance will live in the docs, not in this package

License

MPL-2.0

Release files for tardis-client 1.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tardis-client 1.4.2
File Size Uploaded
tardis_client-1.4.2.tar.gz 15.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tardis-client 1.4.2
File Interpreter ABI Platform
tardis_client-1.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 33.2 kB

Release files / tardis_client-1.4.2.tar.gz

Download URL tardis_client-1.4.2.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
11147046db9d37d291fa5b9bb0087983f3b701018a0ea753ec4b097fc9d2b9a6
BLAKE2b-256 checksum
How to use checksums
543741ce92199e74571d8bd73b3deb08372cc1837056e4611bd0c27d0f8da187
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.12.4 Darwin/24.6.0

Release files / tardis_client-1.4.2-py3-none-any.whl

Download URL tardis_client-1.4.2-py3-none-any.whl
Size 17.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a26bab35a475605e8d43de0aea2f9691afb6e952b945bc80439f198427eb1471
BLAKE2b-256 checksum
How to use checksums
6d737a1cb2adb809535dbb828b00344fd2268a74363ffd03048e841810250ea6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.12.4 Darwin/24.6.0

Release history Release notifications | RSS feed

This release

1.4.2 This release

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.9

2 release files

1.3.8

2 release files

1.3.7

2 release files

1.3.6

2 release files

1.3.5

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.12

2 release files

1.2.11

2 release files

1.2.10

2 release files

1.2.9

2 release files

1.2.8

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page