Skip to main content

toolkits for quickly reference

Project description

toolkits

迁移PDM项目

1, Create virtual env pdm venv create

2, Install dependency pdm install

3, basic python libs pdm add arrow toolkits requests dingtalkchatbot exchangelib redis PyYAML sqlalchemy kafka-python-ng urllib3==1.26.15 wheel jmespath log4python PyMySQL pytest crython icecream

使用包中的Python脚本

设置Python环境变量

  export PYTHONPATH="/home/pythonDemo/toolkits/src/:$PYTHONPATH"

源码目录中不要有[与包名一致的Python脚本文件]

直接调用Python脚本

  python toolkits/db_query_demo.py --config_path="/home/pythonDemo/toolkits/src/toolkits/config/config_demo.py" worker test_01.txt 

Project details


Download files

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

Source Distribution

toolkits-0.2.12.tar.gz (42.9 kB view details)

Uploaded Source

Built Distribution

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

toolkits-0.2.12-py3-none-any.whl (60.4 kB view details)

Uploaded Python 3

File details

Details for the file toolkits-0.2.12.tar.gz.

File metadata

  • Download URL: toolkits-0.2.12.tar.gz
  • Upload date:
  • Size: 42.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for toolkits-0.2.12.tar.gz
Algorithm Hash digest
SHA256 aebd14b992b2a45d6c4b32e53346a448e18f7399dcf0aadd591df261226c0cf6
MD5 7d3b93b20a54fb7170987f2866c75aa7
BLAKE2b-256 431e9abd56b8c625128c8ed70188042ef5c5fc98382600ae04a0c03eb488d066

See more details on using hashes here.

File details

Details for the file toolkits-0.2.12-py3-none-any.whl.

File metadata

  • Download URL: toolkits-0.2.12-py3-none-any.whl
  • Upload date:
  • Size: 60.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for toolkits-0.2.12-py3-none-any.whl
Algorithm Hash digest
SHA256 268103f826398e875831062607f4f96bd97e611e6ce3e71f54a00ccd5304a112
MD5 c75bfb471e85c91d1ea39196f3ebba3c
BLAKE2b-256 f2ff0156cff7e3d2805153b70082a0c315c858ee897efb373097fb664779b5c8

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