Skip to main content

xlib-pillars: Comprehensive Python library with 10 pillars for AI, config, media, files, and more

Project description

xlibrary v2.0

Focused Python library with 3 powerful pillars for AI and configuration management

🎯 Quick Start

# Install all 3 pillars
pip install xlib-pillars[all]

# Or install individually
pip install xlib-pillars[ai]      # AI pillar only
pip install xlib-pillars[config]  # Config pillar only
pip install xlib-pillars[hermes]  # Hermes pillar only

📦 The 3 Core Pillars

1. 🤖 AI Pillar

Multi-provider AI abstraction (Claude, OpenAI, DeepSeek, Mock)

from xlibrary.ai import AIManager

ai = AIManager(provider="claude", api_key="...")
response = ai.request("Explain Python")
print(response.content)

2. ⚙️ Config Pillar

TOML + database configuration management

from xlibrary.config import ConfigManager

config = ConfigManager("config.toml")
db_url = config.get("database.url")

3. 🌐 Hermes Pillar

Centralized gateway (Config + AI unified)

from xlibrary.hermes import HermesClient

hermes = HermesClient(mode="standalone", config_file="config.toml")
response = hermes.query_ai("Hello!")

📚 Documentation

  • AI: Multi-provider abstraction with conversation management
  • Config: TOML files + database backends with encryption
  • Hermes: Centralized gateway with FastAPI server

🧪 Testing

pytest                    # Run all tests
pytest --cov=src/xlibrary # With coverage

📝 License

MIT - see LICENSE file

🔗 Links

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

xlib_pillars-2.0.0.tar.gz (238.0 kB view details)

Uploaded Source

Built Distribution

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

xlib_pillars-2.0.0-py3-none-any.whl (294.4 kB view details)

Uploaded Python 3

File details

Details for the file xlib_pillars-2.0.0.tar.gz.

File metadata

  • Download URL: xlib_pillars-2.0.0.tar.gz
  • Upload date:
  • Size: 238.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for xlib_pillars-2.0.0.tar.gz
Algorithm Hash digest
SHA256 175b8dea475502bbead729df84df594a367d84689f5cf7a71f1d3e8d7397808e
MD5 0a474d68d2fa99e67d97314521948c02
BLAKE2b-256 abd64493eb0ae4b486384cf1822543757fd168b144d08201e451969705a223e5

See more details on using hashes here.

File details

Details for the file xlib_pillars-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: xlib_pillars-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 294.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for xlib_pillars-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a4b31d3a745ad084e0060fa8f43bdb1d5197bbec6e9492a22cd93dcb1d47c73
MD5 43f313002c4952169e7e9d1532e7b160
BLAKE2b-256 b650cd2827a051d3dcf8e62b39f8b6b59ab78ccb04f9f1061c6cc1f2b5877cd8

See more details on using hashes here.

Supported by

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