semvec/pypi-packages huggingface dataset:
pycounts-vf 0.1.0
Calculate word counts in a text file!
License: MIT
Requires Python: >=3.9,<4.0

# pycounts

Calculate word counts in a text file!

## Installation

```bash
$ pip install pycounts
```

## 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` 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).
sre-bot-zabbix 0.0.9
SRE Bot for zabbix communication
License: MIT
Requires Python: >=3.6.0


# sre-bot-zabbix

Uses zabbix-sender protocol to send values (char, int, float)
to trapped zabbix-items.
Automatically sets hosts in zabbix and adds trapped items, that can be filled.


# Configuration

```bash

``
pydelivengo 1.6
A lib to use MyDelivengo API
License: MIT
Keywords: api mydelivengo python3 webservices

# pydelivengo 
[![Build Status](https://travis-ci.org/alexandriagroup/pydelivengo.svg?branch=master)](https://travis-ci.org/alexandriagroup/pydelivengo)

pydelivengo is a Python library using the MyDelivengo API


## Documentation

PyDelivengo : https://alexandriagroup.github.io/pydelivengo/

MyDelivengo (La Poste API documentation) : http://www.assistance-mydelivengo.fr/api/

You can find the list of parameters for each function into this
documentation.

## How to use

```python
api = PyDelivengo(api_authorization="your_mydelivengo_api_key")
api.get_user_info()  # Get your user info
api.get_envois()  # get all your "envois"
api.get_pli(11437479, print_pdf=True)  # Get the "pli" with ID 11437479 and generate PDF to print
api.get_depots(params={'date[from]':'30/11/2017'})  # Get the "depots" from November 30th
```


Looks to [MyDelivengo](http://www.assistance-mydelivengo.fr/api/documentation/) documentation to see all parameters.

## Tools

### Decode and save PDF from API

An example for decode and save the Base64 Encoded String return by the
MyDelivengo API:

```python
import os
from base64 import decodebytes

with open(os.path.expanduser('path/test.pdf'), 'wb') as f:
    f.write(decodebytes(api_data.encode('ascii')))
```