Skip to main content

Ensembl Python general-purpose utils

Project description

Ensembl Python general-purpose utils

License Coverage CI Release

Centralise generic Python utils used by other projects within Ensembl design to facilitate frequent tasks such as input file path checks, archive files IO manipulation or logging setup, among others.

For more information, please consult this repository's GitHub pages.

Getting Started

Basic installation

This library is publicly available in PyPI so it can be easily installed with your favourite Python dependency and packaging management tool, e.g.

pip install ensembl-utils

Quick usage

Besides the standard import ensembl.utils, this library also provides some useful command line scripts:

  • extract_file - to easily extract archive files in different formats

Furthermore, ensembl-utils also has a pytest plugin with some useful functionalities to ease your unit testing. You can enable it by adding it explicitly when running pytest:

pytest -p ensembl.utils.plugin ...

Or adding the following line to your conftest.py:

pytest_plugins = ("ensembl.utils.plugin",)

Dependencies

This repository has been developed to support SQLAlchemy version 1.4 (1.4.45 or later, to ensure "future-compatibility") as well as version 2.0+.

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

ensembl_utils-0.7.0.tar.gz (176.3 kB view details)

Uploaded Source

Built Distribution

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

ensembl_utils-0.7.0-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

Details for the file ensembl_utils-0.7.0.tar.gz.

File metadata

  • Download URL: ensembl_utils-0.7.0.tar.gz
  • Upload date:
  • Size: 176.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for ensembl_utils-0.7.0.tar.gz
Algorithm Hash digest
SHA256 e60a1bed0e7795285aadd821db560141b44995e03d4230dd3b91e34fae0828bd
MD5 de53d11bf8643e4774297db445cc8eea
BLAKE2b-256 af0693874645356e3d1faff4a9d3e905692b70686f874b438e191953be9c7644

See more details on using hashes here.

Provenance

The following attestation bundles were made for ensembl_utils-0.7.0.tar.gz:

Publisher: publish.yml on Ensembl/ensembl-utils

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

File details

Details for the file ensembl_utils-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: ensembl_utils-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 27.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for ensembl_utils-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43b5d57105ede0d484c9d3e3f2223e8191ba3c180dbca4e1e391ee183c449a4c
MD5 190ec4336b1bb2c1cef7732d837819fd
BLAKE2b-256 cefe62564235807e5f8ae55108655fbc5279d7c65e6275683d078b511ba453c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for ensembl_utils-0.7.0-py3-none-any.whl:

Publisher: publish.yml on Ensembl/ensembl-utils

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