clickpy-client
Client for clickpy.clickhouse.com database.
Quick start
pip install clickpy-client
import asyncio
from clickpy import ClickPyClient
async def main():
clickpy = ClickPyClient()
tables = await clickpy.get_tables()
for table in tables:
print(f'Database: {table.database}; table: {table.name} rows: {table.total_rows}')
keywords = await clickpy.get_keywords_by_releases()
for keyword in keywords:
print(f'Database: {keyword.name}; releases: {keyword.releases}')
asyncio.run(main())
Config
The client uses a public connection. But if you have your own DB instance with a similar structure, you can override the access parameters via environment variables.
CLICKPY_HOST='https://clickpy-clickhouse.clickhouse.com'
CLICKPY_SECURE=True
CLICKPY_USERNAME='play'
CLICKPY_PASSWORD=''
Client Methods
get_tables
Get all tables in github and pypi databases.
get_keywords_by_releases
Get all keywords based on project description. Sorted by number of releases.
Contribute
Issue Tracker: https://gitlab.com/rocshers/python/clickpy-client/-/issues
Source Code: https://gitlab.com/rocshers/python/clickpy-client
Before adding changes:
make install-dev
After changes:
make format test
Metadata
Release files for clickpy-client 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| clickpy_client-0.1.7.tar.gz | 7.1 kB | Without provenance | Details for clickpy_client-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| clickpy_client-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for clickpy_client-0.1.7-py3-none-any.whl |
Total release size: 23.4 kB
Release files / clickpy_client-0.1.7.tar.gz
| Download URL | clickpy_client-0.1.7.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8edd6c3bb4c94b9b389f645ab707305b65360296812cc740e31b1a18182a2955
|
|
BLAKE2b-256 checksum How to use checksums |
e7ab00a85cc3dccc7b34e83beaa2b6dc0e938c97f938f0d562454c47dbbc22f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.26
|
Release files / clickpy_client-0.1.7-py3-none-any.whl
| Download URL | clickpy_client-0.1.7-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eec472a88751913bac6daab3ccf4bc171e6831a59c26562408c1cce3c390d276
|
|
BLAKE2b-256 checksum How to use checksums |
f9bee8f8aba08e371d95d264af47ad09cff633d90cf03e58aa90e7e8090e7ba1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.26
|
Security for clickpy-client 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.