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.52.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.52-py3-none-any.whl (158.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: baselode-0.1.52.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.52.tar.gz
Algorithm Hash digest
SHA256 eeb34224c33ddd22b22edd5b907eae790949a3b7bc9d8750d389276168eb5f8c
MD5 91c0c0daf04532c91ab043334abcb314
BLAKE2b-256 0a5b62337b6feb85df8d9a34f5c694596ec292fde707874361d3cd04a3a7dded

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: baselode-0.1.52-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.52-py3-none-any.whl
Algorithm Hash digest
SHA256 e70a1d4cda25839085ed450bc990ede3ac71f24bf72fea4f72fa7c6f3a335d70
MD5 b27760b318b597a4474d7052446e09c1
BLAKE2b-256 dabe896b0d60be5e38cb5d88a0dd825e31cd88de6e9e20e65090e9930b8ab122

See more details on using hashes here.

Provenance

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

This release

0.1.52 This release

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