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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytoolsz-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 8cf9fe34a938da0df31c7c0286b750f2158c2fc1628b2b01ca0c64825fd227e1
MD5 42c832ea2a0b31e2845ccbd56b8050ca
BLAKE2b-256 5b182ee4bcf99db11c7d4578fe1a6776a81102a1b414137f78fedf5e38b2c1af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytoolsz-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f98d29cf8ff22c5968d6e57022b7d9240689303bde9dfaa050a8b4a18a1d895f
MD5 0a4b460523a134a60e5cb6abfc13989c
BLAKE2b-256 0c37adaffef5b26070f8de8b07b0853c78c83c85ee494d05d4cfec0e0fe29488

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