Skip to main content

The FAIRagro advanced middleware shared components

Project description

FAIRagro Advanced Middleware - Shared Components

This package contains shared utilities and components used across the FAIRagro Advanced Middleware system.

Overview

The shared package provides:

  • Configuration Management: Base classes and utilities for configuration handling
  • Common Models: Pydantic models used across multiple middleware components
  • Utilities: Helper functions and classes for common operations

Components

Configuration (middleware.shared.config)

Configuration utilities including:

  • ConfigWrapper: Base class for configuration management
  • Environment variable handling
  • Configuration validation with Pydantic

Models

Shared Pydantic models for data validation and serialization across the middleware.

Usage

This package is used as a dependency by other middleware components:

  • api: The main REST API
  • api_client: Client library for API interaction
  • inspire_to_arc: INSPIRE metadata to ARC conversion

Dependencies

  • pydantic>=2.12.4: Data validation and settings management

Development

Install in development mode:

uv sync --package shared

Run tests:

uv run pytest middleware/shared/tests

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

fairagro_middleware_shared-8.7.1.dev8.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

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

fairagro_middleware_shared-8.7.1.dev8-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file fairagro_middleware_shared-8.7.1.dev8.tar.gz.

File metadata

  • Download URL: fairagro_middleware_shared-8.7.1.dev8.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fairagro_middleware_shared-8.7.1.dev8.tar.gz
Algorithm Hash digest
SHA256 7df376ec89913835a0c0284607dc3fbd67acc64d5993d71215b3f889fe087f5a
MD5 3d39be89e1299087c3bd1dfe7ef3bd6d
BLAKE2b-256 fd7373594a202b9cdb7f02b60a1eb65d6e8fce22cffd0af176a1a3a4fe0cbe2b

See more details on using hashes here.

File details

Details for the file fairagro_middleware_shared-8.7.1.dev8-py3-none-any.whl.

File metadata

  • Download URL: fairagro_middleware_shared-8.7.1.dev8-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fairagro_middleware_shared-8.7.1.dev8-py3-none-any.whl
Algorithm Hash digest
SHA256 75ce4ac3bd7593c9385be23724756690920f226776a65a6557a0969bb7d38be9
MD5 0bc3adcbf869a9ef81bb6237242d9319
BLAKE2b-256 fd4d507e53730d621ef6d08e0d2761f88b585b42be1d82634511afe66ac3a2bf

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