Skip to main content

A set of Python Tools, mainly used to deal with work problems.

Project description

pytoolsz

一组常用的Python工具,主要用于处理自己常用的工作问题。 (说白了就是个工具集的罗列,减少一些重复劳动。)

目前已有的小工具:

  1. saveExcel 数据表保存方法
  2. compress 压缩包处理
  3. utob YouTube常用数据处理方法
  4. frame 数据框DataFrame快捷方法
  5. pretools 四舍五入与日期处理
  6. ppTrans PPT转换与PPT拼接长图
  7. graphs 绘图工具(子弹图、颜色映射、中国地图可视化|热力图)

目前完成了部分便捷小工具。预测工具和更多绘图工具还在构建中。

现在已经可以直接使用pip安装了:

pip install pytoolsz

其他说明

国家代码转换的说明:

  1. ISO2 (ISO 3166-1 alpha-2) - including UK/EL for Britain/Greece (but always convert to GB/GR)
  2. ISO3 (ISO 3166-1 alpha-3)
  3. ISO - numeric (ISO 3166-1 numeric)
  4. UN numeric code (M.49 - follows to a large extend ISO-numeric)
  5. A standard or short name
  6. The "official" name
  7. Continent: 6 continent classification with Africa, Antarctica, Asia, Europe, America, Oceania
  8. Continent_7 classification - 7 continent classification spliting North/South America
  9. UN region
  10. EXIOBASE 1 classification (2 and 3 letters)
  11. EXIOBASE 2 classification (2 and 3 letters)
  12. EXIOBASE 3 classification (2 and 3 letters)
  13. WIOD classification
  14. Eora
  15. OECD membership (per year)
  16. MESSAGE 11-region classification
  17. IMAGE
  18. REMIND
  19. UN membership (per year)
  20. EU membership (including EU12, EU15, EU25, EU27, EU27_2007, EU28)
  21. EEA membership
  22. Schengen region
  23. Cecilia 2050 classification
  24. APEC
  25. BRIC
  26. BASIC
  27. CIS (as by 2019, excl. Turkmenistan)
  28. G7
  29. G20 (listing all EU member states as individual members)
  30. FAOcode (numeric)
  31. GBDcode (numeric - Global Burden of Disease country codes)
  32. IEA (World Energy Balances 2021)
  33. DACcode (numeric - OECD Development Assistance Committee)
  34. ccTLD - country code top-level domains
  35. GWcode - Gledisch & Ward numerical codes as published in https://www.andybeger.com/states/articles/statelists.html
  36. CC41 - common classification for MRIOs (list of countries found in all public MRIOs)
  37. IOC - International Olympic Committee (IOC) country codes

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

pytoolsz-0.2.9.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

pytoolsz-0.2.9-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

Details for the file pytoolsz-0.2.9.tar.gz.

File metadata

  • Download URL: pytoolsz-0.2.9.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for pytoolsz-0.2.9.tar.gz
Algorithm Hash digest
SHA256 a3f1f736b044e38172a7ec5309a1430afe87116c5de95d571c53645680a0ce56
MD5 15efe189a216098458e808018cf2aa77
BLAKE2b-256 a39a041b1e018501a7ecdb8ea8519636ce7d8e45bfd2229d012d0ef27be704ac

See more details on using hashes here.

File details

Details for the file pytoolsz-0.2.9-py3-none-any.whl.

File metadata

  • Download URL: pytoolsz-0.2.9-py3-none-any.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for pytoolsz-0.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 8375084284bc92e2fe127d0d8d7f80bf2ffe0f8ca959e6523321e090c1526a9c
MD5 626d2cef05eca1909e977a95438e829d
BLAKE2b-256 bc9f43a7124c563b5278ffe033616907d79e0ccbded60058c08ffb8b08d55f34

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page