Skip to main content

No project description provided

Project description

prosper-shared

Shared build files for the Python Prosper libraries

GitHub Workflow Status (with event) PyPI - Version PyPI - Python Version PyPI - License Code Climate coverage Code Climate maintainability GitHub commit activity (branch) GitHub issues

prosper_shared.autohooks

Pre-commit hooks for use with autohooks.

prosper_shared.omni_config

Util for defining, parsing, merging, validating, and using configs from various sources, including file-based configs, environment variables, and command-line arguments. This will probably be factored out into an independent library.

prosper_shared.serde

Util for serializing and deserializing Python objects based on type annotations.

Configs

Available config values:

prosper-shared.serde.parse-dates:
  default: true
  description: Date values represented as strings should be parsed into `date` and `datetime` objects.
    Supports ISO-8601-compliant date strings.
  optional: false
  type: bool
prosper-shared.serde.parse-enums:
  default: true
  description: Enum values represented as strings should be parsed into their respective types.
  optional: false
  type: bool
prosper-shared.serde.use-decimals:
  default: true
  description: Floating point values should be parsed as decimals instead of floats.
  optional: false
  type: bool

Feedback

This project uses GitHub issues for feature requests and bug reports.

Contributing

This project uses Poetry to manage dependencies and building. Follow the instructions to install it. Then use poetry install --all-extras to install the project dependencies. Then run poetry run autohooks activate to set up the pre-commit hooks. Please ensure the hooks pass before submitting a pull request.

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

prosper_shared-0.2.16.tar.gz (21.3 kB view hashes)

Uploaded Source

Built Distribution

prosper_shared-0.2.16-py3-none-any.whl (33.1 kB view hashes)

Uploaded Python 3

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