No project description provided
Project description
# Catchword Catchword prints out the matched lowercase words from the file. Search term exists on the last line of the file at all times. If there is no match, “There is no word that matches with Search Term!” will be printed out on console.
The search function was implemented by using “Prefix Tree”.
I try to follow [this][google/styleguide] style guide for this project. Check my docstrings and comments for detailed explanations.
[google/styleguide]: https://github.com/google/styleguide/blob/gh-pages/pyguide.md#38-comments-and-docstrings
# Setup This project uses “setup.py” for packaging project. But since it is not recommened way for packaging the project, [this][packaging] can be followed instead of using “setup.py”.
[packaging]: https://packaging.python.org/en/latest/tutorials/packaging-projects/
## 1. Check Python version This project needs Python version that is greater than or equal to 3.10. ` python --version `
## 2. Create virtual environment and activate it See details at [here][venv].
[venv]: https://docs.python.org/3/library/venv.html
` python -m venv venv ` Once you create it. ` (POSIX) source venv/bin/activate `
## 3. Install requirements ` python -m pip install -r requirements.txt `
## 4. Run tests ` python -m pytest `
## 5. Build This will create “dist” folder. ` python -m build `
## 6. Install You can find the “wheel_file” at the “dist” folder.
` python -m pip install ["wheel_file".whl] `
## 7. Usage “FILEPATH” should be absolute path of a file. ` wordsearch ["FILEPATH"] `
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
Built Distribution
File details
Details for the file catchword-0.1.1.tar.gz
.
File metadata
- Download URL: catchword-0.1.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e50bfbe9fb13e1f84e1567f2402a88b4f7fd069f6dc7bdf980d1310ba313b28f |
|
MD5 | 6c901e405f7a1ac19b3a2ff26136d87d |
|
BLAKE2b-256 | da4b38be4f4da7acd2842a089962082c27c37b20f941e0a635bb9717b6e95eda |
File details
Details for the file catchword-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: catchword-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88bf00180c7a6e56d36f04a4a58c46b4ddcc630261ecb233a46a4e856aeab176 |
|
MD5 | 41f712b48590d73a79b93c098978061b |
|
BLAKE2b-256 | dd0a873bd795ff41a66850e7d970ffae7f6c8036cc9569faadaea4adcfa7ff91 |