PrimeTime 🦊
Fast, dependency-free prime number toolkit CLI in pure Python.
# Install via PyPI (coming soon)
pip install primetime
# Or clone & run
./primetime generate 10000000 --progress
Features
- Deterministic Miller-Rabin primality test
- Optimized segmented sieve (O(√N) memory)
- Count-only mode (
--count) for huge limits - Progress reporting (
--progress) - JSON export
- Symlink support (
ptgen,pttest, etc.)
Usage Examples
./ptgen 10_000_000 # Full list + JSON
./ptgen 1_000_000_000 --count # Fast count only
./ptgen 50_000_000 --progress # Live progress
./pttest 2027
Symlinks (recommended)
ln -s primetime.py ptgen
ln -s primetime.py pttest
Metadata
Release files for primetime 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| primetime-1.0.1.tar.gz | 4.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| primetime-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / primetime-1.0.1.tar.gz
| Download URL | primetime-1.0.1.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf705a4f0fd0b10d1df20239bca26b3cf313d95951f4ceeb5e3b454d637021ea
|
|
BLAKE2b-256 checksum How to use checksums |
ec320272b5e7580768ba65bcb986cab3f1fdcdc60a82d3cb9b179709176f8ae9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / primetime-1.0.1-py3-none-any.whl
| Download URL | primetime-1.0.1-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5fcee9cb4d69f1c2e0822960227b04774db715b2487f7e4103ee1ffa91b479bb
|
|
BLAKE2b-256 checksum How to use checksums |
84466424dff37d7855de80015c5feab8338fb6f05960114d52961a2886824ffd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for primetime 1.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.