Skip to main content

EGRC Core - Shared functionality and GraphQL support for Enterprise Governance, Risk, and Compliance platform

Project description

EGRC Core

EGRC Core is a comprehensive, production-grade foundation service for the Enterprise Governance, Risk, and Compliance (EGRC) platform. It provides shared functionality, utilities, and infrastructure components that other microservices can use to build robust, scalable, and maintainable applications.

Features

  • Multi-Tenant Database Management: Automatic tenant database creation and management
  • Comprehensive Caching: Redis-based caching with decorators and utilities
  • Security: Encryption, JWT handling, input validation, and security middleware
  • Monitoring: Metrics collection, health checks, and observability
  • File Handling: Cloud storage integration and file processing utilities
  • Inter-Service Communication: HTTP clients with retry and circuit breaker patterns
  • Message Queues: RabbitMQ and Kafka integration for event-driven architecture
  • Testing: Comprehensive testing utilities and fixtures
  • GraphQL Support: Complete GraphQL implementation with filtering, sorting, and pagination
  • Audit System: Comprehensive audit logging and event tracking

Installation

pip install egrc-core

Quick Start

from egrc_core import get_service_factory, Settings

# Initialize with settings
settings = Settings(
    database_url="postgresql://user:pass@localhost:5432/mydb",
    redis_url="redis://localhost:6379/0"
)

# Get service factory
factory = get_service_factory(settings)

# Use services
tenant_manager = factory.get_tenant_manager()
redis_client = factory.get_redis_client()

Documentation

For detailed usage instructions, see the Usage Guide.

License

MIT License - see LICENSE file for details.

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

egrc_core-1.0.0.tar.gz (130.9 kB view details)

Uploaded Source

Built Distribution

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

egrc_core-1.0.0-py3-none-any.whl (169.5 kB view details)

Uploaded Python 3

File details

Details for the file egrc_core-1.0.0.tar.gz.

File metadata

  • Download URL: egrc_core-1.0.0.tar.gz
  • Upload date:
  • Size: 130.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for egrc_core-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b52a6de2bfbe663a5ae8ef44b1ae0d4cd800f1942ce54610a3392e199a182a09
MD5 50e11f978961834b2946c3f2702aeb35
BLAKE2b-256 f86350aa5ae837e5ddaa76c0f2c225a9428e6e353dd185bb22ae65bea0e7ec54

See more details on using hashes here.

File details

Details for the file egrc_core-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: egrc_core-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 169.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for egrc_core-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dbf708be7313113bb233b3ca0c58ebec885d77802c9e3697ded491352f143b37
MD5 ba7b930f25249d6df7ba181548596d83
BLAKE2b-256 7714f3b1ea7ed97c5f5a757bdefca04735880e11792014fdc6d4399ee2902238

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