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.8.0.tar.gz (176.2 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.8.0-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ensembl_utils-0.8.0.tar.gz
Algorithm Hash digest
SHA256 2a91aaf8dcb8fb1f176d18603cd9f02503e0573e021e3c7966394f04973ada09
MD5 893f8f8f4719a2768373ea6b35e230ab
BLAKE2b-256 62716abe72cabd954f0eca828fcad0d833f517a2b6a7e64c3d5cd8b01c550098

See more details on using hashes here.

Provenance

The following attestation bundles were made for ensembl_utils-0.8.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.8.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for ensembl_utils-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c903c2ee8fca5551d6de448a642a4718e395fdadee80c36be0e5b67c3c6ebf15
MD5 c34cd8ddccb88780d851ed0fea19f802
BLAKE2b-256 1800897e017fc446016757af94fc21959077c28e1c73afd8cf5143c6946bcba4

See more details on using hashes here.

Provenance

The following attestation bundles were made for ensembl_utils-0.8.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