Ensembl Python general-purpose utils
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+.
Metadata
Release files for ensembl-utils 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ensembl_utils-1.0.0.tar.gz | 98.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ensembl_utils-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 177.0 kB
Release files / ensembl_utils-1.0.0.tar.gz
| Download URL | ensembl_utils-1.0.0.tar.gz |
|---|---|
| Size | 98.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a49485e53997c28e03e6a85968bbf31f55a089e380777d83b6edf3815d30555
|
|
BLAKE2b-256 checksum How to use checksums |
b80b80242aeff8d8793b10ddda638360094c1f9d596396cacc9a5f21531c904f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 9, 2026.
Transparency logRelease files / ensembl_utils-1.0.0-py3-none-any.whl
| Download URL | ensembl_utils-1.0.0-py3-none-any.whl |
|---|---|
| Size | 78.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
374f820d5ad506ca2361745f25e1cd15c46a46598dfbd6aaba572f0328897b82
|
|
BLAKE2b-256 checksum How to use checksums |
b949016cb5268cfe768e5b179e673067451a07e8c8c320a83469982393ae8888
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 9, 2026.
Transparency log