semvec/pypi-packages huggingface dataset:
SupaFileTree-SainitinD 0.0.1
A project that when given a folder path, generates a tree of all the files inside
Requires Python: >=3.8

# Supa File Tree

A project that when given a folder path, generates a tree of all the files inside it. I created this using pure python and its base packages.

I made it because I couldn't find any python packages that did this. I intend to publish it into pip soon (whenever their website allows me to)

# Project Output

I ran the program on a local copy of my [**tic-tac-toe**](https://github.com/SainitinD/Tic-Tac-Toe-with-GUI) project. Here is the generated output

```
├── assests
│   ├── null
│   │   └── null.png
│   ├── O_Assets
│   │   ├── O.png
│   │   ├── O_diag.png
│   │   ├── O_diag2.png
│   │   ├── O_hor.png
│   │   ├── O_hor2.png
│   │   ├── O_vert.png
│   │   └── O_vert2.png
│   ├── sounds
│   │   ├── Button_Sound.wav
│   │   └── license.txt
│   └── X_Assets
│       ├── X.png
│       ├── X_diag.png
│       ├── X_diag2.png
│       ├── X_hor.png
│       └── X_vert.png
├── ReadMe.txt
└── tic_tac_toe_GUI.py
```

# Run this project

Assuming the project is being run in _C:\Users\sample_, run it using the following ...

`python3 main.py "C:\Users\sample\SAMPLEPROJECT" --tg ".\" --o ".\"`

Where

```
"C:\Users\sample\SAMPLEPROJECT" is the input path (REQUIRED)

--tg ".\" refers to the location of the .treeignore file (OPTIONAL)
--o ".\" refers to the location of where you want to see the output file (OPTIONAL)
```

# How to not include some files in tree

Create `.treeignore` and add the file/folders you don't want to see in the tree
Then use `--tg PATH` and add the _PATH_ when running the file

Example `.treeignore` file

```
.git
.gitignore
```
asaas-client 0.2.1
An unofficial client for Asaas API.
Requires Python: >=3.10

# Asaas Client

[![Test](https://github.com/miguelfferraz/python-asaas-client/workflows/CI/badge.svg)](https://github.com/miguelfferraz/python-asaas-client/actions?query=workflow%+branch%main)
[![Codecov](https://codecov.io/gh/miguelfferraz/python-asaas-client/main/graph/badge.svg)](https://codecov.io/gh/miguelfferraz/python-asaas-client)
[![Package Version](https://img.shields.io/pypi/v/asaas-client?color=%2334D058&label=PyPI%20package)](https://pypi.org/project/asaas-client)
aiconfig-extension-hugging-face-transformers 0.0.4
An extension for using Hugging Face transformers to parse models for AIConfig.
Requires Python: >=3.8

# Using HuggingFace transformers for model parsing with AIConfig

We are prioritizing the Python library so that it can be used with the Gradio backend (which is written in Python) to support Hugging Face workspaces, which is why this is an extension and not part of the core library.

The goal is for these transformers to be used to power the model parser backends.

## Usage

### Part 1: Update and test this extention

If you are not testing locally (just using the published extension), ignore this and go to Part 2

1. From the `aiconfig/HuggingFaceTransformers`, run this command: `pip install build && cd python && python -m build && pip install dist/*.whl`
2. After you're done testing, be sure to delete the generated folder(s) in the `aiconfig/HuggingFaceTransformers` dir. It'll probalby look something like `python/dist` and `python/<package_name>.egg-info`

### Part 2: Importing and using this extension

1. Import whatever outputs pip gives from last command. For now it's `import text-generation` but this may change in the future
2. In code, add all the relevant model parsers that you want to use from this extension to the registry: `ModelParserRegistry.register_model_parser(HuggingFaceTextGenerationTransformer())`. You can read the docstrings under `ModelParserRegistry` class for more info
mthrottle 0.0.2
A simple and generic rate limiter to prevent too many function calls or http requests.
Requires Python: >=3.7
Keywords: rate-limiter,throttle,throttle-requests,throttler

# mThrottle

A simple and generic rate limiter to prevent too many function calls or http requests.

When making large number of HTTP requests, its essential to respect the API limits of a server.

The Throttle class ensures you do not exceed these limits.

Python version: >= 3.7

## Install with PIP

```
pip install mthrottle
```

## Usage

Throttle takes two arguments - a dictionary `configuration` and an integer `maxPenaltyCount`.

The `max_penalty_count` is the maximum number of 429 HTTP error code, allowed to be returned during a session. Exceeding this limit will result in a runtime error.

The `configuration` is a dictionary which defines the limits for each endpoint. Here, `RPS` stands for Requests Per Second and `RPM` stands for Requests Per Minute. Limits are set for each end point.

Configuration must have a `default` key which defines the default limits.

To rate limit, run `th.check` method before a request or function call.

```python
from mthrottle import Throttle

config = {
    'default': {
        'rps': 3,
        'rpm': 150
    }
    'search': {
        'rps': 20
        'rpm': 500
    }
}

maxPenaltyCount = 10

th = Throttle(config, maxPenaltyCount)

for i in range(200):
    th.check()
    print(i, flush=True, end='\r' * 3)
```

`th.check` takes a `key` argument, matching one of the key values in config. If key is not specified, `default` is used.

### Example using Throttle.penalize

`Throttle.penalize` returns a boolean and must be called when a 429 HTTP status code is returned. It returns True when `maxPenaltyCount` is exceeded.

```python
from mthrottle import Throttle
import requests

config = {
    'run': {
        'rpm': 3
    }
}

maxPenaltyCount = 10

th = Throttle(config, maxPenaltyCount)

for i in range(200):
    th.check(key='run')
    r = requests.get('https://google.com')

    if r.status_code == 429:
        if th.penalize():
            raise RuntimeError('Too many API rate limit warnings.')
```
pytektronix 1.0.4
A python package for controlling tektronix scopes
Requires Python: >=3.0

# pytronix

Written and Maintained by Matteo Vidali - [mmvidali@gmail.com](mmvidali@gmail.com)

a VISA/VXI11 based library to control tektronix scopes

Checkout the [PyPi Project](https://pypi.org/project/pytektronix/#description)

See the official [PyTektronix Documentation](https://matteovidali.github.io/pytektronix/)

To install, run:

```bash
    pip install pytektronix
```