Skip to main content

Helpers for Project Electron infrastructure

Project description

asterism

Helpers and common patterns used in Project Electron infrastructure. This package is named after a pattern or group of stars that is visually obvious, but not officially recognized as a constellation. Read more about asterisms on Wikipedia.

Setup

Make sure this library is installed:

$ pip install asterism

Usage

You can then use asterism in your Python scripts and applications by importing it:

import asterism

What's here

bagit_helpers - contains generic bagit functions to validate and update bags. file_helpers - generic functions for manipulating files and directories, as well as working with ZIP and TAR files. models - a BasePackage abstract base model that represents a bag of archival records. views - a BaseServiceView and a RoutineView which provide abstract wrapping methods for handling JSON requests and responses.

Development

This repository contains a configuration file for git pre-commit hooks which help ensure that code is linted before it is checked into version control. It is strongly recommended that you install these hooks locally by installing pre-commit and running pre-commit install.

License

This code is released under an MIT License.

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

asterism-1.1.1.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

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

asterism-1.1.1-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file asterism-1.1.1.tar.gz.

File metadata

  • Download URL: asterism-1.1.1.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for asterism-1.1.1.tar.gz
Algorithm Hash digest
SHA256 3560236589e69635895a3e2b4be5825ba52a1ca7af9530b24ba3c2e37ba3acbd
MD5 45bdf556aa7eddd4b561a668bff2d536
BLAKE2b-256 a93fc33cdd5d1fb65e748803b649741b7be39e170ab4a83e957e10c41d170c36

See more details on using hashes here.

Provenance

The following attestation bundles were made for asterism-1.1.1.tar.gz:

Publisher: pythonpublish.yml on RockefellerArchiveCenter/asterism

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file asterism-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: asterism-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for asterism-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fa85d758509a8689105cbbe98f2541b8bf59a93fbbb82e7bff8247b6a78355cc
MD5 6193902a7f3490930ea8a8d8f04fd8bb
BLAKE2b-256 a20a0455d1f2c7673500c73f3acaac1f982867ea2ac5049badf79583edab8204

See more details on using hashes here.

Provenance

The following attestation bundles were made for asterism-1.1.1-py3-none-any.whl:

Publisher: pythonpublish.yml on RockefellerArchiveCenter/asterism

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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