Skip to main content

SqlAlchemy classes representing parts of the DRS database.

Schema

IdMixin

Provides generic id in primary key

Attributes:

  • id

TimestampMixin

Injects created and update times

Attributes:

  • create_time

  • update_time

IdTimestampMixin

Provides generic id and create+update time columns

ProjectTypes

Types of projects, e.g. capture, digitization, distribution, analyis, etc.

Attributes:

  • project_type_name

  • project_type_desc

  • project

Projects

Specific projects, e.g. Google books, DRS

Attributes:

  • name

  • description

  • project_type_id

  • project_type

  • m_type_id

  • m_type

  • member

MemberTypes

Ususally, container level (work, volume).

Attributes:

  • m_type

  • project

  • members

MemberStates

States of project members (See States)

Attributes:

  • m_state_name

  • m_state_desc

  • project_member

ProjectMembers

An instance of a work or volume in a specific project

Attributes:

  • pm_id

  • pm_type

  • pm_work_id

  • pm_volume_id

  • pm_project

  • project

  • pm_project_state_id

  • member_type

  • project_member_state

Steps

All possible steps.

Attributes:

  • s_name

  • s_desc

ProjectSteps

A Step instance in a specific project

Attributes:

  • ps_project

  • ps_step

  • project

  • step

ProjectMemberSteps

Lookup table to track steps completed for project members

Attributes:

  • project_member_id

  • project_step_id

  • project_step_time

Works

Attributes:

  • workId

  • WorkName

  • WorkSize

  • HOLLIS

  • WorkFileCount

  • WorkImageFileCount

  • WorkImageTotalFileSize

  • WorkNonImageFileCount

  • WorkNonImageTotalFileSize

  • volumes

  • create_time

  • update_time

Volumes

Attributes:

  • volumeId

  • label

  • workId

  • work

  • gb_downloads

  • gb_content

  • gb_state

  • gb_dist

  • gb_unpack

  • create_time

  • update_time

GbMetadata

Record the upload of a work’s metadata to GB

Attributes:

  • id

  • work_id

  • upload_time

  • upload_result

  • create_time

  • update_time

GbContent

Records the steps in an image group’s process. Captures the steps that this service has performed

Attributes:

  • id

  • volume_id

  • job_step

  • step_time

  • step_rc

  • gb_log

  • volume

  • create_time

  • update_time

GbState

Records raw google book data as we poll for it. Captures the state of Google’s processing

Attributes:

  • volume_id

  • job_state

  • gb_log

  • state_date

  • volume

  • create_time

  • update_time

GbDownload

Attributes:

  • id

  • volume_id

  • download_object_name

  • download_path

  • download_time

  • create_time

  • update_time

  • volume

GbReadyTrack

Queue of items ready to be acted on

Attributes:

  • target_id

  • activity

GbUnpack

Attributes:

  • volume_id

  • unpack_object_name

  • unpacked_path

  • unpack_time

  • volume

GbDistribution

Records the steps in an image group’s process. Captures the steps that this service has performed

Attributes:

  • volume_id

  • dist_time

  • src

  • dest

  • volume

DipActivities

Legal DIP activities

Attributes:

  • id

  • label

Metadata

Release files for bdrc-db-models 2.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for bdrc-db-models 2.0.6
File Interpreter ABI Platform
bdrc_db_models-2.0.6-py3-none-any.whl Python 3 none any Details

Release files / bdrc_db_models-2.0.6-py3-none-any.whl

Download URL bdrc_db_models-2.0.6-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a53ab8bdbe8eec239bfbbc45964116475ed365ac0b473a154cab572a9ec62ef1
BLAKE2b-256 checksum
How to use checksums
ec385bbe8230254cd1469d73dac509da0d3c9d4c0c1379a34743b3139d6bfdf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/8.5.0 pkginfo/1.12.0 requests/2.32.5 requests-toolbelt/1.0.0 tqdm/4.65.0 CPython/3.9.20

Security for bdrc-db-models 2.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page