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
Hashes for ensembl_utils-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d57ec879b9d29cd9a77a3496a6b766c7ba99fb14ac51ba07aa65f0881ae10bc2 |
|
MD5 | d8b4b104f370f8de5e6fd9382c310a72 |
|
BLAKE2b-256 | cd61d5e9a6553fff5bbe11a4bd73cc72ab6561b7d633841df02d3b48752c2eda |