semvec/pypi-packages huggingface dataset:
redecanais 1.0.6
Busque,selecione e assista filmes do site https://www.redecanais.com a partir do prompt de comando.
License: MIT
Keywords: SOME,MEANINGFULL,KEYWORDS

O **redecanais** ajuda você a assistir vários filmes via linha de comando com *facilidade*:

# Instalação:
```shell script
pip install redecanais ou pip install git+https://github.com/cleitonleonel/redecanais.git
```

# Uso dentro do módulo:
```shell script
python redecanais.py --url <name>...
python redecanais.py --all <name>... 
python redecanais.py --category <name>...
python redecanais.py --genre <name>...
python redecanais.py --page <name>...
python redecanais.py --host <name>...                             
python redecanais.py --stream <name>...
python redecanais.py --search <name>...
python redecanais.py --select <name>...
python redecanais.py --external-player <name>...
python redecanais.py --renderer-ip <name>...
python redecanais.py (-h | --help)
python redecanais.py --version
```      

# Opções:
    
```shell script
python -m redecanais <options>

'-u', '--url', help='Use o link de uma determinada página para extrair informações...'
'-a', '--all', help='Use True ou False para extrair ou não todo conteúdo de uma determinada página...'
'-c', '--category', help='Use para definir uma categoria.'
'-g', '--genre', help='Use para definir um gênero.'
'-p', '--page', help='Use para especificar uma página.'
'--host', help='Defina o host.'
'--stream', help='Use com um link embed para abrir o vídeo.'
'--tv-channels', help='Use para definir o uso de canais de tv.'
'--search', help='Use para buscar filmes por título.'
'--select', help='Use True ou False para abrir o menu de seleçao dos filmes...'
'--external-player', help='Use para definir o uso de um player externo.'
'--renderer-ip', help='Use para definir o IP do dispositivo chromecast.'
```

# Recomendado:

```shell script
python -m redecanais --page 2 --all --select

python -m redecanais --search batman --select

python -m redecanais -g terror -c dublado --page 1 --select

python -m redecanais -g terror -c dublado --page 1 --select --external-player

python -m redecanais -g terror -c dublado --page 1 --select --external-player --renderer-ip 10.0.0.2

python -m redecanais -tv --search globo --select --external-player vlc --renderer-ip 10.0.0.2
```


# Importando o módulo:
```python
from redecanais.redecanais import ChannelsNetwork


if __name__ == '__main__':
    cn = ChannelsNetwork()
    films = cn.search('batman')
    print(films)
    cn.select_film(films, play=True)

```
quantstyles 0.107
Matplotlib styles for scientific usage
License: MIT

# Quantstyles

A set of slightly customized colormaps and styles, developed for internal use by Quantum Technology research group in the University of Rostock.

<img src="https://raw.githubusercontent.com/Trel725/quantstyles/master/quantstyles/quant_cmaps.png" width="60%" style="@media (max-width: 1080px) {width=100%}">

It includes the set of colormaps + custom matplotlib style.

<img src="https://raw.githubusercontent.com/Trel725/quantstyles/master/img/demo.png" width="90%" style="@media (max-width: 1080px) {width=100%}">

## Usage

Import the package in your script  
`import quantstyles`  
Package automatically exports all the colormaps, i.e. they could be normally used by their names, e.g.   
`plt.show(data, cmap="quantjet")`  
Custom matplotlib style will be registered during first import of the package. It can be then activated as   
`plt.style.use("quant")`

## Installation
The package is published on pypi, so it is enough to run:
```
pip install quantstyles
```

## Manual installation
``` bash
# clone the repo
git clone https://github.com/Trel725/quantstyles.git --recursive

# build the wheel
make

# manually install the built package
pip install dist/quantstyles-*-py3-none-any.whl

```

## Acknoledgements
This project depends on
- [Beautiful package for generating perceptually uniform colormaps](https://github.com/peterkovesi/PerceptualColourMaps.jl) by Peter Kovesi. The heart of this small project is just a small modification of original Julia code.  
- get-cpt script that allows efficient export of generated colormaps to Python.  

## Development
If you'd like to manually go through all the steps:  
1. Clone the repo by `git clone https://github.com/Trel725/quantstyles.git --recursive` Recursive is needed to sync get-cpt repo.
2. Generate colormaps by executing Julia code in colormaps folder  
```
cd colormaps
julia colormaps.jl
```
PerceptualColourMaps.jl and PyPlot.jl need to be installed. See that code for more details, or just use pre-generated colormaps in the colormaps directory.  
3. Generate Python representation of the colormaps by running `python generate_quantcmaps.py`. This will produce actual file containing colormaps, quantcmaps.py  The command requires numpy, os, glob and (probably) urllib (from get-cpt).
4. Import quantcmaps in your script. All the listed colormaps will be available as usual, e.g. `plt.imshow(data, cmap="quantjet")`  
5. Custom style need to be copied to the matplotlib config dir. See [official manuals](https://matplotlib.org/stable/tutorials/introductory/customizing.html) for details.  
6. Additionally you can try to build pip wheel by executing `make` in the project top directory.


## 0.01
Initial release, includes
- Colormaps generation
- Packaging

## 0.100
- Piblished on PyPI

## 0.101-0.103
- Bug fixes

## 0.104
- Added custom MPL style and its installer

## 0.105
- Switched to sans-serif fonts according to Nature recommendations
- Corrected font size for the same reason

## 0.106-0.107
- Bug fixes