Fast prime number toolkit CLI
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
primetime-1.0.0.tar.gz
(2.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file primetime-1.0.0.tar.gz.
File metadata
- Download URL: primetime-1.0.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c56b7bdb25d3b707b084a5499da375cf107951fc887752c5dae0084b3966d6d
|
|
| MD5 |
af13e1bebab2a20cc6aa7cd1b8db4474
|
|
| BLAKE2b-256 |
26a8860d242137282b0185e2e6c9818dc8abac00293ddcfa5026234b1001d59e
|
File details
Details for the file primetime-1.0.0-py3-none-any.whl.
File metadata
- Download URL: primetime-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2222c0d0382ccfc267f45b25e4227861d13e32492dd56ba3911baf4686df6bf9
|
|
| MD5 |
000593dbdbeb5e3b9ce5c507d0ab416a
|
|
| BLAKE2b-256 |
de9dfd42fd3c0aca52df24832ab6149e94aa588710555a305eee42232b35adb6
|