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.1.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytoolsz-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 edfdc376a2b504ac300ac6fe6025e798e56acb5300fc4404208fa3f95dc4a1bc
MD5 88029494090fe8421fabbbc86e851c37
BLAKE2b-256 f5bf4f4732427b48538419d4a9d6b28806865bf0b0fda3a1c4f689b56e5320b2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytoolsz-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6d127fa97723963a9c6a8490eb6ff689cdebcc4dade2e9e5f28746c60e1b86ce
MD5 4ebce9e8f6eab670dab7e6dc8df64e0c
BLAKE2b-256 05075b6055ee9e15d1ca1c87cfe8c243c33fd51c87af39a93e0b6259cd46b0b3

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