Skip to main content

No project description provided

Project description

# sweetrpg-library-objects

[![Unit tests](https://github.com/sweetrpg/library-objects/actions/workflows/python-ci.yml/badge.svg)](https://github.com/sweetrpg/library-objects/actions/workflows/python-ci.yml) [![Coverage](https://github.com/sweetrpg/library-objects/blob/develop/coverage.svg)](https://github.com/sweetrpg/library-objects) [![PyPI version](https://badgen.net/pypi/v/sweetrpg-library-objects)](https://pypi.org/project/sweetrpg-library-objects) [![License](https://img.shields.io/github/license/sweetrpg/library-objects.svg)](https://img.shields.io/github/license/sweetrpg/library-objects.svg) [![Issues](https://img.shields.io/github/issues/sweetrpg/library-objects.svg)](https://img.shields.io/github/issues/sweetrpg/library-objects.svg) [![PRs](https://img.shields.io/github/issues-pr/sweetrpg/library-objects.svg)](https://img.shields.io/github/issues-pr/sweetrpg/library-objects.svg) [![Dependabot](https://badgen.net/github/dependabot/sweetrpg/library-objects)](https://badgen.net/github/dependabot/sweetrpg/library-objects)

[![Python](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white)](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white) [![Built with love](https://ForTheBadge.com/images/badges/built-with-love.svg)](https://ForTheBadge.com/images/badges/built-with-love.svg)

Model package for library applications.

## Models

<a name=”#person”></a> ### Person

<a name=”#personproperty”></a> ### PersonProperty

<a name=”#publisher”></a> ### Publisher

<a name=”#review”></a> ### Review

<a name=”#studio”></a> ### Studio

<a name=”#system”></a> ### System

<a name=”#tag”></a> ### Tag

<a name=”#contribution”></a> ### Contribution

  • Fields
    • person_id: Person. Identifier of the Person making the contribution

    • roles: [Enum{ContributionType}]. An array of contribution types for this person.

      Valid values are: designer, developer, writer, artist, cartographer, editor, producer, consultant, director, illustrator, misc.

    • [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).

<a name=”#volume”></a> ### Volume

  • Fields
    • name: String. The name of the volume.

    • contributors: [Contribution]. An array of contributions for the volume, indicating a person

      and their contribution(s) to the volume.

    • studio_ids: [Studio]. An array of studios associated with the volume.

    • publisher_ids: [Publisher]. An array of publishers associated with the volume.

    • system_id: System. The game system associated with the volume.

    • review_ids: [Review]. An array of reviews associated with the volume.

    • tag_ids: [Tag]. An array of tags associated with the volume.

    • [Audit fields](https://github.com/sweetrpg/design/blob/master/README.md#audit).

<a name=”#volumeproperty”></a> ### VolumeProperty

## Development

  1. Create a virtual environment

    `shell python -m venv ~/.virtualenvs/sweetrpg-library-objects source ~/.virtualenvs/sweetrpg-library-objects/bin/activate `

  2. Install requirements

    `shell pip3 install -r requirements/dev.txt `

### Requirements

Requirements are organized in a number of role-based files in the requirements/ directory:

  • dev.{in,txt} – for project development

  • pkg.{in,txt} – for the package itself

  • docs.{in,txt} – to generate documentation

  • tests.{in,txt} – to run unit tests

### Updating requirements

To update requirements, edit the appropriate *.in file, then run the update.sh script in the same directory. The script will run pip-compile to generate the *.txt file with the actual resolved versions and dependencies.

## Documentation

Documentation for this package can be found [here](https://sweetrpg.github.io/library-objects).

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

sweetrpg-library-objects-0.0.451.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

sweetrpg_library_objects-0.0.451-py2.py3-none-any.whl (34.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file sweetrpg-library-objects-0.0.451.tar.gz.

File metadata

  • Download URL: sweetrpg-library-objects-0.0.451.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.11.2 readme-renderer/44.0 requests/2.32.3 requests-toolbelt/1.0.0 urllib3/2.2.3 tqdm/4.67.0 importlib-metadata/8.5.0 keyring/25.5.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.15

File hashes

Hashes for sweetrpg-library-objects-0.0.451.tar.gz
Algorithm Hash digest
SHA256 f969b9f8113e9b8e3da9f1d0250427f2d37649d5dc1bdc9e8b5e73c09842f4fd
MD5 a39d9e5d7bf91a21dd4c560fd37a0d86
BLAKE2b-256 706c0c807bda56ce53ed7eaf3431698206246e4dbd5316ce7e0acb8428da3436

See more details on using hashes here.

File details

Details for the file sweetrpg_library_objects-0.0.451-py2.py3-none-any.whl.

File metadata

  • Download URL: sweetrpg_library_objects-0.0.451-py2.py3-none-any.whl
  • Upload date:
  • Size: 34.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.11.2 readme-renderer/44.0 requests/2.32.3 requests-toolbelt/1.0.0 urllib3/2.2.3 tqdm/4.67.0 importlib-metadata/8.5.0 keyring/25.5.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.15

File hashes

Hashes for sweetrpg_library_objects-0.0.451-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 afbd67ab157177c79acfc4a60e093709d3f66554d1869e0d85c70341127ed645
MD5 a945076934979d90ef1e22875fef41f5
BLAKE2b-256 a64aa2dbaac12f5565d1816e54071f720a39b1595a69384bc28e5f3dbfd3b554

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page