Skip to main content

MoreLoops

MoreLoops is a library the brings loops from other languages (and some that don't yet exist) into Python

Instilation

python -m pip install moreloops

Dependencies

All dependencies for MoreLoops are auto-installed
  • decorate_all_methods - For decorating all the methods inside a class
  • docifyPLUS - For documenting documentables

Features

Functions

while_

  • Parameters:
    • bool_expr: str
    • do: Callable
      • Default: Nothing
    • else_: Callable
      • Default: Nothing
    • oneline: bool
      • Default: False
    • vars_: list
      • Default: [ ]
  • Output:
    • If oneline is True
      • Returns: _Loops.While.oneline( )
    • If oneline is False
      • Returns: _Loops.While(bool_expr, do, else_, vars_)

until

  • Parameters:
    • bool_expr: str
    • do: Callable
      • Default: Nothing
    • else_: Callable
      • Default: Nothing
    • oneline: bool
      • Default: False
    • vars_: list
      • Default: [ ]
  • Output:
    • If oneline is True
      • Returns: _Loops.Until.oneline( )
    • If oneline is False
      • Returns: _Loops.Until(bool_expr, do, else_, vars_)
        • Note: _Loops.Until is a context manager and is designed to be used as such

Metadata

Release files for moreloops 0.0.1

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

Source distribution (sdist)

Source distribution for moreloops 0.0.1
File Size Uploaded Provenance Actions
moreloops-0.0.1.tar.gz 3.6 kB Without provenance Details for moreloops-0.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 8.0 kB

Release files / moreloops-0.0.1.tar.gz

Download URL moreloops-0.0.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bbcb38b3c10a6a38b0dbda3bb6eabd2a3e2c98793608e7ac0551de25655a1af5
BLAKE2b-256 checksum
How to use checksums
dfb5efce0e5a3e9914c7556b132aa75e8b46c607cfe1eb35d7c2f44cd7ad4724
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

Release files / moreloops-0.0.1-py3-none-any.whl

Download URL moreloops-0.0.1-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
523f4ce59b38a61e29a7cae61a5f9bacb0943aa12e02677b56d36b52e3eaf30e
BLAKE2b-256 checksum
How to use checksums
1a49d3fb8552ffe9d096fd3f4099708debd7f9744e3d08cf369eb57020767f50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

Security for moreloops 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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