Skip to main content

requires python 3.6 or above.
tested in 3.8, 3.9 and 3.10

pip install -U incr

usage:

from incr import incr

@incr
def x():
    i = 0
    print(++i)  # 1
    print(i)    # 1

    ++i
    print(i)    # 2

post-increment (i++) is not supported because it's not a valid python syntax

Metadata

Release files for incr 0.1.2

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

Source distribution (sdist)

Source distribution for incr 0.1.2
File Size Uploaded Provenance Actions
incr-0.1.2.tar.gz 4.2 kB Without provenance Details for incr-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for incr 0.1.2
File Interpreter ABI Platform Actions
incr-0.1.2-py3-none-any.whl Python 3 none any Details for incr-0.1.2-py3-none-any.whl

Total release size: 9.2 kB

Release files / incr-0.1.2.tar.gz

Download URL incr-0.1.2.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3d0a23e469d1884fbf7ce0f7d150e24929ee30df23e02015a25550cb8fc8f70b
BLAKE2b-256 checksum
How to use checksums
58a178600fc0b933e7d827592ff8f5601c580719112d44f7ebde7a44a7a93e5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / incr-0.1.2-py3-none-any.whl

Download URL incr-0.1.2-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e067a6357b40add5bb71077a4d9adef611a59fba54be23cc502d0a27ccce5e26
BLAKE2b-256 checksum
How to use checksums
d4fcb96a1561d92c075b4b5091b4bb51088e644a2157f0168a6a2e0d0bfa16e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Security for incr 0.1.2

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