Skip to main content

# 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"] `

Metadata

Release files for catchword 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for catchword 0.1.1
File Size Uploaded Provenance
catchword-0.1.1.tar.gz 4.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for catchword 0.1.1
File Interpreter ABI Platform
catchword-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.7 kB

Release files / catchword-0.1.1.tar.gz

Download URL catchword-0.1.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e50bfbe9fb13e1f84e1567f2402a88b4f7fd069f6dc7bdf980d1310ba313b28f
BLAKE2b-256 checksum
How to use checksums
da4b38be4f4da7acd2842a089962082c27c37b20f941e0a635bb9717b6e95eda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release files / catchword-0.1.1-py3-none-any.whl

Download URL catchword-0.1.1-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
88bf00180c7a6e56d36f04a4a58c46b4ddcc630261ecb233a46a4e856aeab176
BLAKE2b-256 checksum
How to use checksums
dd0a873bd795ff41a66850e7d970ffae7f6c8036cc9569faadaea4adcfa7ff91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Security for catchword 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page