Catalog PyPI
PACKAGE EXPLORERView in registry

abeci

PyPI

Find perfect pangrams

Versions collected1
Direct dependencies1From release 1.0.5
Last observed20 Oct, 17:19 UTC

README

Version 1.0.5 documentation

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.p to speed up future calls to the script.

it also:

  • writes a log file such as 2022-04-07T0200.log.
  • writes intermediate files in an effects directory.

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.py for 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:

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.513 Apr 20221

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
tvquizphd/abeci

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:19 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:f76d313c4b4b1a0e42261624f556e519a3c3d827b83a0de625f1c69d6a7058ba