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 长行

支持

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Utils4R-0.0.18.tar.gz (14.7 kB view details)

Uploaded Source

File details

Details for the file Utils4R-0.0.18.tar.gz.

File metadata

  • Download URL: Utils4R-0.0.18.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for Utils4R-0.0.18.tar.gz
Algorithm Hash digest
SHA256 ef61cc1559284be94a93a765c7738f5d837d20d6fe975546a6ba0c828a13f384
MD5 44064d5a94a12196b203374535775f8e
BLAKE2b-256 aabfd51631fdabdb1c393552820e89d7be91898f3375bc567daede09553eb97d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.18 This release

1 file

0.0.17

1 file

0.0.16

1 file

0.0.15

1 file

0.0.14

1 file

0.0.13

1 file

0.0.12

1 file

0.0.11

1 file

0.0.10

1 file

0.0.9

1 file

0.0.8

1 file

0.0.7

1 file

0.0.6

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page