A python package for anagrams
Project description
ANAGRAM READ ME
There are several methods that can be used in the holistic_anagram.py file. These include:
- init_app
- enter_words_print
- enter_words_json
Install
Note: python-anagram requires python3
pip install holistic-anagram
Website using python-anagram
Steps on how to use python-anagram package
- Create an instance of your anagram. Example: anagram = Anagram()
- Initialize your instance. anagram.init_app(). This allows the app to check if a word is real or not.
- You can then enter words using
enter_words_printmethod orenter_words_json. The former is as an interactive script using the input function. The later requires the sentence argument, and generates json data to be used in a web application e.g. in FastAPI, Flask, Django, etc.
Example of use
- Type in
bats tabs tekken attack on titan no rats tsar star tops tops spot stop psto psto pots - This will remove the non-English words, remove duplicates and leave you with:
bats tabs attack on titan no rats tsar star tops spot stop - It then checks if any of the words are anagrams of each other.
- Output is either a print statement or returns json formatted data.
Dependencies
- No dependencies
Python versions
- 3.7.x
- 3.8.x
- 3.9.x
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
holistic-anagram-1.0.12.tar.gz
(528.4 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 holistic-anagram-1.0.12.tar.gz.
File metadata
- Download URL: holistic-anagram-1.0.12.tar.gz
- Upload date:
- Size: 528.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
addb0340c5344a24c2f88b2c7c99c60f86d1e7843b455bf22fbe7f82225cb09b
|
|
| MD5 |
6cc5c8e77e63a19c54b0fcc705b140c7
|
|
| BLAKE2b-256 |
86c197b24351f675cd1905da0be48af352158183cd3dec4351998ca29002fe7b
|
File details
Details for the file holistic_anagram-1.0.12-py3-none-any.whl.
File metadata
- Download URL: holistic_anagram-1.0.12-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.5.0.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
939fe47fe24c1aad69159db0b9de49d644e3933c1174ef0ca057e2f67f161113
|
|
| MD5 |
326fdf756330c87f8c1afcc8a4647871
|
|
| BLAKE2b-256 |
f6cb2a970a7fd266476b6bba3fb35c38615cf88df8279e965dd1542d7c4d5531
|