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.1.tar.gz (86.9 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.1-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ensembl_utils-0.9.1.tar.gz
Algorithm Hash digest
SHA256 82634e81df8d9a28e787652cc4f0d6a2a66b7f6543c6f55290a0ccc24536ba5a
MD5 dd80484252d373667796fa65c1af503b
BLAKE2b-256 5925b947f4743a0d531193c8e6b905b8b3e2332ef33936e0e9eb2bd54aa212b8

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for ensembl_utils-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d7253d10c662819bad83b19da41015b6960ebd6cadb9fec8a21d49cdd08632f8
MD5 6c6041bf9ea54a5353de80237c450578
BLAKE2b-256 f3589da4d8355a0a9bffdef7b93a83f3046176e0f70bd0aa11585294a802173b

See more details on using hashes here.

Provenance

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