semvec/pypi-packages huggingface dataset:
inovyoapi 0.1.5
Biblioteca para integração com as APIs da Inovyo

# Inovyo API

Biblioteca para integração com as APIs da Inovyo.

## Instalação

Para instalar a biblioteca, você pode usar o pip:

```bash
pip install inovyo-api
```

## Configuração das Credenciais

Para utilizar a API, você precisa definir suas credenciais de autenticação. Você pode fazer isso de duas maneiras: passando as credenciais diretamente ao inicializar o cliente ou definindo variáveis de ambiente.

### 1. Definindo Variáveis de Ambiente

#### No macOS e Linux

Se você estiver usando o shell Bash ou Zsh, adicione as seguintes linhas ao seu arquivo de configuração do shell (`~/.bashrc`, `~/.bash_profile` ou `~/.zshrc`):

```bash
export INOVYO_KEY="seu_token_aqui"
export INOVYO_SECRET="seu_segredo_aqui"
```

Depois, recarregue o arquivo de configuração:

```bash
source ~/.bashrc
```
ou
```bash
source ~/.zshrc
```

#### No Windows

Você pode definir as variáveis de ambiente através do Painel de Controle ou usando o PowerShell.

**Usando o Painel de Controle**:
1. Abra o Painel de Controle.
2. Vá para Sistema e Segurança > Sistema > Configurações avançadas do sistema.
3. Clique em "Variáveis de Ambiente".
4. Na seção "Variáveis do sistema", clique em "Nova" e adicione:
   - Nome da variável: `INOVYO_KEY`
   - Valor da variável: `seu_token_aqui`
   
   E depois adicione outra:
   - Nome da variável: `INOVYO_SECRET`
   - Valor da variável: `seu_segredo_aqui`

**Usando o PowerShell**:
1. Abra o PowerShell.
2. Defina as variáveis de ambiente:

```powershell
[System.Environment]::SetEnvironmentVariable("INOVYO_KEY", "seu_token_aqui", "User")
[System.Environment]::SetEnvironmentVariable("INOVYO_SECRET", "seu_segredo_aqui", "User")
```

### 2. Passando Credenciais Diretamente

Alternativamente, você pode passar as credenciais diretamente ao inicializar o cliente da API:

```python
from inovyo_api.auth import InovyoAPIClient

client = InovyoAPIClient(api_token="seu_token_aqui", api_secret="seu_segredo_aqui")
```

## Uso

Aqui você pode adicionar exemplos de como usar a biblioteca. Por exemplo, para listar pesquisas disponíveis:

```python
from inovyo_api.auth import InovyoAPIClient

# Inicializa o cliente da API com as credenciais
client = InovyoAPIClient(api_token="seu_token_aqui", api_secret="seu_segredo_aqui")

# Teste uma chamada de API, como listar pesquisas
try:
    surveys = client.list_surveys()
    print("Pesquisas disponíveis:", surveys)
except Exception as e:
    print("Erro ao acessar a API:", e)
```
lemon-auto-saver 1.0.1
A tool for automatic saving of documents in various applications.
Requires Python: >=3.6

# auto-save-app

## 项目简介

对于Office系的软件，无需设置监控窗口，只要在文件窗口进行编辑，就能触发自动保存；
其他软件要设置监控的窗口，在打开该窗口的情况下，可以触发自动保存。

## 安装
`pip install lemon_auto_saver`

## 许可证
本项目采用 MIT 许可证。
selenium-uniq-driver 1.0.5
Create uniq selenium webdriver.
Requires Python: >=3.6

