Skip to main content

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

  • requests

  • beautifulsoup4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agoras_common-2.1.1.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agoras_common-2.1.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file agoras_common-2.1.1.tar.gz.

File metadata

  • Download URL: agoras_common-2.1.1.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for agoras_common-2.1.1.tar.gz
Algorithm Hash digest
SHA256 84fe976b80f9053a87abde54387e81a6f830ffaad30e0dc2851207aa93fea3e1
MD5 6b131dd79d01fbe1cd23c9ad9f495949
BLAKE2b-256 16e8cdee5ba907fbcc739e8299b3799d5ad555c9d9a54d9e4499edc47fea296e

See more details on using hashes here.

Provenance

The following attestation bundles were made for agoras_common-2.1.1.tar.gz:

Publisher: release.yml on LuisAlejandro/agoras

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agoras_common-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: agoras_common-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for agoras_common-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ea37fc61b5aba0f995b37c5523aeb2871a8dc4c08b57fbad86811c77755a0e2b
MD5 d199bf3d7773e535c22c2ff0ff0c50c4
BLAKE2b-256 12d7767c0005626433e8563d771b7e3fdf3f4e4c02b4b95cbb6bd87183696904

See more details on using hashes here.

Provenance

The following attestation bundles were made for agoras_common-2.1.1-py3-none-any.whl:

Publisher: release.yml on LuisAlejandro/agoras

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page