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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytoolsz-0.2.7.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.7.tar.gz
Algorithm Hash digest
SHA256 fb8657a47037ca15d3741055a1b173c1f9e2a0ff48c723d1703696c1d55a561b
MD5 4833a2ac6ae8d27a3c966b52ea5fe7bb
BLAKE2b-256 26aeaf1673b3297ecbe08b30043b81703268cd1e4f80f37fb82f55dfa1cb3ed7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytoolsz-0.2.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 bfe83fe908ee4189dcdadbf9c0d1ab9563a93fefe433c74a5b0c23d6cf2419a9
MD5 216e7ecb1dd46af9c1d9f311511599c3
BLAKE2b-256 71f9969b1812d74d4b5ad70432dce35a5a3424c35a89498d7b45d57fe598236c

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