Skip to main content

Utils for Researcher (适合于研究者的工具类)

以简化操作为宗旨,服务没有编程经验的研究者

安装

pip install Utils4R

基本介绍

  • console:输出格式化信息到控制台

  • random:生成散布于期望值附近的随机数

io (I/O 输入/输出)

  • io.load_string:读取文件所有内容为字符串

  • io.write_string:将字符串写入到文件中

  • io.load_json:读取文件所有内容为Json格式对象

  • io.write_json:将Json格式数据写入到文件中

db (数据库)

  • MySQL:MySQL读写工具类
    • MySQL()(__init__()):创建MySQL读写实例
    • create():创建表
    • insert():执行INSERT INTO语句
    • select():执行SELECT语句

abc (抽象基类)

  • SingleSpider:简单单线程爬虫的抽象基类

版本:0.0.5(当前版本暂未正式发布,下一个版本不一定会考虑兼容当前版本)

作者

ChangXing 长行

支持

如果觉得这个项目可以帮到您,欢迎星标哦。

Metadata

Release files for Utils4R 0.0.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Utils4R 0.0.18
File Size Uploaded Provenance Actions
Utils4R-0.0.18.tar.gz 14.7 kB Without provenance Details for Utils4R-0.0.18.tar.gz

Release files / Utils4R-0.0.18.tar.gz

Download URL Utils4R-0.0.18.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ef61cc1559284be94a93a765c7738f5d837d20d6fe975546a6ba0c828a13f384
BLAKE2b-256 checksum
How to use checksums
aabfd51631fdabdb1c393552820e89d7be91898f3375bc567daede09553eb97d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Security for Utils4R 0.0.18

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page