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:

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

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.1.48.tar.gz (19.3 kB view hashes)

Uploaded Source

Built Distribution

prosper_shared-0.1.48-py3-none-any.whl (31.2 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