semvec/pypi-packages huggingface dataset:
arubaos-client 0.1.2.3
Aruba OS REST API Client.
License: MIT
Keywords: metric prometheus airhead aruba mobility access controller os arubaos

# arubaos_client

Install it via

```bash

pip install arubaos_client

```

## Usage

```python

from arubaos_client import MobilityControllerAPIClient

aruba = MobilityControllerAPIClient(
        username='',
        password='',
        url='https://aruba-ac.example.com:4343',
        proxy="socks5h://localhost:5050",
        verify=False
    )

# Login to the device
aruba.login()

# Logout
aruba.logout()

# Get a List of APs
aruba.aps()

# Get amount of 2g clients
aruba.clients(band='2g')
aruba.clients_2g()

# Get amount of 5g clients
aruba.clients(band='5g')
aruba.clients_5g()

# Get AP by its MAC address
aruba.ap_by_mac("00:00:00:00:00:00")

# Get AP by its name
aruba.ap('ap_name')

# Get CPU load
aruba.cpu_load()

# Get Memory usage
aruba.memory_usage()

```
drf-jwt-wechat 1.11.9
JSON Web Token based authentication for Django REST framework,this use to WeChat applet (小程序使用jwt）
License: MIT

drf-jwt-wechat
==============
**drf-jwt-wechat 是在jwt，跟rest_framework_jwt基础上进行修改过的，用于微信小程序登录，
前端只需post方法传code即可进行jwt登录验证**

Usage
-----
*在django项目settings中添加修改APP_ID=xxxx，APP_SECRET=xxxxx,以及跟rest_framework_jwt包同样配置如下*
::

    REST_FRAMEWORK = {
    'DEFAULT_PERMISSION_CLASSES': (
        'rest_framework.permissions.IsAuthenticated',
    ),
    'DEFAULT_AUTHENTICATION_CLASSES': (
        'rest_framework_jwt.authentication.JSONWebTokenAuthentication',
        'rest_framework.authentication.SessionAuthentication',
        'rest_framework.authentication.BasicAuthentication',
    ),

在url中引用
::

    from drf_jwt_wechat.views import obtain_jwt_token
    #...

    urlpatterns = [
        '',
        # ...

        url(r'^api-token-auth/', obtain_jwt_token),
    ]

后续
----
因为水平有限，目前只有登录，没有Refresh Token，以及Verify Token，不影响rest_framework_jwt的api使用。
任何问题请联系 https://github.com/liazylee/ 源码详解 https://blog.csdn.net/liazylee/article/details/90717939
animelyrics 0.1.0
Library to extract song lyrics from www.animelyrics.com
License: MIT
Requires Python: >=3.0.0


# animelyrics

[![Build Status](https://travis-ci.com/colorfusion/animelyrics.svg?branch=master)](https://travis-ci.com/colorfusion/animelyrics) [![Coverage Status](https://coveralls.io/repos/github/colorfusion/animelyrics/badge.svg?branch=master)](https://coveralls.io/github/colorfusion/animelyrics?branch=master) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) [![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/) [![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)

>Python API to retrieve song lyrics from [animelyrics](https://www.animelyrics.com).

## Features
- Search for lyrics from [animelyrics](https://www.animelyrics.com) website
- Japanese (romaji) and english translated text support
- Show title on top of lyrics

## Prerequisties
- Python >=3.0.0

## Install
```sh
pip install animelyrics
```

Simple! ��

## Usage
```python
import animelyrics

print(animelyrics.search_lyrics("renai circulation"))
```

### Multi-language search
The language of the lyrics can be specified using the `lang` argument during the function call:
```python
import animelyrics

print(animelyrics.search_lyrics("god knows", lang="en"))
```

Currently the API only supports the following inputs
- `jp` - romaji text
- `en` - translated english text

### Song Titles
To add the song title and the anime where it came from to the lyrics, use the `show_title` argument
```python
import animelyrics

print(animelyrics.search_lyrics("snow halation", show_title=True))
```

### Exceptions
The API contains the following exception that will be raised in different scenarios
- `InvalidLanguage`
- `MissingTranslatedLyrics`
- `NoLyricsFound`

The following example shows how to cover all exceptions while searching for lyrics:
```python
import animelyrics

try:
    lyrics = animelyrics.search_lyrics("song lyrics")
except animelyrics.MissingTranslatedLyrics:
    # case when english language is used but no translation is found
except animelyrics.NoLyricsFound:
    # case when no lyrics are found
```

## Test
```sh
python setup.py test
```

## Author
### �� Melvin Yeo
- GitHub: [@colorfusion](https://github.com/colorfusion)

## �� Contributing

Contributions, issues, and feature requests are welcome!"<br>
Check out the [issues page](https://github.com/colorfusion/animelyrics/issues)

## Support

Please ⭐ this repository if it is helpful to you!

## License

Copyright © 2019 Melvin Yeo.<br>
This project is [MIT](https://github.com/colorfusion/animelyrics/blob/master/LICENSE) licensed.
mezzanine-sync-pages 1.0.1
Django app to synchronize Mezzanine page content to and from files
License: MIT
Requires Python: >=3.5
Keywords: django mezzanine pages synchronize

mezzanine-sync-pages
====================

[![Travis CI](https://travis-ci.org/eht16/mezzanine-sync-pages.svg?branch=master)](https://travis-ci.org/eht16/mezzanine-sync-pages)
[![PyPI](https://img.shields.io/pypi/v/mezzanine-sync-pages.svg)](https://pypi.org/project/mezzanine-sync-pages/)
[![Python Versions](https://img.shields.io/pypi/pyversions/mezzanine-sync-pages.svg)](https://pypi.org/project/mezzanine-sync-pages/)
[![License](https://img.shields.io/pypi/l/mezzanine-sync-pages.svg)](https://pypi.org/project/mezzanine-sync-pages/)

mezzanine-sync-pages let you synchronize the contents of pages
in Mezzanine.
This comes in handy if you want to manage your page contents
as plain text/HTML files rather than in a web editor and if you
want to manage your content in a version control system like Git.

It does synchronize *only* the page contents and not any metadata
(like title, slug, publish date, ...).

To create an initial dump of all existing pages in Mezzanine you can
use the management command `dump_pages`.
To write back the previously dumped (and maybe modified) contents, use
the `sync_pages` management command or the corresponding action in the
admin interface.

### Features:

- Dump contents of all pages in Mezzanine as files
- Write back page contents to Mezzanine
- Detect unmodified content and skip those pages
- Display a diff on modified content after updating


Installation
------------

The easiest method is to install directly from pypi using pip:

    pip install mezzanine-sync-pages


If you prefer, you can download mezzanine-sync-pages from
https://github.com/eht16/mezzanine-sync-pages and install it directly from source:

    python setup.py install


Get the Source
--------------

The source code is available at https://github.com/eht16/mezzanine-sync-pages/.


Configuration
-------------

- Add `mezzanine_sync_pages` to `INSTALLED_APPS`

- Set `MEZZANINE_SYNC_PAGES_DESTINATION_PATH` in your settings.py to the path
  where the content files can be found


Usage
-----

After activating the app, two new management commands are added:

- `dump_pages`: create an initial dump of all pages in Mezzanine and
                write the corresponding files in `MEZZANINE_SYNC_PAGES_DESTINATION_PATH`

- `sync_pages`: read all files from `MEZZANINE_SYNC_PAGES_DESTINATION_PATH` and write their
                content to Mezzanine

Additionally, a new action in the Mezzanine admin interface is added to trigger the
synchronization of the pages to Mezzanine.


ChangeLog
---------

### 1.0.1 / 2019-06-23

- Add trailing new line only if content is not empty
  (fixes crashing on empty pages when dumping)

### 1.0.0 / 2019-06-01

- Initial release


License
-------
mezzanine-sync-pages is licensed under the MIT license.


Author
------

Enrico Tröger <enrico.troeger@uvena.de>
django-firebase-cache 19.6.2
Firebase cache for Django
License: MIT

# Django Firebase Cache
[![PyPI version](https://img.shields.io/pypi/v/django-firebase-cache.svg)](https://pypi.python.org/pypi/django-firebase-cache)
[![Build status](https://img.shields.io/travis/christippett/django-firebase-cache.svg)](https://travis-ci.org/christippett/django-firebase-cache)
[![Coverage](https://img.shields.io/coveralls/github/christippett/django-firebase-cache.svg)](https://coveralls.io/github/christippett/django-firebase-cache?branch=master)
[![Python versions](https://img.shields.io/pypi/pyversions/django-firebase-cache.svg)](https://pypi.python.org/pypi/django-firebase-cache)
[![Github license](https://img.shields.io/github/license/christippett/django-firebase-cache.svg)](https://github.com/christippett/django-firebase-cache)

## Install
```bash
pip install django-firebase-cache
```

## Usage
```python
# settings.py

CACHES = {
    "firebase": {
        "BACKEND": "django_firebase_cache.RealtimeDatabaseCache",
        "LOCATION": "django",  # name of child key in Realtime Database
        "OPTIONS": {"databaseURL": "https://project-id.firebaseio.com/"},
    },
    "firestore": {
        "BACKEND": "django_firebase_cache.FirestoreCache",
        "LOCATION": "django",  # name of collection in Firestore
    },
}
```