How edraj/pydmart works
Pydmart is an asynchronous Python client for a Dmart instance. A caller uses DmartService to authenticate, manage users, query spaces and records, and perform resource, payload, and ticket operations; the service sends HTTP requests to the Dmart API and returns parsed responses. The models and enums define the request/response shapes and protocol values used by that client. The README documents the broader API surface; the service excerpt is partial, so individual operations are grouped by capability rather than inferring unshown internal call paths.
Main entry points: service.py HTTP Transport · models.py Request and Response Models · enums.py Protocol Enums
Components 16
Identity and Users
- Authentication
src/pydmart/service.py - User Operations
src/pydmart/service.py
Queries and Records
- Query and Export
src/pydmart/service.py - Space Operations
src/pydmart/service.py - Entry and Child Reads
src/pydmart/service.py
Resource Operations
- Resource Actions
src/pydmart/service.py - Assets and Uploads
src/pydmart/service.py - Payloads and Attachments
src/pydmart/service.py - Ticket and Record Submit
src/pydmart/service.py - Manifest and Settings
src/pydmart/service.py
Client Protocol
- HTTP Transport
src/pydmart/service.py - Request and Response Models
src/pydmart/models.py - Protocol Enums
src/pydmart/enums.py - Name Patterns
src/pydmart/consts.py
Other components
- Application Caller
- Dmart API
Connections 25
- Application Caller → Authentication: invokes
README.md - Application Caller → User Operations: invokes
README.md - Application Caller → Query and Export: invokes
README.md - Application Caller → Space Operations: invokes
README.md - Application Caller → Entry and Child Reads: invokes
README.md - Application Caller → Resource Actions: invokes
README.md - Application Caller → Assets and Uploads: invokes
README.md - Application Caller → Payloads and Attachments: invokes
README.md - Application Caller → Ticket and Record Submit: invokes
README.md - Application Caller → Manifest and Settings: invokes
README.md - Authentication → HTTP Transport: requests via
src/pydmart/service.py - User Operations → HTTP Transport: requests via
src/pydmart/service.py - Query and Export → HTTP Transport: requests via
src/pydmart/service.py - Space Operations → HTTP Transport: requests via
src/pydmart/service.py - Entry and Child Reads → HTTP Transport: requests via
src/pydmart/service.py - Resource Actions → HTTP Transport: requests via
src/pydmart/service.py - Assets and Uploads → HTTP Transport: requests via
src/pydmart/service.py - Payloads and Attachments → HTTP Transport: requests via
src/pydmart/service.py - Ticket and Record Submit → HTTP Transport: requests via
src/pydmart/service.py - Manifest and Settings → HTTP Transport: requests via
README.md - HTTP Transport → Dmart API: sends HTTP
src/pydmart/service.py - HTTP Transport → Request and Response Models: parses responses
src/pydmart/service.py - Query and Export → Request and Response Models: accepts requests
README.md - Resource Actions → Request and Response Models: accepts requests
README.md - Request and Response Models → Protocol Enums: uses values
src/pydmart/models.py