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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file asterism-1.1.0.tar.gz.
File metadata
- Download URL: asterism-1.1.0.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
339b923c5ccdde1a8dd51c20b6bf4dc0078f8c913fddb20550985948648d8e80
|
|
| MD5 |
8d58b1f140bf76fd380d7fb7dce113f7
|
|
| BLAKE2b-256 |
50e8bde2725d7ac2911685f2a3abc41b9667af0de42175167bff847c7f6615a1
|
File details
Details for the file asterism-1.1.0-py3-none-any.whl.
File metadata
- Download URL: asterism-1.1.0-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea12be319feb1816a2a3b712b923f14fb0eea713bca3b3abd2043f9cdaf5c640
|
|
| MD5 |
a0829b1d7f8b839727aaaf8c7cc9661e
|
|
| BLAKE2b-256 |
9b266f21f4bbce9f13d6d304e1c0fe295c741f6d9677aa48f9e4ab799f489678
|