Skip to main content

toolkits for quickly reference

Project description

tookits

迁移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/tookits/src/:$PYTHONPATH"

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

直接调用Python脚本

  python tookits/db_query_demo.py --config_path="/home/pythonDemo/tookits/src/tookits/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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

tookits-0.2.7-py3-none-any.whl (59.1 kB view details)

Uploaded Python 3

File details

Details for the file tookits-0.2.7-py3-none-any.whl.

File metadata

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

File hashes

Hashes for tookits-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 87aa45a19606325ca049448573ee183834c821912374ec8975d739c01d582136
MD5 d3bf9cb4fc2ce02ae26bbaa9c8d1e5ee
BLAKE2b-256 dca7fac410afdc90a5a32c8ea12a952ce7ea83bb6997a81dafd855b0bc14d537

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