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. resources - Odin representations of ArchivesSpace resources. 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-0.8.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

asterism-0.8.0-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: asterism-0.8.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for asterism-0.8.0.tar.gz
Algorithm Hash digest
SHA256 824e5f97b0b575477067ce8891d04a4b666b699578afcc2f31eb7c2406655aa3
MD5 03736b7310cad28b0aff3da7a04096f6
BLAKE2b-256 125c4f137bec6d61ea52d2e04f40941f00db37974262ff78c70a96602d3eb4ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asterism-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for asterism-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5e8cb47d849894ece890a6fb141ecd843a5082f1fd3fc3768b27941af042640
MD5 8a8de8abbb2de5c7e3aab2b61ce65896
BLAKE2b-256 f1e49d2484ec7614d452a58913cd9677b138024bad41e80ab65817659aa3ba1d

See more details on using hashes here.

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