Skip to main content

TsFile Python

Project description

TsFile Python Document

TsFile Logo

Introduction

This directory contains the Python implementation of TsFile. The Python version is built on the CPP version and uses the Cython package to integrate TsFile's read and write capabilities into the Python environment. Users can read and write TsFile as easily as they use read_csv and write_csv in Pandas.

The source code can be found in the ./tsfile directory. Files ending with .pyx and .pyd are wrapper code written in Cython. The tsfile/tsfile.py defines some user interfaces. You can find some examples of reading and writing in the .examples/examples.py.

How to make contributions

Using pylint to check Python code is recommended. However, there is no suitable style checking tool for Cython code, and this part of the code should be consistent with the Python style required by pylint.

Feature List

  • In pywrapper, invoke the batch reading interface implemented in CPP version of TsFile.
  • Supports writing multiple DataFrames into one single TsFile.

Build

Before constructing Python version of TsFile, it is necessary to build CPP version of TsFile first, because Python version of TsFile relies on the shared library files provided by CPP version of TsFile.

Build by mvn in root directory:

mvn -P with-cpp,with-python clean verify

Build by python command:

python setup.py build_ext --inplace

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

tsfile-2.2.1.dev2-cp313-cp313-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.13Windows x86-64

tsfile-2.2.1.dev2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

tsfile-2.2.1.dev2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

tsfile-2.2.1.dev2-cp313-cp313-macosx_12_0_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.13macOS 12.0+ x86-64

tsfile-2.2.1.dev2-cp313-cp313-macosx_12_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.13macOS 12.0+ ARM64

tsfile-2.2.1.dev2-cp312-cp312-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.12Windows x86-64

tsfile-2.2.1.dev2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

tsfile-2.2.1.dev2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

tsfile-2.2.1.dev2-cp312-cp312-macosx_12_0_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.12macOS 12.0+ x86-64

tsfile-2.2.1.dev2-cp312-cp312-macosx_12_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.12macOS 12.0+ ARM64

tsfile-2.2.1.dev2-cp311-cp311-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.11Windows x86-64

tsfile-2.2.1.dev2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

tsfile-2.2.1.dev2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

tsfile-2.2.1.dev2-cp311-cp311-macosx_12_0_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.11macOS 12.0+ x86-64

tsfile-2.2.1.dev2-cp311-cp311-macosx_12_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.11macOS 12.0+ ARM64

tsfile-2.2.1.dev2-cp310-cp310-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.10Windows x86-64

tsfile-2.2.1.dev2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

tsfile-2.2.1.dev2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

tsfile-2.2.1.dev2-cp310-cp310-macosx_12_0_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.10macOS 12.0+ x86-64

tsfile-2.2.1.dev2-cp310-cp310-macosx_12_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.10macOS 12.0+ ARM64

tsfile-2.2.1.dev2-cp39-cp39-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.9Windows x86-64

tsfile-2.2.1.dev2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

tsfile-2.2.1.dev2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.7 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

tsfile-2.2.1.dev2-cp39-cp39-macosx_12_0_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.9macOS 12.0+ x86-64

tsfile-2.2.1.dev2-cp39-cp39-macosx_12_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.9macOS 12.0+ ARM64

File details

