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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

baselode-0.1.54.tar.gz (144.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

baselode-0.1.54-py3-none-any.whl (158.5 kB view details)

Uploaded Python 3

File details

Details for the file baselode-0.1.54.tar.gz.

File metadata

  • Download URL: baselode-0.1.54.tar.gz
  • Upload date:
  • Size: 144.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for baselode-0.1.54.tar.gz
Algorithm Hash digest
SHA256 2d5ee4ef97c7a7f50dad02ad490c29b59f92859e6512bb300b431269177187a8
MD5 6ee2b21196f6c072e3b1e20b1fb95f61
BLAKE2b-256 a8570d183aea20ab61eddb893c2378479f8af0bdb71b95689e1932ec216fd0a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for baselode-0.1.54.tar.gz:

Publisher: release.yml on darkmine-oss/baselode

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baselode-0.1.54-py3-none-any.whl.

File metadata

  • Download URL: baselode-0.1.54-py3-none-any.whl
  • Upload date:
  • Size: 158.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for baselode-0.1.54-py3-none-any.whl
Algorithm Hash digest
SHA256 c6da6baf9f73e2f0aa8e0f20e3ab73f6b0ff5655a2b82a460de51836c9ecebad
MD5 43e6171ba4937bc95067b112bcc9dad4
BLAKE2b-256 308e9f8d2573509b405c6157b97db8631be6cd5bce74e499da9dad2d209b2afa

See more details on using hashes here.

Provenance

The following attestation bundles were made for baselode-0.1.54-py3-none-any.whl:

Publisher: release.yml on darkmine-oss/baselode

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.55

2 files

This release

0.1.54 This release

2 files

0.1.53

2 files

0.1.52

2 files

0.1.51

2 files

0.1.50

2 files

0.1.49

2 files

0.1.48

2 files

0.1.47

2 files

0.1.46

2 files

0.1.45

2 files

0.1.44

2 files

0.1.43

2 files

0.1.42

2 files

0.1.41

2 files

0.1.40

2 files

0.1.39

2 files

0.1.38

2 files

0.1.37

2 files

0.1.36

2 files

0.1.35

2 files

0.1.34

2 files

0.1.33

2 files

0.1.32

2 files

0.1.31

2 files

0.1.30

2 files

0.1.29

2 files

0.1.28

2 files

0.1.27

2 files

0.1.26

2 files

0.1.24

2 files

0.1.23

2 files

0.1.22

2 files

0.1.21

2 files

0.1.20

2 files

0.1.19

2 files

0.1.18

2 files

0.1.17

2 files

0.1.16

2 files

0.1.15

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

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