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

Uploaded Source

Built Distribution

pytoolsz-0.2.0-py3-none-any.whl (41.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytoolsz-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 1b26a7cd0cd70eb08f84808117f654a561006331087981e1b9b3afb12f19798b
MD5 2b427281d1d52cab37b7c2d330d684cf
BLAKE2b-256 6023528cd27eff04eb0b9169d804d2f6bb3c6691412a07486d5b4cec8d0beb9e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytoolsz-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 41.5 kB
  • 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 701706f1299d2d51fa3e9032ba185779625a06c1586c78f9cab9e2d9d49e2116
MD5 291792f6819b5b4afe7c83e88ca3c3bd
BLAKE2b-256 a0d7f7d0f4e84107faa0fa3488b0d70324ab3cf2657b2c3e19a20594669535fb

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