Skip to main content

lpython_emulation

This is a python package to add typing information to python code.

Example

from lpython import i32, f64

def add(a: i32, b: i32) -> i32:
    return a + b

def area_of_circle(radius: f64) -> f64:
    pi: f64 = 3.14
    return pi * (radius * radius)

def main0():
    print("The sum of 5 and 3 is", end=" ")
    print(add(5, 3))
    print("Area of circle with radius 5.0 is", end=" ")
    print(area_of_circle(5.0))

main0()
$ python main.py
The sum of 5 and 3 is 8
Area of circle with radius 5.0 is 78.5

Metadata

Release files for lpython-emulation 0.0.16.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lpython-emulation 0.0.16.0
File Size Uploaded Provenance Actions
lpython_emulation-0.0.16.0.tar.gz 10.7 kB Without provenance Details for lpython_emulation-0.0.16.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lpython-emulation 0.0.16.0
File Interpreter ABI Platform Actions
lpython_emulation-0.0.16.0-py3-none-any.whl Python 3 none any Details for lpython_emulation-0.0.16.0-py3-none-any.whl

Total release size: 20.8 kB

Release files / lpython_emulation-0.0.16.0.tar.gz

Download URL lpython_emulation-0.0.16.0.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c7a23d99075e2e559f4d4c4fa0cf9ed2d08234f86f0e3c84632ae6bcd8c0189b
BLAKE2b-256 checksum
How to use checksums
21a49f0bdc16eaf7633d303c8f0f9bdf69b3a2020404b760996e2a9fdb99afac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / lpython_emulation-0.0.16.0-py3-none-any.whl

Download URL lpython_emulation-0.0.16.0-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f3d6f2bb4d1f76f364b8f702a28f0caf51aa00009657597049be17d81b3ab0a
BLAKE2b-256 checksum
How to use checksums
e2acc3308841d127e14f18f2463d6008af8566839855f3650b6d0af2ab4eaa07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for lpython-emulation 0.0.16.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page