#python #standard #rust-python #subset #freeze-stdlib

rustpython-pylib

A subset of the Python standard library for use with RustPython

2 releases

0.3.1 Apr 10, 2024
0.3.0 Sep 5, 2023

#1885 in Development tools

Download history 43/week @ 2024-04-01 254/week @ 2024-04-08 240/week @ 2024-04-15 193/week @ 2024-04-22 132/week @ 2024-04-29 226/week @ 2024-05-06 292/week @ 2024-05-13 223/week @ 2024-05-20 222/week @ 2024-05-27 252/week @ 2024-06-03 212/week @ 2024-06-10 131/week @ 2024-06-17 252/week @ 2024-06-24 226/week @ 2024-07-01 297/week @ 2024-07-08 360/week @ 2024-07-15

1,147 downloads per month
Used in 2 crates

Custom license and LGPL-3.0-only

10MB
186K SLoC

Python 183K SLoC // 0.3% comments Rust 2K SLoC // 0.0% comments PowerShell 108 SLoC // 0.5% comments Batch 42 SLoC

Contains (Python package, 2MB) pip-22.3.1-py3-none-any.whl, (Python package, 1MB) setuptools-65.5.0-py3-none-any.whl

This crate includes the compiled python bytecode of the RustPython standard library. The most common way to use this crate is to just add the "freeze-stdlib" feature to rustpython-vm, in order to automatically include the python part of the standard library into the binary.

Dependencies

~15MB
~305K SLoC