semvec/pypi-packages huggingface dataset:
pycounts-gthrm 0.1.0
calculate word counts in a text file
License: MIT
Requires Python: >=3.9

# pycounts_gthrm

calculate word counts in a text file

## Installation

```bash
$ pip install pycounts_gthrm
```

## Usage

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

```python
from pycounts.pycounts import count_words
from pycounts.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_gthrm` was created by Thulasiram Gunipati. It is licensed under the terms of the MIT license.

## Credits

`pycounts_gthrm` was created with [`cookiecutter`](https://cookiecutter.readthedocs.io/en/latest/) and the `py-pkgs-cookiecutter` [template](https://github.com/py-pkgs/py-pkgs-cookiecutter).
peaceful-pie 2.1.0
Control Unity from Python!
License: MIT
Requires Python: >=3.8,<4.0

# Peaceful Pie

Connect Python with Unity for reinforcement learning!

Video:

[![Control Unity from Python WITHOUT mlagents](http://img.youtube.com/vi/RW8S8DhA_DI/0.jpg)](https://youtu.be/RW8S8DhA_DI "Control Unity from Python WITHOUT mlagents")

# CI

[![CircleCI](https://dl.circleci.com/status-badge/img/gh/hughperkins/peaceful-pie/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/hughperkins/peaceful-pie/tree/main)

# Examples

- see [examples](examples)

# Installation

You need to install both into Unity project, and into your Python environment.

## In Unity

- In Unity, go to Window | Package Manager
    - change the dropdown in top left to 'Packages: In Project'
    - check that Newtonsoft Json appears
    - if Newtonsoft Json is not already in your project:
        - click on the '+' in the top left, and choose 'Add package by name...'
        - put the name `com.unity.nuget.newtonsoft-json`, then click 'Add'
- In Unity, in your project's "Assets" folder, create a "Plugins" folder, if it doesn't already exist
- First install AustinHarris.JsonRPC:
    - Download https://www.nuget.org/api/v2/package/AustinHarris.JsonRpc/1.2.3
    - rename to have filename suffix be `.zip` (you might need to turn on options to see all file extensions)
    - unzip the resulting zip file
    - copy `lib/netstandard2.1/AustinHarris.JsonRpc.dll` into your `Plugins` folder
    - select the file, in your Plugins, and in 'Inspector' unselect 'validate references', and click 'Apply'
- Click on 'Releases', on the right of the github page
    - in the most recent release, download `PeacefulPie.dll`
- Copy `PeacefulPie.dll` into your Unity project's `Plugins` folder
- If on Mac silicon:
    - in Unity, goto Plugins, click on `PeacefulPie.dll`
    - in Inspector, change 'CPU' setting from 'Intel' to 'Any CPU', then click 'Apply'
    - do the same for `AustinHarris.JsonRpc.dll`

You should be good to go :)

## In Python

```
pip install -U peaceful-pie
```

# Requirements

- currently tested with:
    - python 3.10
    - Unity 2021.3.16.f1
- support Python version: >=3.8.0, <4.0.0
- please create an issue if your preferred platform is not supported (I'm guessing I might need to downgrade Python a little? Let me know!)

# Dev

I'm usng Visual Studio for Mac to write this.