Data Dock Package
Introduction
This framework is mainly used for data pair amount in big data.
Installation
pip install DataDocking -i https://pypi.python.org/simple -U
Uage
1.DataLoadStatic
- This is used to load static data variables, data variables cannot be modified
from DataDocking import DataLoadStatic
class DataLoad(DataLoadStatic):
temp = 20
press = 30
dl = DataLoad()
# dl.temp.value --> 20
# dl.all_fields --> {'temp': 20, 'press': 30}
2.DataParse
- Data analysis process, follow common framework usage: set_up() -> process() -> teardown()
- set_up: Data preprocessing
- process: data processing
- teardown: Data finishing process
from DataDocking import DataParse
class TempDataParse(DataParse):
def setup(self):
pass
def process(self):
pass
def teardown(self):
pass
3.DataSave
- Data storage, incoming
sql_url_con, such aspostgresql+psycopg2://root:123@127.0.0.1:5432/demo
from DataDocking import DataSave
class TempDataSave(DataSave):
pass
if __name__ == '__main__':
sql_url_con = 'postgresql+psycopg2://root:123@127.0.0.1:5432/demo'
tds = TempDataSave()
db = tds.db(sql_url_con)
db.query('your sql')
tds.save('your save sql')
sql_url_cons = [sql_url_con for _ in range(3)]
dbs = tds.dbs(sql_url_cons)
index_db = dbs[0]
index_db.query('your sql')
index_db.save('your save sql')
Connection
-
author github: https://github.com/AlitaIcon/DataDocking
-
more information: 1906321518@qq.com
Metadata
Release files for DataDocking 0.0.3
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 |
|---|---|---|---|---|
| DataDocking-0.0.3.tar.gz | 3.8 kB | Without provenance | Details for DataDocking-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| DataDocking-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for DataDocking-0.0.3-py3-none-any.whl |
Total release size: 8.0 kB
Release files / DataDocking-0.0.3.tar.gz
| Download URL | DataDocking-0.0.3.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b873fdcd3e8a7fe0c55d5dcb326ff24e5b81f39f5d6d5b162833c624f543f33f
|
|
BLAKE2b-256 checksum How to use checksums |
a1df3296be06525265f1c511734d2c7f497b4574f963a1279e9968fc04ad0d21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.8
|
Release files / DataDocking-0.0.3-py3-none-any.whl
| Download URL | DataDocking-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd924a178534de1529a815628c02a755ba07088dfc2caf24791c6a2e78513a1e
|
|
BLAKE2b-256 checksum How to use checksums |
12e9a4ae6b67b4693cf1223b2a30ccb3a32824b142ac4df9aefadf67b062a937
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.8
|
Security for DataDocking 0.0.3
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.