MANTIS Instrument Management Facility
imf searches and updates IB instrument records in an asof-store database.
Configure the SQL backend once in the repository's service-registrar.toml:
["asof-store.sql"]
sql_uri = "sqlite:///ib-instruments.db"
IMF supplies each store's table and value types; sql_uri comes from this
section by default. Pass --sql-uri URI to any command to override it for that
invocation. For PostgreSQL, set sql_uri to the database connection URI. The
imf index command requires PostgreSQL and adds trigram indexes to the
instrument and template tables.
Searching
imf search --symbol AAPL
imf search --country US --exchange NASDAQ --product-type STK
imf search --local-symbol "ESZ6"
imf search --field currency=USD --field "contract.exchange=SMART"
imf search --as-of 2026-10-29T12:00:00+00:00 --symbol AAPL
Search filters use case-insensitive substring matching by default; pass
--exact for exact matches. Repeat --field NAME=VALUE to filter additional
JSON fields. Dotted names address nested fields. Results are one JSON object
per line. --table-name and --missing-primary-key-table-name override the
corresponding table names.
Use imf fuzzy to search standard instrument fields with multiple values. Each
value must match at least one field. With no values, it opens an interactive
REPL.
imf fuzzy AAPL NASDAQ
imf index
Scraping
imf scrape-instruments
imf scrape-reconcile
imf scrape-funds
imf scrape-exchanges
The instrument commands accept repeated --product-type and
--product-country filters. Use --dry-run to print the remote product summary
without opening a store. Run any command with --help to see its full options.
Metadata
Release files for mantis-imf 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mantis_imf-0.1.8.tar.gz | 28.4 kB | With provenance | Details for mantis_imf-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mantis_imf-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for mantis_imf-0.1.8-py3-none-any.whl |
Total release size: 46.2 kB
Release files / mantis_imf-0.1.8.tar.gz
| Download URL | mantis_imf-0.1.8.tar.gz |
|---|---|
| Size | 28.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4312d53beb125258a271857169d16de178915bab15666686c437a2dba18c37d2
|
|
BLAKE2b-256 checksum How to use checksums |
f19ef3dc1e3180b77467ff59ea01c66a30f7fffb8e651a7d4705ddedab8a982d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / mantis_imf-0.1.8-py3-none-any.whl
| Download URL | mantis_imf-0.1.8-py3-none-any.whl |
|---|---|
| Size | 17.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0c6d250fd4e81fda258320fff076a96aacf0a7f0f4a021ce41cad0d639022c4
|
|
BLAKE2b-256 checksum How to use checksums |
8f65728e962aebcf3442061822c5b04437bcce65bd7796ce515557593e395d64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logSecurity for mantis-imf 0.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for mantis_imf-0.1.8.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.