Skip to main content

BASELODE (Python)

Baselode is an open-source Python toolkit for working with structured exploration and mining datasets.

Version 0.1.0 focuses on domain-aware data models and validation utilities for drillhole-style data. The goal is to provide a consistent foundation for analytics, visualization, and AI workflows.


Installation

pip install baselode

Requires: Python 3.10+


Example

import baselode.drill.data

gdf = baselode.drill.data.load_collars(COLLAR_CSV)

Export canonical projects

Use baselode.export to normalize serialization-sensitive values once and atomically write matching CSV/Parquet tables plus a manifest:

import baselode.export

manifest = baselode.export.write_project(
    {
        "collars": collars,
        "survey": survey,
        "assays": assays,
    },
    "output/my-project",
)

Known canonical identifiers such as hole_id, sample_id, and project_id are exported as nullable strings. Mixed object columns are string-normalized, nested values are JSON-encoded, and nulls remain null. Source-specific joins, filtering, and output policy belong in the calling adaptor or workflow.


Included in 0.1.0

  • Drillhole collar, survey, and assay models
  • Downhole interval structures
  • Basic validation utilities
  • Strip log visualisations
  • Map visualisations
  • 3D visualisations (requires the baselode javascript module from npm)

Design Principles

  • Explicit domain models (not generic tables)
  • Minimal dependencies
  • Visualisation tooling as key to data analysis
  • Designed for integration with analytics, GIS, and AI systems

Roadmap

Future releases may include:

  • Assay and lithology schemas
  • Geospatial helpers
  • Interoperability with common mining formats
  • Visualization adapters

License

GNU General Public License v3.0 or later (GPL-3.0-or-later).

See the LICENSE file in this repository for full details.


Contributing

Contributions and issue reports are welcome via GitHub.

Metadata

Release files for baselode 0.1.60

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

Source distribution (sdist)

Source distribution for baselode 0.1.60
File Size Uploaded Provenance Actions
baselode-0.1.60.tar.gz 161.5 kB With provenance Details for baselode-0.1.60.tar.gz

Built distribution (wheel)

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

Total release size: 338.3 kB

Release files / baselode-0.1.60.tar.gz

Download URL baselode-0.1.60.tar.gz
Size 161.5 kB
Tags Source
SHA-256 checksum
How to use checksums
161e95531043b28a34c951fcc7b2504878ed9e39017576151e1c015c79c8d19c
BLAKE2b-256 checksum
How to use checksums
af2e7eb4bc1382376c7d16cd322b33b4e2d1014ce299815f3462a7fcad01c8ee
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 26, 2026.

Transparency log

Release files / baselode-0.1.60-py3-none-any.whl

Download URL baselode-0.1.60-py3-none-any.whl
Size 176.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c815e740dc1197d17ad7d54c1599b73bdcec5e019ad77e0d5e4e9c80eece953
BLAKE2b-256 checksum
How to use checksums
ab657e581d6e1633b77eb3f147c4c9d88c54707dc1cd4c070f1ac3cd91215d2a
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 26, 2026.

Transparency log

Security for baselode 0.1.60

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for baselode-0.1.60.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 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.

Release history Release notifications | RSS feed

This release

0.1.60 This release

2 release files Full provenance

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