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.

Build Status

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

Uploaded Source

Built Distribution

asterism-1.1.0-py3-none-any.whl (15.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