Interact with Polly Repositories
Project description
Polly Repositories
polly_repositories is a Python library for dealing with polly repositories.
Installation
Use the package manager pip to install foobar.
pip install polly-repositories
Usage
from polly_repositories import Repositories
REFRESH_TOKEN = 'YOUR-REFRESH-TOKEN'
repo_client = Repositories(REFRESH_TOKEN)
# Return Data about all current repositories
all_repos = repo_client.get_all_repos()
# Get all packages for a specific repository
repo_packages = repo_client.get_all_packages(repo_id=16)
# Make an ElasticSearch query for given index
query = { 'foo' : 'bar' } # ElasticSearch
response = repo_client.elastic_query(index=INDEX,
query=query)
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file polly_repositories-0.0.3.tar.gz.
File metadata
- Download URL: polly_repositories-0.0.3.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebc5ac6f79879e581af13c25971572722297cf7269f0bb9d30246be9fd46044f
|
|
| MD5 |
08b7775caa0ce8fcdfcc2d525031b077
|
|
| BLAKE2b-256 |
8e74e8721342692e84f6b5c8d2196fbfc9871013e878d8a353d349337d824245
|
File details
Details for the file polly_repositories-0.0.3-py3-none-any.whl.
File metadata
- Download URL: polly_repositories-0.0.3-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17f4bc00b68b9fe79fa182aa9c85f9b23d378be25de53b4500123a12cca1a38e
|
|
| MD5 |
66b39a43f00798226b47a9c7089dbd2d
|
|
| BLAKE2b-256 |
6f2e92942396ab49228dea1c6b9bd95f7a2859103f97f2bd4482872bf999a403
|