Skip to main content

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

MIT

Release files for polly-repositories 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for polly-repositories 0.0.3
File Size Uploaded
polly_repositories-0.0.3.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for polly-repositories 0.0.3
File Interpreter ABI Platform
polly_repositories-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 6.6 kB

Release files / polly_repositories-0.0.3.tar.gz

Download URL polly_repositories-0.0.3.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ebc5ac6f79879e581af13c25971572722297cf7269f0bb9d30246be9fd46044f
BLAKE2b-256 checksum
How to use checksums
8e74e8721342692e84f6b5c8d2196fbfc9871013e878d8a353d349337d824245
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / polly_repositories-0.0.3-py3-none-any.whl

Download URL polly_repositories-0.0.3-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17f4bc00b68b9fe79fa182aa9c85f9b23d378be25de53b4500123a12cca1a38e
BLAKE2b-256 checksum
How to use checksums
6f2e92942396ab49228dea1c6b9bd95f7a2859103f97f2bd4482872bf999a403
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page