ftm-assets
Resolve assets (currently images) related to FollowTheMoney entities.
Get images based on qid
cat entities.ftm.json | ftm-assets load-entities
Run api server
uvicorn --port 8000 ftm_assets.api:app --workers 4
Get asset metadata
For images:
curl https://localhost:8000/img/<entity_id>
{
"id": "<entity_id>",
"url": "...",
"alt": "...",
"attribution": {
"author": "...",
"license": "...",
}
}
Run as an OpenAleph worker service
pip install ftm-assets[openaleph]
To ingreate ftm-assets into the OpenAleph ecosystem as a worker that processes entities, start the worker queue like this:
PROCRASTINATE_APP=ftm_assets.tasks.app procrastinate worker -q ftm-assets
To defer tasks from other places, use ftm-assets as queue name and ftm_assets.tasks.resolve_image as the task identifier.
Docker
Run the queue worker with changing the entrypoint to procrastinate:
docker run ghcr.io/dataresearchcenter/ftm-asstets --entrypoint procrastinate worker -q ftm-assets
License and Copyright
ftm-assets, (C) 2025 Data and Research Center – DARC
ftm-assets is licensed under the AGPLv3 or later license.
Metadata
Release files for ftm-assets 0.0.4
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 |
|---|---|---|---|---|
| ftm_assets-0.0.4.tar.gz | 20.2 kB | Without provenance | Details for ftm_assets-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ftm_assets-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for ftm_assets-0.0.4-py3-none-any.whl |
Total release size: 43.1 kB
Release files / ftm_assets-0.0.4.tar.gz
| Download URL | ftm_assets-0.0.4.tar.gz |
|---|---|
| Size | 20.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9da67ad5b0355fe01829b39112becbb729942311bbc103b0622ac1e117fcafe0
|
|
BLAKE2b-256 checksum How to use checksums |
88cf1324bf6fd417a6d904866f5b69bc675254492ac59bad17e716dfa544edcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.13.3 Linux/6.12.22-amd64
|
Release files / ftm_assets-0.0.4-py3-none-any.whl
| Download URL | ftm_assets-0.0.4-py3-none-any.whl |
|---|---|
| Size | 23.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
89ebd94571070c853b74aa472a31f90bf59638265da1f1b9b8440e2888e558e0
|
|
BLAKE2b-256 checksum How to use checksums |
9bbaf5b3c6d8c82d3c7a00a90b258d08fdb54800240217faf4a9f4a4f412f163
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.13.3 Linux/6.12.22-amd64
|
Security for ftm-assets 0.0.4
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.