Skip to main content

The core of the Jax-Geneweaver Python library

Project description

Geneweaver Core

GitHub Actions Workflow Status Style Coverage

PyPI - License PyPI - Python Version PyPI - Version PyPI - Downloads

The Geneweaver Core Python library provides shared foundational functionality for the Geneweaver project. It is a dependency of all other Geneweaver Python libraries, and is not intended to be used directly.

Installation

The Geneweaver Core library is available on PyPI and can be installed with pip:

pip install geneweaver-core

If you are using Poetry, you can add the Geneweaver Core library to your project with:

poetry add geneweaver-core

Overview

This package is structured so as to share an import path with other geneweaver packages. This allows you to install the package and import it without having to worry about the package name. For example, if you install the geneweaver-core package, as well as the geneweaver-db package, you can import the geneweaver package and access both libraries:

from geneweaver import core, db

The Geneweaver Core library provides the following functionality:

  • geneweaver.core.schema: Pydantic schema definitions

  • geneweaver.core.enum: Enumerations

  • geneweaver.core.config: Configuration management

    • GeneweaverBaseSettings: Base Settings class to inherit from for your own package's configuration classes
    • GeneweaverCoreSettings: Configuration class for Geneweaver Core settings
  • geneweaver.core.exc: Geneweaver shared exceptions

    • GeneweaverException: Base exception class for Geneweaver
    • GeneweaverError: Base error class for Geneweaver
    • GeneweaverWarning: Base warning class for Geneweaver
  • geneweaver.core.pase: Geneweaver file parsing functionality

    • batch: Functions for parsing a batch file
    • score: Functions for parsing a score
    • csv: Functions for parsing a CSV file
    • xlsx: Functions for parsing an Excel file
    • enum: Enumerations for file parsing
    • exceptions: Exceptions for file parsing
    • utils: Utility functions for file parsing

Planned Functionality

  • geneweaver.core.logging: Shared logging management
  • geneweaver.core.utils: Shared utility functions

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

geneweaver_core-0.9.1.tar.gz (31.6 kB view details)

Uploaded Source

Built Distribution

geneweaver_core-0.9.1-py3-none-any.whl (42.4 kB view details)

Uploaded Python 3

File details

Details for the file geneweaver_core-0.9.1.tar.gz.

File metadata

  • Download URL: geneweaver_core-0.9.1.tar.gz
  • Upload date:
  • Size: 31.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.19 Linux/6.5.0-1018-azure

File hashes

Hashes for geneweaver_core-0.9.1.tar.gz
Algorithm Hash digest
SHA256 a550d6bab23dbd1944308e5e89fedebee7320a571c409b35bccc075c428d3fee
MD5 60761c47b94f87b76202b375b43c4635
BLAKE2b-256 499d074befdbfabdf3d08b8b44fcb3b87a7c20eb5497a44769dc34b091ca7b3d

See more details on using hashes here.

File details

Details for the file geneweaver_core-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: geneweaver_core-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 42.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.19 Linux/6.5.0-1018-azure

File hashes

Hashes for geneweaver_core-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 020b2bfa9f7849107fb756fc5486192faf56502c90e3ad37beff39318b5dea7f
MD5 970258a61bf6ff0a4fbabd356c3a8cf2
BLAKE2b-256 b7458db0a4ebfd0516b6c98b9f9d07b468e5fe2400c94bc45a691f7ef52af3eb

See more details on using hashes here.

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