Skip to main content

Choclo

Kernel functions for your geophysical models

Documentation (latest) • Documentation (main branch) • Contributing • Contact • Ask a question

Part of the Fatiando a Terra project, built in collaboration with SimPEG

Latest version on PyPI Latest version on conda-forge Compatible Python versions. DOI used to cite Choclo

About

Choclo is a Python library that hosts optimized kernel functions for running geophysical forward and inverse models, intended to be used by other libraries as the underlying layer of their computation. "Choclo" is a term used in some countries of South America to refer to corn, originated from the quechua word chuqllu.

Project goals

  • Provide optimized kernel functions for gravity and magnetic forward and inverse models that can be easily harnessed by different geophysical libraries.
  • Generate a pure-Python library that could be easily distributed and installed on any operating system.
  • Rely on Numba for just-in-time compilations and optional parallelization.
  • Keep the dependencies to the bare minimum to encourage other libraries to depend on Choclo.

Project status

Choclo is ready for use but still changing. This means that we sometimes break backwards compatibility as we try to improve the software based on user experience, new ideas, better design decisions, etc. Please keep that in mind before you update Choclo to a newer version.

We welcome feedback and ideas! This is a great time to bring new ideas on how we can improve the project. Join the conversation or submit issues on GitHub.

Getting involved

🗨️ Contact us: Find out more about how to reach us at fatiando.org/contact.

👩🏾‍💻 Contributing to project development: Please read our Contributing Guide to see how you can help and give feedback.

🤖 Policy on AI usage: Please read our AI Usage Policy.

🧑🏾‍🤝‍🧑🏼 Code of conduct: This project is released with a Code of Conduct. By participating in this project you agree to abide by its terms.

Imposter syndrome disclaimer: We want your help. No, really. There may be a little voice inside your head that is telling you that you're not ready, that you aren't skilled enough to contribute. We assure you that the little voice in your head is wrong. Most importantly, there are many valuable ways to contribute besides writing code.

This disclaimer was adapted from the MetPy project.

License

This is free software: you can redistribute it and/or modify it under the terms of the BSD 3-clause License. A copy of this license is provided in LICENSE.txt.

Metadata

Release files for choclo 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for choclo 0.5.0
File Size Uploaded Provenance Actions
choclo-0.5.0.tar.gz 33.3 kB With provenance Details for choclo-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for choclo 0.5.0
File Interpreter ABI Platform Actions
choclo-0.5.0-py3-none-any.whl Python 3 none any Details for choclo-0.5.0-py3-none-any.whl

Total release size: 67.2 kB

Release files / choclo-0.5.0.tar.gz

Download URL choclo-0.5.0.tar.gz
Size 33.3 kB
Tags Source
SHA-256 checksum
How to use checksums
077880a97667e0d8db9f274bf92750b98df7e805ee5581967099507010e3bdaf
BLAKE2b-256 checksum
How to use checksums
bc77ff9f183309800eb93ef28b9892d4094020788c78d58858fd3b221ca543a1
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 Nov 26, 2026.

Transparency log

Release files / choclo-0.5.0-py3-none-any.whl

Download URL choclo-0.5.0-py3-none-any.whl
Size 33.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9aa2bd4444ca81e182393f7710c2529f0a3a827c39165162640fafc83299552b
BLAKE2b-256 checksum
How to use checksums
4f33a15998c037ba093d42b720fab5ad4a35a2e9e12905ee7030c48e18cbe10e
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 Nov 26, 2026.

Transparency log

Security for choclo 0.5.0

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.

Select from 2 files

Attestation for choclo-0.5.0.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 Nov 26, 2026.

Transparency log

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.

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