Skip to main content

Python to Rust transpiler.

Project description

Python to Rust transpiler

This project started as Python to Rust syntax converter. It is not aimed at producing ready-to-compile code, but some basic stuff can be compiled easily.

It generates unidiomatic non-optimized code with unnecessary allocations, but can reduce amount of edits you have to do when porting Python projects.

Only basic subset of Python is supported right now and the end goal is to support common cases at least as a placeholders.

The project is in experimental, so it may crash or silently skip some statements, so be careful.

Based on Lukas Martinelli Py14 (https://github.com/lukasmartinelli/py14) and Py14/python-3 (https://github.com/ProgVal/py14/tree/python-3) branch by Valentin Lorentz.

Project details


Download files

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

Source Distribution

python-rs-0.1.0.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

python_rs-0.1.0-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file python-rs-0.1.0.tar.gz.

File metadata

  • Download URL: python-rs-0.1.0.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for python-rs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f7578e14d51895c57e476e5e258460971a70acca9eb5e8d660d6397a5a8aaceb
MD5 c0a2620f9315a1005b96139e003b184d
BLAKE2b-256 62815faa37230735595b814a7ac12cd7e9b9d1a081a7abcfa42c0693e6c62040

See more details on using hashes here.

File details

Details for the file python_rs-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: python_rs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for python_rs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad8dab4551f51cfabdbc2bdf31d9a99dcb0f06a6df30e16f688eaea1ab65aea6
MD5 a2bdac70f531e2bb8fc67472b2ee5fea
BLAKE2b-256 48e8bc806b4c4c3a5c4a616d3ad7d19b79af7464b880e86253ed37fd4e59c15c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page