Skip to main content

Python-goto

This package adds a revolutionary feature to Python: the Goto statement
It allows you to feel the essence of early days of C while using a modern language

Installation

pip install python-goto

How to use

from python_goto import goto

x: int = 0
while x < 10:
    x += 1
    print(x)
    goto(line=4)

Limitations

The line you want to jump to must have no indent blocks

For example, the following code won't work

from python_goto import goto

def count_down(n: int) -> None:
    while n > 0:
        n -= 1
        print(n)
        goto(line=4)

This limitations will be fixed in the upcomming updated

Metadata

Release files for python-goto 0.1.4

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

Source distribution (sdist)

Source distribution for python-goto 0.1.4
File Size Uploaded Provenance Actions
python_goto-0.1.4.tar.gz 2.5 kB Without provenance Details for python_goto-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for python-goto 0.1.4
File Interpreter ABI Platform Actions
python_goto-0.1.4-py3-none-any.whl Python 3 none any Details for python_goto-0.1.4-py3-none-any.whl

Total release size: 5.4 kB

Release files / python_goto-0.1.4.tar.gz

Download URL python_goto-0.1.4.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2383c2cb2e5201a52e096ccc2ab05149c52d93980108d0607261cf3e82464575
BLAKE2b-256 checksum
How to use checksums
e986381cf4208343cc7e5221517b9fc6a7e78efc1bb20c0ebeb43e6f3f157fdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.1

Release files / python_goto-0.1.4-py3-none-any.whl

Download URL python_goto-0.1.4-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96238ce2f7d271867906fd217689c77f36589937f34abaea9ee066194e6f6dca
BLAKE2b-256 checksum
How to use checksums
7d4958ac08c7864c7a0dd83c7e091e764d7e839af87b251fbf6554318ef0ada7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.1

Security for python-goto 0.1.4

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