Skip to content

Conversation

@jixuan1989
Copy link
Member

In this PR, the client-py package structure will be:
.
├── iotdb
│   ├── Session.py
│   ├── init.py
│   ├── thrift
│   │   ├── init.py
│   │   ├── cluster
│   │   │   ├── RaftService-remote
│   │   │   ├── RaftService.py
│   │   │   ├── TSDataService-remote
│   │   │   ├── TSDataService.py
│   │   │   ├── TSMetaService-remote
│   │   │   ├── TSMetaService.py
│   │   │   ├── init.py
│   │   │   ├── constants.py
│   │   │   └── ttypes.py
│   │   ├── rpc
│   │   │   ├── TSIService-remote
│   │   │   ├── TSIService.py
│   │   │   ├── init.py
│   │   │   ├── constants.py
│   │   │   └── ttypes.py
│   │   └── sync
│   │   ├── SyncService-remote
│   │   ├── SyncService.py
│   │   ├── init.py
│   │   ├── constants.py
│   │   └── ttypes.py
│   └── utils
│   ├── Field.py
│   ├── IoTDBConstants.py
│   ├── IoTDBRpcDataSet.py
│   ├── RowRecord.py
│   ├── SessionDataSet.py
│   ├── Tablet.py
│   └──__init__.py

So, after pip3 install apache-iotdb, just use from iotdb.Session import Session
( and from iotdb.utils import Tablet if you need some advanced APIs).

Thank @JulianFeinauer and @SilverNarcissus 's contribution.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

warning The version of Java (1.8.0_252) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 11.
Read more here

@jixuan1989 jixuan1989 merged commit 0464ecc into rel/0.11 Nov 26, 2020
@jixuan1989 jixuan1989 deleted the test_pip branch November 26, 2020 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants