Skip to main content

mypackage = scm203lab367112755

scm203lab367112755 This is an example of Python packaging that combines important Number Theory algorithms into an easy-to-use format: Euclidean Algorithm, Extended Euclidean Algorithm, and Sieve of Eratosthenes.It is designed mainly for learning purposes and as an example of Python packaging.


Features

  • Euclidean Algorithm: Purpose: Compute the greatest common divisor (GCD) of two integers $a$ and $b$. Idea: Uses repeated division with remiander. [ \gcd(a, b) = \gcd(b, ; a \bmod b) ] Complexity: $O(\log(\min(a,b)))$.
  • Extended Euclidean Algorithm: Purpose: find greatest integer $x$ and $y$ such that [ ax+by = gcd(a, b) ] Application: Solving Diophantine equations modular inverse. Complexity: $O(\log(\min(a,b)))$.
  • Sieve of Eratosthenes: Purpose: Generates all prime numbers up to $n$. Idea: Iteratively marks multiples of primes as composite. Complexity: $O(n\log(\log(n)))$.

Installation

You can install the package directly from PyPI:

pip install scm203lab367112755

Example 1 Euclidean Algorithm

gcd(234, 42)

Example 2 Extended Euclidean Algorithm

extended_gcd_steps(7920, 4536)

Example 3 Sieve of Eratosthenes

sieve_steps(49)

Metadata

Release files for scm203lab367112755 0.1.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 scm203lab367112755 0.1.0
File Size Uploaded Provenance
scm203lab367112755-0.1.0.tar.gz 3.4 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 7.2 kB

Release files / scm203lab367112755-0.1.0.tar.gz

Download URL scm203lab367112755-0.1.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
131c6a0fa35b8e8907ea62662fbbaacb5ff906a8a219eda61d663412d886e9b1
BLAKE2b-256 checksum
How to use checksums
220d1641a0b932ba8df79ee17898b8764dc4b87059f1bdf99fe9180ba9d85010
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / scm203lab367112755-0.1.0-py3-none-any.whl

Download URL scm203lab367112755-0.1.0-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
878ded65e12f4187bdbb482f4a057654d8dd4c6145fed6b97d965812c6a6a541
BLAKE2b-256 checksum
How to use checksums
1fb8e536937d280d955ff3ddfa193009360b479f8e091f2d744f5be222a1a714
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for scm203lab367112755 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 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