semvec/pypi-packages huggingface dataset:
Y2T 1.5
Youtube to Torrent

[![release](https://img.shields.io/badge/release-1.5-succes.svg)](https://pypi.org/project/Y2T/)

# Y2T - Youtube to Torrents

## Description

Youtube to Torrent est un outil python fonctionnant sous Linux permettant de créer un ou plusieurs fichiers torrents à partir d'une playlist youtube.
L'objectif est de simplifier la création des fichiers nécessaires au partage de contenu musical et video.

Y2T permet de :
- Analyser, filtrer et télécharger les vidéos d'une playlist
- Ajouter les tags mp3 si le format le permet
- Créer la présentation du torrent
- Créer le fichier .nfo
- Créer le fichier .torrent

Formats audio :
- aac
- flac
- mp3
- m4a
- opus
- vorbis
- wav

Formats video :
- avi
- flv
- mkv
- mp4
- ogg
- webm

## Prérequis

```
sudo apt-get install python-pip ffmpeg
```

**Optionnel**

Les paquets suivant peuvent ne pas être installé. Dans ce cas là, les fichiers correspondant ne seront pas générés.

- `mediainfo` permet de créer les fichiers .nfo
- `transmission-cli` permet de créer les fichiers .torrent

Il est recommandé de les installer avec la commande suivante :
```
sudo apt install mediainfo transmission-cli
```

## Installation

Vous pouvez installer Y2T directement depuis le dépôt [PyPi](https://pypi.org/project/Y2T/) :
```
sudo pip install Y2T
```

**Mise à jour**
```
sudo pip install Y2T -U
```

## Désinstallation

Pour désinstaller Y2T :
```
sudo pip uninstall Y2T
```

## Utilisation

Le code ci-dessous permet de générer tous les fichiers nécessaires pour uploader la discographie de [Ediv Music](https://www.youtube.com/c/edivmusic).
Chaque album représente une année.
```
import Y2T
Discographie = Y2T.Upload("https://www.youtube.com/channel/UCBVwKRYmERFiIbheXEATDqw/videos",
		"Ediv Music",
		"https://www.pixenli.com/image/dE2gZ6EV",
		"Ediv Music try to bring you the best music out there, so they don't have to search SoundCloud, YouTube and Spotify channels 24/7. We seperate the men from the boys and the rubbish from the diamonds. ",
		"___TRACKER___")

Discographie.presentation.addVideo("https://www.youtube.com/watch?v=bNppHOYIgRE", "Every day should feel like valentinesday right? That's why this channel brings you all the new Tropical, Summer and Deep House every day.")

Discographie.upload("Collection 2015", "Collection 2015.jpg",2015)
Discographie.upload("Collection 2016", "Collection 2016.jpg",2016)
Discographie.upload("Collection 2017", "Collection 2017.jpg",2017)
Discographie.upload("Collection 2018", "Collection 2018.jpg",2018)
```

Vous pouvez aussi consulter les [exemples](https://github.com/LucBerge/Y2T/tree/master/examples) fournis.

## Contribution

Pour contribuer au projet, vous devez réaliser un fork du projet vers votre espace personnel. Vous pourrez alors faire un pull request en temps voulu. Merci de contacter [@LucBerge](https://github.com/LucBerge) pour plus d'informations sur les tâches à réaliser.
visionPDF 1.0.1
Modulo que ler,traduz e escreve arquivos PDF.
Requires Python: >=3.6

![OpenSource](https://img.shields.io/static/v1?label=GitHub&message=Opensource&color=blue&logo=github&logoColor=violet)
![BuildPassing](https://img.shields.io/static/v1?label=build&message=passing&color=brightgreen)
![PythonVersion](https://img.shields.io/static/v1?label=python&message=>=3.6&color=brightgreen&logo=python&logoColor=white)
[![Pypi](https://img.shields.io/static/v1?label=Pypi&logo=pypi&logoColor=white&message=v1.0.1&color=9f55ff)](https://pypi.org/project/visionPDF/)

# visionPDF
Módulo Python para Leitura, Tradução e Escrita em Arquivos PDF.

Com uso dos módulos PyPDF2, reportlab e karkipytranslator , sintetizados em um único módulo, mas com todo o poder dos mesmos.

## Instalação:
`$ pip install visionPDF`

## Uso:
```
>> import visionPDF

------- LER -------

>> reader = visionPDF.PDFReader(file_in)    # Arquivo PDF a ser lido.
>> reader.get_text(page)                    # Retorna o texto da Pagina.

------- TRADUZIR ------

>> transl = visionPDF.PDFTranslate(to_lang)  # to_lang -> Linguagem para 
                                                    qual deseja traduzir.
                                                         Ex: pt,kr,en,...
>> transl.translate(text)                    # text -> Texto a ser traduzido.

-------- ESCREVER ---------

>> writer = visionPDF.PDFWriter(file_out,orientation)   # file_out -> Arquivo de Saida.
                                                        # orientation -> Orientação do documento. Ex: portrait/landscape.
>> writer.addText(text,x,y,font,size,color)            # Escreve um texto no documento.
>> writer.save_page()                                   # Salva o conteudo gravado na pagina e fecha ela.
>> writer.close()                                       # Fecha o Documento PDF.
```


## Contato:
@informeai

[![Facebook](https://img.shields.io/static/v1?label=facebook&style=social&logo=Facebook&message=page)](https://www.facebook.com/informeai/)
[![Instagram](https://img.shields.io/static/v1?label=instagram&style=social&logo=Instagram&message=perfil)](https://www.instagram.com/informeaioficial/)
[![Twitter](https://img.shields.io/static/v1?label=twitter&style=social&logo=Twitter&message=desenvolvedor)](https://twitter.com/WellingtonGade4)
requests-aws-iam-auth 0.2.0
An AWS IAM authentication package for Requests. Supported services: API Gateway v1
Requires Python: >=3.7.0
Keywords: AWS IAM authentication auth AWS amazon API Gateway v1 Requests Signature v4

# Requests AWS IAM Auth
An AWS IAM authentication package for Requests. Supported services: API Gateway v1. This is intended for use in production environments at the 1.0 release.

## Example

### API Gateway v1
```python
import requests
import requests_aws_iam_auth

# Provide AWS creds and config per Boto3 specs: https://tknk.io/ri3v
auth = requests_aws_iam_auth.ApiGateway()

requests.get("https://p7xw90rcx4.execute-api.us-east-1.amazonaws.com/s/", auth=auth)
```

## Developer Information

### Dependencies
Botocore

### Headers
authorization, and x-amz-content-sha256 are directly modified in the signing protocal and will be set.

Expect for authorization, connection, expect, user-agent, x-amz-content-sha256, x-amz-security-token and x-amzn-trace-id all user set headers are signed.

If the user does not specify host it is derived and signed. 

If the method is not GET, HEAD, or OPTIONS, has a payload, and the user does not provide a content-length header it is derived and signed.

If there's a Date header, we set the date header. Otherwise, we set the X-Amz-Date header.

The underlying http.client will derive an unsigned accept-encoding header if not user specified.

If using STS x-amz-security-token will be set by this library.

### Payload
The payload is always signed using SHA 256.

### Protocols
HTTP and HTTPS 1.1 are supported.

### Python
Latest three minor versions of python will be supported.

## Contributor Notes
This library uses botocore for signing. 

Requests uses urllib3 which uses http.client.

Botocore relies on http.client deriving the host when absent. Botocore replacates this deravation and signs with it but does not append the header to the sent request. This has the potential for a mismatch error. There is a TODO in botocore to set the host header in the request.

### Maintainers
#### Core
Mateus Amin and Benton Drew
#### API Gateway v1
Mateus Amin and Benton Drew
#### Some Other Service
????

### References
- https://docs.python.org/3/library/http.client.html#module-http.client
- https://hg.python.org/cpython/file/3.2/Lib/http/client.py
- https://github.com/urllib3/urllib3/blob/063d888bc247eb6bd7aedcd32412bbb53c3c6ffb/src/urllib3/connection.py#L195
- https://github.com/psf/requests/blob/7b565d886c852609a849e79e4ad8f3f8fa8d8c23/requests/adapters.py#L166

### TODO
- Add testing of three most recent python versions. Use docker not tox. No reason to bloat the stack.
- Add fuzzing?
- Add CI build. Keep it portable and deterministic.
- Support AWS API Gateway v2 if it adds IAM Auth as a feature. Same for HTTP2.
- Add Requests v3 support.
- connection header. The connection header is set to blank between post auth and the server signing (inclusive). Could be a AWS, Requests, urllib3, botocore, or http.client. Have ruled out botocore. Can rule out the urllib3 and http.client by reading the sent request on the wire. As a temporary workaround we do not sign it.
itty3 1.1.1
The itty-bitty Python web framework... **Now Rewritten For Python 3!**

# itty3

The itty-bitty Python web framework... **Now Rewritten For Python 3!**

If you're on Python 2, you're looking for
[itty for Python 2](https://github.com/toastdriven/itty) instead...

## Quick Start

```python
import itty3

# Make an app (mostly just for routing & niceties).
app = itty3.App()

# Register your views with the app.
@app.get("/")
def index(request):
    return app.render(request, "Hello, world!")

if __name__ == "__main__":
    # Run a simple WSGI server!
    app.run()
```

## Why?

`itty3` is a micro-framework for serving web traffic. At its `1.0.0`
release, `itty3` weighed in at less than ~1k lines of code.

Granted, it builds on the shoulders of giants, using big chunks of the Python
standard library. But it has **no** other external dependencies!

Reasons for `itty3`:

* Extremely lightweight
* Fast to start working with
* Easy to produce initial/toy services
* Minimal boilerplate
* Useful for places where you can't/don't have a full Python setup
* Useful for including directly, like when you lack permissions
* Works with a variety of WSGI servers, including Gunicorn

If you need to produce a big application, you're probably better off with
[Django](https://djangoproject.com/),
[Flask](https://www.palletsprojects.com/p/flask/), or any of the other
larger/more mature web frameworks. No pressure!

## Setup

`pip install itty3` is what most people will want.

That said, `itty3` is completely self-contained to a single file & relies
only on the Python standard library. You can directly copy `itty3.py` into
your project & import it directly!

## Dependencies

* Python 3.7+

## License

New BSD

## Running Tests

```
$ pip install pytest pytest-cov
$ pytest tests

# For code coverage
$ pytest --cov=itty3 tests
```

## Building Docs

```
$ pip install -r docs/requirements.txt
$ cd docs
$ make html
```