Skip to main content

More Secure Bdrc Db library

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

bdrc_db_models-2.0.6-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file bdrc_db_models-2.0.6-py3-none-any.whl.

File metadata

  • Download URL: bdrc_db_models-2.0.6-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for bdrc_db_models-2.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a53ab8bdbe8eec239bfbbc45964116475ed365ac0b473a154cab572a9ec62ef1
MD5 ff94a7d07fb4cafdbc481ca9010aeaa6
BLAKE2b-256 ec385bbe8230254cd1469d73dac509da0d3c9d4c0c1379a34743b3139d6bfdf0

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