Details for the file tsfile-2.2.1.dev2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 189c5dc90a31aa133b9a6eca7a18e2d96d8d74202018e1c0dd44d9fa252c07ff
MD5 7af4d67855e3f809aec475862de3adc1
BLAKE2b-256 bf4ed6c43fa8255e8f1a27da3816a634516f95fa5b158fb96fd43c91e4a3b451

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 471a92e0bf5fc8cee1b4516b31aa252d62dc1ddb2db957e857f6514b49c0ee59
MD5 150f7fc92f2149ab7ef5e70f1475d6d2
BLAKE2b-256 ef5ec810ce7c0206f1542745d72236c15758ba526d493c43cd59f3fe127fc654

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 66f51503b459d07118aa1663af08263c399c2289448a382f3d91227953cf7ba6
MD5 442e5db89dea12ae67e36ac9690c8cc4
BLAKE2b-256 3544731e6f28d458af916a1621283a84387dc5c28c7956cd6f99a937d85a5384

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp313-cp313-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp313-cp313-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 91960651fae0fb3400703f14d53a66d973cc8311cecc179883e8bd0d523ac5b9
MD5 860fbaa2dde8b29b712e88e36eac711b
BLAKE2b-256 f9095721d36b54a4ccfeb87d1b3bf05cc6f7473f53122a18eec4a409cf6987e5

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp313-cp313-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp313-cp313-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 2cd09a626f2bc1acf5835914568e734b201af85f1029367c0636f3b23e4cf5f2
MD5 d217fa0348d947a3f6c8b27419100970
BLAKE2b-256 6ea10d0a9b112f2eda01861316dba797e55b4a9cc211cbeac9bfcd8cdce9da9e

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 669723c970bea20b2ea2d75fc722792767cf0dace35f5d25c78a8ddadc2cd3fc
MD5 87fbe5048805c97d676c62fa51d0547d
BLAKE2b-256 f878e64fa355a9fa2e3ddca1ecbd3dd47bd3ac363a0241440a7e8381b62e3da7

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 def2c19455d802216eb7da6fc7bddccb4c0bd2a0d8bb237225f9f0832a6500f7
MD5 6154a00e34f0f6510dc8c56fca80ebe9
BLAKE2b-256 f947089f33bee93b8d65e3e802b45c28ea9df25f491f50e62b2e728a124c699b

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8e08529b8b61e4da0ef8e83e03feefe75e61c3749b4513ca39bc80cfb467be32
MD5 14127eb50f496c01b00c477c12014d50
BLAKE2b-256 8e08ded13554e889dc761c1faddd99004fcb0424f0e74ba07683321c2784ddb7

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp312-cp312-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp312-cp312-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 2e797aa63d7d1c785025e383349e972ce1e44ae92269af8507a71f78bc0196a4
MD5 c7cadc356f8393418b2fee89d468541f
BLAKE2b-256 cbe0ef674b8933ec3720510c31f33612b50c0ce618cf774725149528e86d92ad

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp312-cp312-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp312-cp312-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 e1e532f8722dc42eb44f93b568f6756e673075eee8f88caf8ec587aef5f36d8d
MD5 a1a91122e771310eae7b1903fed62b36
BLAKE2b-256 6f688c3d9c855dd684b2a459ada95e4c3a7c354490e6515231dd4214b7daf457

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 cb93bf12037afdbdef9f4e30abfd44403428a51b92455b5fbf6b034b35536d77
MD5 7484ef833caafa80615dfed1e8307df1
BLAKE2b-256 182f23cb422144121a6cfb2d85197a44027c0557d26bf9c4987542b5a7947cd8

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 26dc9238bbb9400de34a8e0677e561f6a04fded29eb417ab0bbd62d8c9b71042
MD5 4be7b1e57e7c254f6f2495f586a8fd8f
BLAKE2b-256 ff89a7b4c81f4cfbe5e83f9bc66af803f9dca3ffde67502637801a99db7fb9af

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 295b6282dc10f605d49900cc4d0408cc820f669964b6fed25344b5bb291f2b81
MD5 de8e500d8520df95cf8f3f51ddae015a
BLAKE2b-256 149e1570cf0aea75133a4584a6274fa423cd28bb26e85489b281e3c7b62f3d0e

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp311-cp311-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp311-cp311-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 9a8ade224b3132a5d017fe05b39331dc97da8a01e1fef481c16a6d10f602c5c8
MD5 9f08357e01a50545232a622e2dc70422
BLAKE2b-256 6ac706f272953b6a7ed7a39d196e3759b1480f58ea177df08bea6187a4f4b7a0

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp311-cp311-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp311-cp311-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 9fa5775bba17e1679c6e3aab10b6d4cb772ecd0f49f40bcd2045dac65611757c
MD5 d3e2034a871bcdad94376192c470a082
BLAKE2b-256 2adfbe923490e308712325a72a04d8660aa54fbe4fcc6f3f65819d7a82d82fc2

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 1ed295ff8199749ffe2eab202eb16e3a3b813a959fb31e65d21c0c9339be054d
MD5 998eb44b3f61a6dd405b97afd3a582c2
BLAKE2b-256 061b2735c9edb72673dd1d5959a39a7a65668959279d8364c7c3dade66f54f4e

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9a6568abb15a7921b28911978933dbe35ad459e573bc0b4f3fa6b9dbfc5c38eb
MD5 800ed90e96cc2054b5b29ca35f133b9a
BLAKE2b-256 431287837dace5c65f835f09926e2cb89b1ce94ff83d201910591c7233c1f8de

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ecfde01ed7982b52b17122bfcba84fb956b4dabc594b14a3968058b5862e04ed
MD5 4c07d8dec089a4118cc20ecd6747e8f1
BLAKE2b-256 785f0e79d45dcbf1d160f14e814439490bbda1adb9133d9be23826780c7f094c

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp310-cp310-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 d60745dab15689eee2522f9f9a42c2553a014e3b022088f95dd1a296eb932d93
MD5 b5e05ee2d730f321e9a375799861bf19
BLAKE2b-256 e8a3875aab22162dd19aa6c5bda6eab65bf26ce7227efd3436696d72b5114761

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp310-cp310-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp310-cp310-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 690110f27ac31e7fde4aa008de62165ca7323a2be94ef4c5a0bd6fd1bf34945c
MD5 3b5e62a591e112a41024672957b3ecab
BLAKE2b-256 b8d4092866e5cf527f9429716657ff7e66d299bccff686bce96f419f4c08a48e

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: tsfile-2.2.1.dev2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for tsfile-2.2.1.dev2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 3b574f6269f27dc931d1bc7bf04cc4a836f96ade96fc21e2ad45955103ad6036
MD5 7cf01ac09a99f226c8d3015c28823fb6
BLAKE2b-256 12256222cd14ef460b170c9da2673c9f1a11bec96ef61b28c7f10577e383a943

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 58d039b77612eee720b60af6dbdc25f65cf5703e34d509342ee5f22818a7fd16
MD5 146677aff5cf9cd90146dcfe817743da
BLAKE2b-256 5cd6052f22bb7b34a5abb51b49275a8696cdced85889ef6e0b746a76844ad011

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cae6340d9b0f84ab728ce008e6ce6cc0544f563e08a0a833e46b54b771395654
MD5 3dbd0d85cd4457f461f4f9255a2fd823
BLAKE2b-256 4b46b16eccebcb3b7f772a4897889ad03672f398b1692d8ffa48e1bf95aa2477

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp39-cp39-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp39-cp39-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 64da4c4846838bea3042290f6aea859f59d307a0f8cf600e6e89d47b5098d583
MD5 3e76ceea7cf0bbd1cacd388d73c9c64e
BLAKE2b-256 0fe2f463a7ed623824b90fe5bef241fe030a5ce922ee5d41be03f2d6355a84c7

See more details on using hashes here.

File details

Details for the file tsfile-2.2.1.dev2-cp39-cp39-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for tsfile-2.2.1.dev2-cp39-cp39-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 eb8e7ddebdffe6b2bf4d306452986cac11e97fe2d79e21edc79f1d8a32104b85
MD5 e9187a80ffa98b0b21d7a51f7513d12e
BLAKE2b-256 5b32dc4d5064a8dab41b6cd709eb08bd574c9157ccbb773f162c743dcec8dcce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page