Skip to main content

Shared domain models and types for MeshSync platform

Project description

MeshSync Core Common Library - Python

Shared domain models, value objects, and SQLAlchemy schemas for the MeshSync 3D model marketplace platform.

Overview

This library provides Python implementations of domain models following Domain-Driven Design (DDD) principles. It includes:

  • Value Objects: Immutable domain concepts
  • Enums: Enumerated types for domain states
  • SQLAlchemy Schemas: Database mappings for persistence

Installation

pip install mesh-sync-core-common-lib

Usage

Importing Value Objects

from mesh_sync_common.generated.model import print_estimates_base
from mesh_sync_common.domain.user import user_preferences

Importing Enums

from mesh_sync_common.generated.model import model_status_base
from mesh_sync_common.generated.storage import storage_provider_type_base

Using SQLAlchemy Schemas

from mesh_sync_common.generated.model.infrastructure import model_schema_base
from mesh_sync_common.generated.user.infrastructure import user_schema_base

Domain Organization

The library is organized by domain:

  • storage: Storage provider configurations and connections
  • user: User management and preferences
  • model: 3D model domain with processing metadata
  • marketplace: Marketplace listings and integrations
  • catalog: Model catalog and discovery

Generated Code

This library is auto-generated from YAML schema definitions using the MeshSync schema generator. Do not edit generated files directly - modify the source YAML schemas instead.

Type Safety

All code is fully typed with mypy strict mode enabled.

License

MIT

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

mesh_sync_core_common_lib-0.1.1.tar.gz (56.7 kB view details)

Uploaded Source

Built Distribution

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

mesh_sync_core_common_lib-0.1.1-py3-none-any.whl (133.0 kB view details)

Uploaded Python 3

File details

Details for the file mesh_sync_core_common_lib-0.1.1.tar.gz.

File metadata

File hashes

Hashes for mesh_sync_core_common_lib-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d2a7d7bec5bfd9043c316d76e51e1ac648255f5082e9a60c8b81d5fd6682193e
MD5 2737abe1f907bbc2551df2f117b6e777
BLAKE2b-256 4d69b4162cd1744a6642e0db7ceadec05b669df1a7c305d156c0831b788170ea

See more details on using hashes here.

File details

Details for the file mesh_sync_core_common_lib-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mesh_sync_core_common_lib-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c5ddab048d5c46131fd50cf151a4f267eb491409cd97a99ff611819ca6d4b6c4
MD5 8287f37815808f89aed5038af9bf92c5
BLAKE2b-256 c54bb14333993abb7b678a99afa8ff92e52cba7772f9ab4b4fafa10a8cc74d59

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