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.49.tar.gz (139.3 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.49-py3-none-any.whl (154.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: baselode-0.1.49.tar.gz
  • Upload date:
  • Size: 139.3 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.49.tar.gz
Algorithm Hash digest
SHA256 aa0f4387901daf1c94fc35b7f51e16ee11e3a18a3b243afe010f48106e281460
MD5 bea0e771aa4dd73b3038d8ba566e4cb9
BLAKE2b-256 627283e67f1a095c660f4dd17a6c7bd6e99edce6192e68b061840b20d25749ff

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: baselode-0.1.49-py3-none-any.whl
  • Upload date:
  • Size: 154.1 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.49-py3-none-any.whl
Algorithm Hash digest
SHA256 fa1a3c30e879d1ec5a818efbe3d81e2b59a1070556840f598be33c2153233b28
MD5 9a7be850eb8f08df0af6c22b5ba58ca5
BLAKE2b-256 8b579c47534e5f4b2b2c6829ce78caff037edb256891472bb14dd6b4f58c4b92

See more details on using hashes here.

Provenance

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

This release

0.1.49 This release

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