Common utilities and logging for Agoras
Project description
Low-level utilities, logging, and shared constants for the Agoras ecosystem.
Installation
pip install agoras-common
Contents
Version Info: __version__, __author__, __email__, __url__, __description__
Utilities: Helper functions for URL manipulation, metadata parsing
Logger: Centralized logging configuration
Usage
from agoras.common import __version__, logger, add_url_timestamp, parse_metatags
# Version info
print(f"Agoras version: {__version__}")
# Logger
logger.start()
logger.loglevel('INFO')
logger.info("Hello from Agoras!")
# URL utilities
timestamped_url = add_url_timestamp('https://example.com', '20260110')
print(timestamped_url) # https://example.com?t=20260110
# Metatag parsing
metatags = parse_metatags('https://example.com')
print(metatags['title'], metatags['image'])
Dependencies
None (pure Python utilities)
Project details
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 agoras_common-2.0.0.tar.gz.
File metadata
- Download URL: agoras_common-2.0.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7016bee1296b1438843337f618a24fd07d5528b0258df3eb9993c3f9838bcd4e
|
|
| MD5 |
a7bd55a6b7d362cee11e9bd1d604edcd
|
|
| BLAKE2b-256 |
aac3fde140dc68ccc7fdf6e105b5374c0584074b7326afe5a5396b051e69a026
|
Provenance
The following attestation bundles were made for agoras_common-2.0.0.tar.gz:
Publisher:
release.yml on LuisAlejandro/agoras
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agoras_common-2.0.0.tar.gz -
Subject digest:
7016bee1296b1438843337f618a24fd07d5528b0258df3eb9993c3f9838bcd4e - Sigstore transparency entry: 1822484413
- Sigstore integration time:
-
Permalink:
LuisAlejandro/agoras@5d9adc23bcca1962d21e666e0f3fc9d2cf9e6eeb -
Branch / Tag:
refs/tags/2.0.0 - Owner: https://github.com/LuisAlejandro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5d9adc23bcca1962d21e666e0f3fc9d2cf9e6eeb -
Trigger Event:
release
-
Statement type:
File details
Details for the file agoras_common-2.0.0-py3-none-any.whl.
File metadata
- Download URL: agoras_common-2.0.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f10433e3a1b06ad2d664c1fbd5586b171db1f1bb5514e9b67cbd2885635b2a0f
|
|
| MD5 |
f9fa99cc5b81810a34a5d2f3cf5d933f
|
|
| BLAKE2b-256 |
cbc7f2ed7998ba5c86092ba0a66e3a3f4c7d10c8f0a449a1b77106d6aec39f49
|
Provenance
The following attestation bundles were made for agoras_common-2.0.0-py3-none-any.whl:
Publisher:
release.yml on LuisAlejandro/agoras
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agoras_common-2.0.0-py3-none-any.whl -
Subject digest:
f10433e3a1b06ad2d664c1fbd5586b171db1f1bb5514e9b67cbd2885635b2a0f - Sigstore transparency entry: 1822484420
- Sigstore integration time:
-
Permalink:
LuisAlejandro/agoras@5d9adc23bcca1962d21e666e0f3fc9d2cf9e6eeb -
Branch / Tag:
refs/tags/2.0.0 - Owner: https://github.com/LuisAlejandro
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5d9adc23bcca1962d21e666e0f3fc9d2cf9e6eeb -
Trigger Event:
release
-
Statement type: