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.6.0.tar.gz (175.8 kB view details)

Uploaded Source

Built Distribution

ensembl_utils-0.6.0-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

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

Hashes for ensembl_utils-0.6.0.tar.gz
Algorithm Hash digest
SHA256 ee2841af4da1b7f10d2fa88ab844f72dad17042de473759971f4ec1d870a0506
MD5 7ce29ddc5c8a66e2ebc549f6ccfade91
BLAKE2b-256 c5df9f46cec13f5c01653020685cb9f2d399ddabf509467c6e3a7af07eb5be29

See more details on using hashes here.

Provenance

The following attestation bundles were made for ensembl_utils-0.6.0.tar.gz:

Publisher: publish.yml on Ensembl/ensembl-utils

Attestations:

File details

Details for the file ensembl_utils-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ensembl_utils-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d57ec879b9d29cd9a77a3496a6b766c7ba99fb14ac51ba07aa65f0881ae10bc2
MD5 d8b4b104f370f8de5e6fd9382c310a72
BLAKE2b-256 cd61d5e9a6553fff5bbe11a4bd73cc72ab6561b7d633841df02d3b48752c2eda

See more details on using hashes here.

Provenance

The following attestation bundles were made for ensembl_utils-0.6.0-py3-none-any.whl:

Publisher: publish.yml on Ensembl/ensembl-utils

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page