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.12+


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.47.tar.gz (138.6 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.47-py3-none-any.whl (153.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: baselode-0.1.47.tar.gz
  • Upload date:
  • Size: 138.6 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.47.tar.gz
Algorithm Hash digest
SHA256 061e14491e8bcbbd6bd09127db72523077a84bb44b4e9c7f14a7f108d8d8fd86
MD5 21cb72fccc3609b21094642a76831377
BLAKE2b-256 2a5c3d57afe22b86b0dc271e7b25464923b051de5c63148780a18a7f25978b3f

See more details on using hashes here.

Provenance

The following attestation bundles were made for baselode-0.1.47.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.47-py3-none-any.whl.

File metadata

  • Download URL: baselode-0.1.47-py3-none-any.whl
  • Upload date:
  • Size: 153.3 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.47-py3-none-any.whl
Algorithm Hash digest
SHA256 fb4c36855253e3c4ba100d359d89a94ac40efd8a3b86aa6087507a260a721ff3
MD5 e4a8e17baf56aedbf8c411587c2674da
BLAKE2b-256 ff2d3f17657b21ae9ae2bb27774c123bdc1c106ab41a73908314b94ba8163e73

See more details on using hashes here.

Provenance

The following attestation bundles were made for baselode-0.1.47-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

0.1.54

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

This release

0.1.47 This release

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