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 inpyproject.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
startandsize=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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3bd4793c07bfd16482e7ea51b671e0fc6a8fe1998d59e54f31520fe6105be3e6
|
|
| MD5 |
08ff6cd17d8a9f4bf7f2314947e004fd
|
|
| BLAKE2b-256 |
3777e326ede23679f433d3244a7b9974cd95af37b163a2cc3d3328889d6014c0
|
Provenance
The following attestation bundles were made for intermine314-0.1.0.tar.gz:
Publisher:
publish-pypi.yml on karikris/intermine314
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
intermine314-0.1.0.tar.gz -
Subject digest:
3bd4793c07bfd16482e7ea51b671e0fc6a8fe1998d59e54f31520fe6105be3e6 - Sigstore transparency entry: 926781373
- Sigstore integration time:
-
Permalink:
karikris/intermine314@fbc32ade0ea81f402ee2e8b1c01c5ee191914b48 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/karikris
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@fbc32ade0ea81f402ee2e8b1c01c5ee191914b48 -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee55ab8f6412ec6d72a9d5322e760f3c1446f597fb8b0a2a812e0314ced1ee33
|
|
| MD5 |
796c541314c3987e8af4d4fa6b4e48ce
|
|
| BLAKE2b-256 |
dfb992981b5c428995c49ca237ee295e72b08b69ec0bcc951cbdb8a165e4e847
|
Provenance
The following attestation bundles were made for intermine314-0.1.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on karikris/intermine314
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
intermine314-0.1.0-py3-none-any.whl -
Subject digest:
ee55ab8f6412ec6d72a9d5322e760f3c1446f597fb8b0a2a812e0314ced1ee33 - Sigstore transparency entry: 926781376
- Sigstore integration time:
-
Permalink:
karikris/intermine314@fbc32ade0ea81f402ee2e8b1c01c5ee191914b48 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/karikris
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@fbc32ade0ea81f402ee2e8b1c01c5ee191914b48 -
Trigger Event:
workflow_dispatch
-
Statement type: