semvec/pypi-packages huggingface dataset:
teedoc-plugin-google-translate 1.1.6
Google translate plugin for teedoc
License: MIT
Keywords: teedoc Google translate plugin

teedoc-plugin-google-translate
===========

Google translate support for [teedoc](https://github.com/Neutree/teedoc)


## Develop


There is a config named `domain` for this plugin, by default it is `/`, means use translate resources in local.
But somtime it will be out of date, you can change it to `https://translate.google.cn/` or `https://translate.google.com/` to use google translate online.

And mannually update the files, but it is pretty hard, so we default to `https://translate.google.cn/` since update at 2023.8.16.
syncedlyrics-aio 0.5.5
Get an LRC format (synchronized) lyrics for your music with aiohttp
License: MIT
Requires Python: >=3.7,<4.0

# syncedlyrics_aio
 Get an LRC format (synchronized) lyrics for your music **with aiohttp**.
 
## Installation
```
pip install syncedlyrics_aio
```
## Usage
### CLI
```
syncedlyrics_aio "SEARCH_TERM"
```
#### Available Options
| Flag            | Description                                                               |
| --------------- | ------------------------------------------------------------------------- |
| `-o`            | Path to save `.lrc` lyrics, default="{search_term}.lrc"                   |
| `-v`            | Use this flag to show the logs                                            |
| `--allow-plain` | Return a plain text (not synced) lyrics if no LRC format was found        |
| `-p`            | Lrc providers, split by whitespaces                                       |
| `-d`            | The duration of track in ms, if provider supports. Keep default if unknow |
| `-m`            | Max deviation for a subtitle length in ms, enable if duration is set      |

### Python
```py
import syncedlyrics_aio

loop = asyncio.get_event_loop()
lrc = loop.run_until_complete(syncedlyrics_aio.search("[TRACK_NAME] [ARTIST_NAME]"))
if lrc:
    print(lrc)
```
Or with options:
```py
syncedlyrics_aio.search("...", allow_plain_format=True, save_path="{search_term}_1234.lrc", providers=["NetEase"], duration=213000)
```

## Providers
- [Lrclib](https://github.com/tranxuanthang/lrcget/issues/2#issuecomment-1326925928)
- [Musixmatch](https://www.musixmatch.com/)
- [NetEase](https://music.163.com/)
- [Megalobiz](https://www.megalobiz.com/)
- [Tencent](https://y.qq.com/)
- ~~[Lyricsify](https://www.lyricsify.com/)~~ (Broken, should bypass Cloudflare protection)
- ~~[Deezer](https://deezer.com/)~~ (Broken)

Feel free to suggest more providers or make PRs to fix the broken ones.

## License
[MIT](https://github.com/rtcq/syncedlyrics/blob/master/LICENSE)
atlantisbot-api 1.0.12
Django App to interface with the AtlantisBot API
License: MIT
Requires Python: >=3.7,<4.0

## AtlantisBot API (Django App)

This is a Django App made to create an API that interfaces with [AtlantisBot](https://github.com/johnvictorfs)'s Database.

---

### Setup

- Install the app
    ```python
    # Or 'pip install atlantisbot-api'
    poetry add atlantisbot-api
    ```

- Add `"atlantisbot_api"` to your `INSTALLED_APPS` (in `settings.py`):
    ```python
    INSTALLED_APPS = [
        ...
        'atlantisbot_api'
    ]
    ```

- (Optional, Discord Oauth) Setup Discord Oauth settings and API keys in your `settings.py` (sensitive configuration)
    ```python
    DISCORD_OAUTH2_CLIENT_ID = 'CLIENT_ID'
    DISCORD_OAUTH2_CLIENT_SECRET = 'CLIENT_SECRET'
    DISCORD_OAUTH2_REDIRECT_URI = 'https://your-website-callback-url.com'

    DISCORD_API_BASE_URL = 'https://discord.com/api/v6'
    DISCORD_AUTHORIZATION_BASE_URL = DISCORD_API_BASE_URL + '/oauth2/authorize'
    DISCORD_TOKEN_URL = DISCORD_API_BASE_URL + '/oauth2/token'
    if 'http://' in DISCORD_OAUTH2_REDIRECT_URI:
        os.environ['OAUTHLIB_INSECURE_TRANSPORT'] = 'true'
    ```

- Include API paths in your project `urls.py`:
    ```python
    path('atlantisbot/', include('atlantisbot_api.urls'))
    ```

- Run `python manage.py migrate` to create the `atlantisbot` models.

- Your API paths should now be running at the following routes:
    ```bash
    # Database API Routes
    /atlantisbot/api/

    # Discord API Oauth routes
    /atlantisbot/api/oauth/user/
    /atlantisbot/api/oauth/authorize/
    ```

---

## Docs

### Management Commands

- `python manage.py clear_secretsanta`
    - Clears receiving and giving_to fields on every Secret Santa entry

- `python manage.py roll_secretsanta`
    - Make pairs for Secret Santa