Ensembl Python general-purpose utils
Project description
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+.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ensembl_utils-0.6.0.tar.gz
.
File metadata
- Download URL: ensembl_utils-0.6.0.tar.gz
- Upload date:
- Size: 175.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee2841af4da1b7f10d2fa88ab844f72dad17042de473759971f4ec1d870a0506 |
|
MD5 | 7ce29ddc5c8a66e2ebc549f6ccfade91 |
|
BLAKE2b-256 | c5df9f46cec13f5c01653020685cb9f2d399ddabf509467c6e3a7af07eb5be29 |
Provenance
The following attestation bundles were made for ensembl_utils-0.6.0.tar.gz
:
Publisher:
publish.yml
on Ensembl/ensembl-utils
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
ensembl_utils-0.6.0.tar.gz
- Subject digest:
ee2841af4da1b7f10d2fa88ab844f72dad17042de473759971f4ec1d870a0506
- Sigstore transparency entry: 147027671
- Sigstore integration time:
- Predicate type:
File details
Details for the file ensembl_utils-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: ensembl_utils-0.6.0-py3-none-any.whl
- Upload date:
- Size: 27.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d57ec879b9d29cd9a77a3496a6b766c7ba99fb14ac51ba07aa65f0881ae10bc2 |
|
MD5 | d8b4b104f370f8de5e6fd9382c310a72 |
|
BLAKE2b-256 | cd61d5e9a6553fff5bbe11a4bd73cc72ab6561b7d633841df02d3b48752c2eda |
Provenance
The following attestation bundles were made for ensembl_utils-0.6.0-py3-none-any.whl
:
Publisher:
publish.yml
on Ensembl/ensembl-utils
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
ensembl_utils-0.6.0-py3-none-any.whl
- Subject digest:
d57ec879b9d29cd9a77a3496a6b766c7ba99fb14ac51ba07aa65f0881ae10bc2
- Sigstore transparency entry: 147027672
- Sigstore integration time:
- Predicate type: