Apache IoTDB
Apache IoTDB (Database for Internet of Things) is an IoT native database with high performance for data management and analysis, deployable on the edge and the cloud. Due to its light-weight architecture, high performance and rich feature set together with its deep integration with Apache Hadoop, Spark and Flink, Apache IoTDB can meet the requirements of massive data storage, high-speed data ingestion and complex data analysis in the IoT industrial fields.
Apache IoTDB Python Client API
Using the package, you can write data to IoTDB, read data from IoTDB and maintain the schema of IoTDB.
Requirements
You have to install thrift (>=0.13) before using the package.
How to use (Example)
First, download the package: pip3 install apache-iotdb
You can get an example of using the package to read and write data at here: Example
(you need to add import iotdb in the head of the file)
Or:
from iotdb.Session import Session
ip = "127.0.0.1"
port_ = "6667"
username_ = 'root'
password_ = 'root'
session = Session(ip, port_, username_, password_)
session.open(False)
zone = session.get_time_zone()
session.close()
IoTDB Testcontainer
The Test Support is based on the lib testcontainers (https://testcontainers-python.readthedocs.io/en/latest/index.html) which you need to install in your project if you want to use the feature.
To start (and stop) an IoTDB Database in a Docker container simply do:
class MyTestCase(unittest.TestCase):
def test_something(self):
with IoTDBContainer() as c:
session = Session('localhost', c.get_exposed_port(6667), 'root', 'root')
session.open(False)
result = session.execute_query_statement("SHOW TIMESERIES")
print(result)
session.close()
by default it will load the image apache/iotdb:latest, if you want a specific version just pass it like e.g. IoTDBContainer("apache/iotdb:0.10.0") to get version 0.10.0 running.
Metadata
Release files for apache-iotdb-nightly 0.11.2.20210324
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| apache-iotdb-nightly-0.11.2.20210324.tar.gz | 61.0 kB | Without provenance | Details for apache-iotdb-nightly-0.11.2.20210324.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| apache_iotdb_nightly-0.11.2.20210324-py3-none-any.whl | Python 3 | none | any | Details for apache_iotdb_nightly-0.11.2.20210324-py3-none-any.whl |
Total release size: 137.2 kB
Release files / apache-iotdb-nightly-0.11.2.20210324.tar.gz
| Download URL | apache-iotdb-nightly-0.11.2.20210324.tar.gz |
|---|---|
| Size | 61.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
677436bd6866db0170aea65ac39202a033671b254552796335df7be455489c57
|
|
BLAKE2b-256 checksum How to use checksums |
3d6ba6219fe442e1812a67400010b0cdee6bad37f965eedd148ef930181406e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0
|
Release files / apache_iotdb_nightly-0.11.2.20210324-py3-none-any.whl
| Download URL | apache_iotdb_nightly-0.11.2.20210324-py3-none-any.whl |
|---|---|
| Size | 76.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c90b857f72d967cdc114d985dbf460303f0109fb3ac703fc30fdb28f1eddd5ff
|
|
BLAKE2b-256 checksum How to use checksums |
9eb7667ad99c5fba89bca83d8f11e337b10f16591f944bd61e5266b0f49405b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0
|
Security for apache-iotdb-nightly 0.11.2.20210324
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.