pylib

Crates.iopylib
lib.rspylib
version0.3.0
sourcesrc
created_at2021-05-29 01:17:43.120736
updated_at2021-06-18 20:04:04.552714
descriptionA library for python compatible APIs
homepagehttps://github.com/adsharma/py2many
repositoryhttps://github.com/adsharma/pylib-rs
max_upload_size
id403351
size7,920
(adsharma)

documentation

README

This is a companion library for py2many

There are several differences in the design of python stdlib and rust stdlib. Transpiling requires that we translate language constructs as well as APIs.

Sometimes the APIs don't translate well. Having these traits helps bridge the two. For example open("filename").read() on python returns a string. There is no equivalent function on rust. Generating idiomatic rust code adds complexity to the transpiler. pylib hopefully makes it possible with less complexity.

Commit count: 11

cargo fmt