
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
An all in one python library
pip3 install bagbag --upgrade
docker run --rm --name bagbag -v /path/to/file/run.py:/app/run.py darren2046/bagbag:latest
docker run --rm --name bagbag -v /path/to/file/run.py:/app/run.py darren2046/bagbag-gui:latest # xvfb running so can use gui application such as chromedriver with selenium
docker run --rm --name bagbag -v /path/to/file/run.py:/app/run.py darren2046/bagbag-gui-debug:latest # HTTP Server serving vnc desktop runing on port 80
Crypto
File(path:str)
Lg 日志模块
String(string:str) 一些字符串处理函数
Time 时间
Base64
Json
Hash
Os
Http
Socket
Random
Funcs
Tools 一些工具
Cache
OCR(server:str)
WebCrawler()
JavaScript
BlockChain
Nslookup(server:list[str]=["8.8.8.8", "1.1.1.1", "8.8.4.4"], tcp:bool=False)
MatrixBot(apiserver:str, password:str="")
RSS
Queue(server:str, name:str, length:int=0, timeout:int=300)
Kafka(topic:str, servers:str|list)
Github(token:str, ratelimit:str="30/m")
SSH(host:str, port:int=None, user:str=None, password:str=None, pkey:str=None)
Translater
XPath(html:str)
WaitGroup()
Crontab()
Elasticsearch(url:str)
CSV
Xlsx
WebServer(name:str=None) # 例子见源码文件Web.py的后半部分
Chan() 内存队列, 跟go的chan一样
RateLimit(rate:str, sleep:bool=True) rate可以是 次数/时间区间, 时间可以是s, m, h, d, 即秒,分,时,天. 例如一分钟限制五次: 5/m. 在低速率的时候能限制准确, 例如低于1秒10次. 高速率例如每秒50次以上, 实际速率会降低, 速率越高降低越多.
URL(url:str)
Prometheus
Selenium
Telegram(appid:str, apphash:str, sessionString:str=None)
TelegramBotOfficial(token:str)
ProgressBar(iterable_obj, total=None, title=None, leave=False)
Redis(host: str, port: int = 6379, database: int = 0, password: str = "")
MySQL(host: str, port: int, user: str, password: str, database: str, prefix:str = "") # 跟5.7兼容. 因为orator跟5.7兼容, 跟8.0会有小问题, 作者很久不更新, 有空换掉这个orm. 注意, Python的MySQL操作不支持多线程, 需要每个线程连接一次MySQL, 不过这个是自动的, 在Get, Update等操作的时候如果链接异常就重连
SQLite(path: str, prefix:str = "") 由于SQLite每次只能一个线程进行操作, 所以这里默认会有一个锁, 线程安全
其它的
FAQs
An all in one python library
We found that bagbag demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.