简介
fishbase 是由我们自主开发、整理的一套 Python 基础函数库。
从多年的 Python 开发经验中,我们抽象出了很多通用的方法,为日常的开发工作带来极大的便利。
fishbase 设计的初衷,并不是用来解决复杂问题,而是对系统函数进一步封装,从而减少程序开发工作量、降低引用复杂度。
目前,我们正在加速 fishbase 的完善,涵盖单元测试、示例代码、文档等内容优化。希望借此帮助到更多 Python 爱好者和应用开发人员。
安装
Install and update using pip:
pip install -U fishbase
模块
目前主要分为以下模块:
fish_common 基本函数包
fish_system 系统增强函数包
fish_file 文件处理增强函数包
fish_csv csv 处理增强函数包
fish_logger 日志记录增强函数包
fish_project project 目录结构生成函数包
使用示例
from fishbase.fish_common import *
# 获取当前路径下的 py 文件
print(find_files(".", [".py"]))
# 获取字符串 "hello world" 的 MD5 值
print(GetMD5.string('hello world'))
# 获取长度为 10 的随机字符串
print(get_random_str(10))
from fishbase.fish_data import *
# 验证身份证号是否合法
print(is_valid_id_number("320124198701010012"))
更多
Metadata
Release files for fishbase 1.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fishbase-1.1.4.tar.gz | 242.9 kB | Without provenance | Details for fishbase-1.1.4.tar.gz |
Release files / fishbase-1.1.4.tar.gz
| Download URL | fishbase-1.1.4.tar.gz |
|---|---|
| Size | 242.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25e42ba2514e76f549b3a143d70809da083f6b5570a099f9d64d6b4d8ddebf69
|
|
BLAKE2b-256 checksum How to use checksums |
402211a5a835cd8b271cd0174943e3e37d422c424661c0b5c364ccbd7b0f665a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|
Security for fishbase 1.1.4
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.