semvec/pypi-packages huggingface dataset:
simple-aws-wrapper 2.12.3
Implementazione minimale per la gestione delle risorse in cloud di AWS
Requires Python: >=3.10

# simple_aws_wrapper

Example usage:<br>
``
from src.simple_aws_wrapper.config import AWSConfig
``

``
from src.simple_aws_wrapper.const import regions
``

``
from src.simple_aws_wrapper.services.s3 import S3
``

``
aws_config = AWSConfig()
``

``
aws_config.set_region(regions.Region(regions.EU_WEST_1))
``

``
s3 = S3()
``

``
message_content='Hello World!'
``

``
s3.put_object(message_content, "my-bucket", "my-object-key")
``
simple-jwt-decode 0.10.0
Simple Python Package for decoding JWT claims and checking if its expired. No verification of signatures.
Requires Python: >=3.7

# Simple JWT
[![PyPI version](https://badge.fury.io/py/simple-jwt-decode.svg)](https://badge.fury.io/py/simple-jwt-decode)

-----

## Why?

I created this package because I found that I often needed to see the cliams of a JWT token and wether it was expired or not. I didn't need to verify it the signatures. I wanted a package to check if the token was expired, so I could refresh my token or take other actions based off that. Most other packages seemed to require verified signatures or would throw errors if a key was not provided. Just needed a simple package to get the cliams info and if the token was expired. Simple JWT.

**Table of Contents**

- [Simple JWT](#simple-jwt)
  - [Why?](#why)
  - [Installation](#installation)
  - [Usage](#usage)
    - [Decode](#decode)
    - [Expired](#expired)
    - [CLI Usage](#cli-usage)
  - [License](#license)

## Installation

```console
pip install simple-jwt-decode
```

## Usage

### Decode
```console
from simple_jwt import jwt

jwt.decode(token)
```

Should return at dict that looks similar to the following:

```
{'headers': {'alg': 'HS512'}, 'claims': {'exp': 1681337256, 'iat': 1681333656, 'sid': '15307164276', 'aid': '8652598085', 'cid': '50430702', 'type': 'r'}, 'signature': 'jmFoOydgYnL8AqmgnLSFU2l_E6q3pnPHh7ss-g7xKO7tLD_JY8vZR3O-cthNInFzi9G2M3t2boRzMTatlbsZ7Q'}
```
### Expired

```console
from simple_jwt import jwt
expired = jwt.is_expired(token)

if (expired):
    print('Your JWT token is expired! Oh no! Better get a new one')
else:
    print('Your JWT token is not expired; No need to refesh at the moment')
```

### CLI Usage

You can also use the command-line interface to decode JWT tokens:

```console
jwt <token>
```

This will display the decoded token headers, claims, and signature, as well as whether the token is expired.

Options:
- `--check-expiry` or `-e`: Only check if the token is expired
- `--raw` or `-r`: Print raw decoded data without formatting

Example:
```console
jwt <token>
```

## License

`simple-jwt` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
tinygym 0.1.0
Reinforcement learning in tinygrad

# tinygym
`tinygym` reimplements [`flashrl`](https://github.com/codingfisch/flashrl) while using [`tinygrad`](https://github.com/tinygrad/tinygrad) instead of [`torch`](https://github.com/pytorch/pytorch)

🛠️ `pip install tinygym` or clone the repo & `pip install -r requirements.txt`
  - If cloned (or if envs changed), compile: `python setup.py build_ext --inplace`

The [README of `flashrl`](https://github.com/codingfisch/flashrl) is mostly valid for `tinygym` with the biggest difference being:
  - **`tinygym` is not fast (yet)** -> Learns Pong in ~5 minutes instead of 5 seconds (on a RTX 3090)

Just like in `flashrl`, `python train.py` should look like this (with the progress bar moving ~60x slower):
<p align="center">
  <img src="https://github.com/user-attachments/assets/62da23a8-4d30-41f8-8843-1267e43a8744">
</p>

Check out the onefile branch, if you want to make it fast(=try to make TinyJit work)!

# Implementation differences to `flashrl`
The **most important difference** (enabled RL after 2 hours of debugging):
- **Use `.abs().clip(min_=1e-8)` in `ppo` to avoid close to zero values in `(value - ret)`**

Without this the optimizer step can result in NaNs and **"RL doesn't work"** 😜

To potentially enable `tinygrad.TinyJit` (does not work yet, hence the slowness)
- `Learner` does not `.setup_data` and
- `rollout` is a function (instead of a `Learner`-method) that fills a list with Tensors and `.stack`s them at the end

Since it somehow performs better
- `.uniform` (`tinygrad` default) instead of `.kaiming_uniform` (`torch` default) weight initialization for `nn.Linear`

Custom `tinygrad`-rewrites of `torch.nn.init.orthogonal_` & `torch.nn.utils.clip_grad_norm_`are used

You'll find a `.detach()` here and a `.contiguous()` but other than that `tinygym`=`flashrl` 🤝

## Acknowledgements 🙌
I want to thank
- [George Hotz](https://github.com/geohot) and the tinygrad team for commoditizing the petaflop! Star [tinygrad](https://github.com/tinygrad/tinygrad) ⭐
- [Andrej Karpathy](https://github.com/karpathy) for commoditizing RL knowledge! Star [pg-pong](https://gist.github.com/karpathy/a4166c7fe253700972fcbc77e4ea32c5) ⭐

and last but not least...

<p align="center">
  <img src="https://media1.tenor.com/m/ibYVxrR2hOgAAAAC/well-done.gif">
</p>
ci-package-tools 1.0.0
A utiliy to package CI artifacts
Requires Python: >=3.10

# CI Package Tools
[![PyPI version](https://badge.fury.io/py/hermes-storage-nodes.svg)](https://pypi.org/project/ci-package-tools)

A tool to manage the packaging process in CI/CD pipelines.

## Installation

### From PyPI

Install the package directly from PyPI using pip:

```bash
pip install ci-package-tools
```

### From Source

Clone the repository and install dependencies:

```bash
git clone https://github.com/node-hermes/ci-package-tools
pip install -e hermes-storage-nodes
```

## Development

This project depends on UV for managing dependencies.
Make sure you have UV installed and set up in your environment.

You can find more information about UV [here](https://docs.astral.sh/uv/getting-started/installation/).

```bash
uv venv
```

```bash
uv sync --all-extras --dev
```
spotify-to-youtube 0.0.0
clones spotify playlist to youtube playlist
Requires Python: >=3.8

# spotify_to_youtube

converts spotify playlist to youtube playlist

## TODO:

- [x] implement check for if the
- [ ] add error checking / failsafe for video adding to playlist
- [ ] add unit tests (if needed)
- [x] add .ini / user set up
- [x] add terminal commands