abeci
Create perfect pangrams, sentences with exactly one of each letter in the English alphabet.
Generate Pangrams
After installing abeci as a package, you can run:
abeci-pangrams
This script makes a text file with this name, in results by default:
./results/std4_max1_has_2x_3x/pangrams_1024_0x1_128x2_512x3_1024x4.txt
If the effects/source.p file is missing,
- The script uses Google's English Corpus of all books published in 2008.
- The script will wiret an
effects/source.pto speed up future calls to the script.
it also:
- writes a log file such as
2022-04-07T0200.log. - writes intermediate files in an
effectsdirectory.
The file is named after the current date and UTC time.
Run the help command for options: abeci-pangrams -h
API Usage
- No programatic api is documented at this time:
- Look to
src/modules/savePangrams.pyfor inspiration
Local Installation
Dependencies
Install Miniconda or Anaconda.
conda env create -f environment.yaml
or
conda env update -f environment.yaml
Then, activate the installed environment:
conda activate abeci
After installing dependencies, you can run:
python src/pangrams.py
Run the help command for options: python src/pangrams.py -h
Build Locally w/ pip
Upgrade pip and build with pip
python -m pip install --upgrade pip
pip install build
Install Locally
Using the conda environment, install locally with pip:
VIRTUAL_ENV=$CONDA_PREFIX pip install --src $VIRTUAL_ENV/src -e .
Test
After installing locally, run:
bash run_test.sh
Publish
Publishing happens on release. The following two links were inspirations:
Metadata
Release files for abeci 1.0.5
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 | |
|---|---|---|---|---|
| abeci-1.0.5.tar.gz | 216.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| abeci-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 436.8 kB
Release files / abeci-1.0.5.tar.gz
| Download URL | abeci-1.0.5.tar.gz |
|---|---|
| Size | 216.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91b0cec132fd64f4f2b9e4251ce0ce551b7a1d53416810c7354161d612402a3b
|
|
BLAKE2b-256 checksum How to use checksums |
8314fc5f01da763e269d94264205ef37958b8900c56e7314e17c736adeeeff4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Release files / abeci-1.0.5-py3-none-any.whl
| Download URL | abeci-1.0.5-py3-none-any.whl |
|---|---|
| Size | 219.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6643eb6e480925f91179b9c7929e1d2974dcbd4909d7cca7ede79ca3ad3f7479
|
|
BLAKE2b-256 checksum How to use checksums |
fc18b46bfd8372520c1dec620b742ec7f445a5f174a2f84aa021889e78aff5f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Security for abeci 1.0.5
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.