# Selenium Uniq Driver
It is impossible to imagine modern web resources without validation of incoming traffic. A lot of different validation methods are using for user detection such as IP, canvas fingerprint, user-agent, etc.
For us, who want to automate our web journey it is a challenge to avoid site fingerrinting. The **selenium-uniq-driver** package is created to prevent blocking when using [selenium](https://github.com/SeleniumHQ/Selenium) library.

## Features
- Create stealthy webdriver
- Uniq browser user-agent, language and platform
- Choose device type and change resolution
- Generate random WebGL data
- Change your timezone
- Spoof audio and canvas fingerprints

Additionaly to randomly generated device data the [selenium-stealth](https://github.com/diprajpatra/selenium-stealth) library is in use which allows you prevent almost all selenium detections.

## Install
Selenium-uniq-driver is available on PyPI you can install with pip.
```sh
pip install selenium-uniq-driver
```

## Usage
```python
from selenium_uniq_driver import UniqDriver, HardwareType, SoftwareName, OperatingSystem

driver_creator = UniqDriver(hardware_type=HardwareType.MOBILE, software_name=SoftwareName.CHROME, operating_system=OperatingSystem.ANDROID)
# driver_creator.set_proxy("host", "port", "login", "password", "http")

entropy_methods = [
    "user_agent_and_language",
    "device_viewport",
    "device_webgl",
    "device_timezone",
    "canvas_fingerprint",
    "audio_fingerprint"
]

driver = driver_creator.create(entropy_methods)
driver.get("https://bot.sannysoft.com/")
input("\nPress Enter to exit...")
driver.quit()
```

## Explanation
Use **UniqDriver** class to create your webdriver. You should pass device information into construstor using enum classes **HardwareType**, **SoftwareName** and **OperatingSystem**. For now only Chrome supports.
```python
driver_creator = UniqDriver(hardware_type=HardwareType.MOBILE, software_name=SoftwareName.CHROME, operating_system=OperatingSystem.ANDROID)
```

You can add proxy data if you want by using **set_proxy** method
```python
driver_creator.set_proxy("host", "port", "login", "password", "http")
```

Choose which device data you want to randomize by passing entropy params into **create** method. If **entropy_methods** doesn't provided will be used all existed.
```python
entropy_methods = [
    "user_agent_and_language",
    "device_viewport",
    "device_webgl",
    "device_timezone",
    "canvas_fingerprint",
    "audio_fingerprint"
]

driver = driver_creator.create(entropy_methods)
```

## Future Developments
- Increase uniqueness for existed entropy methods 
- Add new spoofing mechanisms, like Font Fingerprint etc.

## License
Copyright © 2025, [AlexanderTsk](https://github.com/AlexanderTsk/selenium-uniq-driver). Released under the MIT License.
next-trains 0.2.0
An imagining of a combined Arrivals and Departure board.
Requires Python: >=3.11
Keywords: api, arrival, departure, flask, rail, railway, station, trains, uk, web

# Next Trains

An imagining of a combined Arrivals and Departure board.

![A screenshot of the next-trains app][screenshot]

My two-year-old loves trains - obviously - so any time we can swing past the station and see them is worth the detour.
This is a simple web app that calls a Rail Data Marketplace API getting the next few arrivals and departures to help us schedule a visit.
I then spruced it up a bit with a fun font to make it look a bit like a real Departures board.

## Installing

```sh
$ pip install next-trains

$ cat <<EOF >.env
RAIL_DATA_API_KEY={{ paste your API key here }}
DEFAULT_CRS={{ paste your home station's CRS here }}
EOF
```

## Running

```sh
$ trains
```

## Development

```sh
$ pip install -e .[dev]

$ ./lint-and-test
$ ./build-and-upload
```

## Credits

The data is from [Live Arrival and Departure Boards - Staff Version][api] by [Rail Delivery Group][rdg] under [an open licence][open-licence].

The fonts are [London TFL Dot Matrix Typeface][fonts] by [Sean Petykowski][petykowski] under [SIL Open Font License][fonts-license].

## License

Next Trains - An imagining of a combined Arrivals and Departure board.

Copyright (C) 2025 Mike Coats

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see [http://www.gnu.org/licenses/][agpl].

[screenshot]: ./example.png
[api]: https://raildata.org.uk/dashboard/dataProduct/P-8ce95b80-43ba-4ef7-b59a-6eb5d2bab061/overview
[rdg]: https://raildata.org.uk/dashboard/partnerDetails/1010/details
[open-licence]: ./vendor/api-licence.pdf
[fonts]: https://github.com/petykowski/London-Underground-Dot-Matrix-Typeface
[petykowski]: https://github.com/petykowski
[fonts-license]: https://github.com/petykowski/London-Underground-Dot-Matrix-Typeface/tree/master#license
[agpl]: http://www.gnu.org/licenses/