Skip to main content

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+.

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-1.0.0.tar.gz (98.4 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-1.0.0-py3-none-any.whl (78.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ensembl_utils-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0a49485e53997c28e03e6a85968bbf31f55a089e380777d83b6edf3815d30555
MD5 d85c681d8a9d699c6c97c7bbf78cffe9
BLAKE2b-256 b80b80242aeff8d8793b10ddda638360094c1f9d596396cacc9a5f21531c904f

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for ensembl_utils-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 374f820d5ad506ca2361745f25e1cd15c46a46598dfbd6aaba572f0328897b82
MD5 9b6f0a986419db10d213798f2afbcd0a
BLAKE2b-256 b949016cb5268cfe768e5b179e673067451a07e8c8c320a83469982393ae8888

See more details on using hashes here.

Provenance

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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

0.9.2

2 files

0.9.1

2 files

0.9.0

2 files

0.8.0

2 files

0.7.0

2 files

0.6.0

2 files

0.5.1

2 files

0.5.0

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page