Skip to main content

Data Docking package

Project description

Data Dock Package


This framework is mainly used for data pair amount in big data.


pip install DataDocking -i -U



  • 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}


  • 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):

    def process(self):

    def teardown(self):


  • Data storage, incoming sql_url_con, such as postgresql+psycopg2://root:123@
from DataDocking import DataSave
class TempDataSave(DataSave):

if __name__ == '__main__':
    sql_url_con = 'postgresql+psycopg2://root:123@'
    tds = TempDataSave()
    db = tds.db(sql_url_con)
    db.query('your sql')'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')'your save sql')


Project details

Download files

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

Files for DataDocking, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size DataDocking-0.0.3-py3-none-any.whl (4.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size DataDocking-0.0.3.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page