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.9.2.tar.gz (87.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.9.2-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ensembl_utils-0.9.2.tar.gz
Algorithm Hash digest
SHA256 aabff8eb6566f9f21e5e6080f59b8aaa397c65555b1835792046011e97c92726
MD5 115103ee7d069c67456fa95f3910cea4
BLAKE2b-256 147e073e023f590bd64b706793109bf76f5d8c9a29759e283a42d908aacaa5f0

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for ensembl_utils-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b7ca13f6d2c7126ba74b083d230d2b3a4df41a8f2077fecec39ecd10a8a33947
MD5 2898fe7bb80928fc04e286bacfca2fe0
BLAKE2b-256 0a6387fecff56ef036c063f99be0fc7dc31dd474cd13fac8ef1f232aa91b06bb

See more details on using hashes here.

Provenance

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