Skip to main content

Modernized InterMine WebService client (Python 3.14+)

Project description

intermine314

Python 3.14+ client for InterMine web services.

This package modernizes the historical InterMine Python client for current Python runtimes, with a focus on practical reliability for research use.

Ownership and Credit

Copyright (c) 2026 Monash University, Plant Energy and Biotechnology Lab.

Project ownership and stewardship:

  • Kris Kari
  • Dr. Maria Ermakova
  • Plant Energy and Biotechnology Lab, Monash University
  • Contact: toffe.kari@gmail.com

Original credit:

  • The original InterMine team and community contributors are credited for foundational work that this package builds upon.

License

Licensed under the MIT License (see LICENSE-LGPL, which now contains the active MIT license text and notice).

Requirements

  • Python 3.14+

Supported Mines

Priority support is focused on:

  • MaizeMine
  • ThaleMine
  • LegumeMine
  • OakMine
  • WheatMine

Installation

pip install intermine314

Repository: https://github.com/kriskari/intermine314

Quick Example

from intermine314.webservice import Service

service = Service("https://www.flymine.org/query/service")
query = service.new_query("Gene")
query.add_view("Gene.symbol", "Gene.length")

for row in query.run_parallel(page_size=2000, max_workers=4, prefetch=4):
    print(row)

Testing

Run unit tests against the local mock service:

python setup.py test

Run live tests:

python setup.py livetest

Upgrades for Python 3.14

The following package upgrades were applied in this modernization cycle:

  • Raised runtime baseline to Python 3.14 (pyproject.toml, README.md, CI, tox).
  • Updated packaging metadata toward modern PEP 621 layout.
  • Simplified dependency management (requirements.txt, optional extras in pyproject.toml).
  • Removed Python 2 compatibility remnants from runtime modules.
  • Removed Python 2 compatibility remnants from tests.
  • Modernized query parallel execution behavior in intermine314/query.py:
    • bounded in-flight work
    • configurable prefetch
    • fixed edge handling for start and size=None
    • used executor.map(..., buffersize=...) for ordered mode
  • Updated CI configuration for Python 3.14.
  • Verified local unit test suite and live mine connectivity checks.

Notes

Documentation/tutorial links from legacy upstream sources are intentionally omitted for now while docs are being updated for the Python 3.14 package line.

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

intermine314-0.1.0.tar.gz (113.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

intermine314-0.1.0-py3-none-any.whl (77.8 kB view details)

Uploaded Python 3

File details

Details for the file intermine314-0.1.0.tar.gz.

File metadata

  • Download URL: intermine314-0.1.0.tar.gz
  • Upload date:
  • Size: 113.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for intermine314-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3bd4793c07bfd16482e7ea51b671e0fc6a8fe1998d59e54f31520fe6105be3e6
MD5 08ff6cd17d8a9f4bf7f2314947e004fd
BLAKE2b-256 3777e326ede23679f433d3244a7b9974cd95af37b163a2cc3d3328889d6014c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for intermine314-0.1.0.tar.gz:

Publisher: publish-pypi.yml on karikris/intermine314

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file intermine314-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: intermine314-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 77.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for intermine314-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee55ab8f6412ec6d72a9d5322e760f3c1446f597fb8b0a2a812e0314ced1ee33
MD5 796c541314c3987e8af4d4fa6b4e48ce
BLAKE2b-256 dfb992981b5c428995c49ca237ee295e72b08b69ec0bcc951cbdb8a165e4e847

See more details on using hashes here.

Provenance

The following attestation bundles were made for intermine314-0.1.0-py3-none-any.whl:

Publisher: publish-pypi.yml on karikris/intermine314

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