semvec/pypi-packages huggingface dataset:
wordcount-demo 0.1.0
A demo for creating a word count package
License: MIT
Requires Python: >=3.9,<4.0

# wordcount_demo

A demo for creating a word count package

## Installation

```bash
$ pip install wordcount_demo
```

## Usage

- TODO

## Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

## License

`wordcount_demo` was created by Nick_Mao. It is licensed under the terms of the MIT license.

## Credits

`wordcount_demo` was created with [`cookiecutter`](https://cookiecutter.readthedocs.io/en/latest/) and the `py-pkgs-cookiecutter` [template](https://github.com/py-pkgs/py-pkgs-cookiecutter).
precept 0.6.7
Async cli application builder.
License: MIT
Keywords: cli,async

# precept

[![CircleCI](https://circleci.com/gh/T4rk1n/precept.svg?style=svg)](https://circleci.com/gh/T4rk1n/precept)
[![Documentation Status](https://readthedocs.org/projects/precept/badge/?version=latest)](https://precept.readthedocs.io/en/latest/?badge=latest)
[![Coverage Status](https://coveralls.io/repos/github/T4rk1n/precept/badge.svg)](https://coveralls.io/github/T4rk1n/precept)
[![PyPI version](https://badge.fury.io/py/precept.svg)](https://badge.fury.io/py/precept)
[![LICENSE](https://img.shields.io/github/license/T4rk1n/precept.svg)](./LICENSE)
[![Downloads](https://pepy.tech/badge/precept)](https://pepy.tech/project/precept)

Async application framework.

## Install

Install with pip: `$ pip install precept`

## Usage

Basic:
```python
from precept import Precept, Command, Argument

class MyCli(Precept):
    """
    The name of the application will be the spinal-case version of 
    the name of the class.
    
    Class docstring is added as cli description.
    """
    @Command(Argument('argument', type=str))
    async def my_command(self, argument):
        print(argument)

def cli():
    MyCli().start()

if __name__ == '__main__':
   cli()
```

For local testing:

- Set `entry_points.console_script` to `my-cli = my_package.my_cli:cli` in `setup.py`
- Install locally: `$ pip install -e .`
- Then call: `$ my-cli my-command hello` -> print `hello`

**[Full documentation](http://precept.readthedocs.io/)**
pycounts-marr 0.1.0
Calculate word counts in a text file!
License: MIT
Requires Python: >=3.9,<4.0

# pycounts_marr

Calculate word counts in a text file!

## Installation

```bash
$ pip install pycounts_marr
```

## Usage

`pycounts_marr` can be used to count words in a text file and plot results
as follows:

```python
from pycounts_marr.pycounts_marr import count_words
from pycounts_marr.plotting import plot_words
import matplotlib.pyplot as plt

file_path = "test.txt"  # path to your file
counts = count_words(file_path)
fig = plot_words(counts, n=10)
plt.show()
```

## Contributing

Interested in contributing? Check out the contributing guidelines. 
Please note that this project is released with a Code of Conduct. 
By contributing to this project, you agree to abide by its terms.

## License

`pycounts` was created by Tomas Beuzen. It is licensed under the terms
of the MIT license.

## Credits

`pycounts` was created with 
[`cookiecutter`](https://cookiecutter.readthedocs.io/en/latest/) and 
the `py-pkgs-cookiecutter` 
[template](https://github.com/py-pkgs/py-pkgs-cookiecutter).
Based on instruction here: https://py-pkgs.org/03-how-to-package-a-python#documentation-1b-fig