Skip to main content

neutronium

Framework-agnostic Python utilities, extracted from Gaussian's internal infrastructure. No Django, no web framework, no cloud SDK in the base install — everything third-party is an optional extra.

pip install neutronium              # base: zero dependencies
pip install neutronium[text]        # inflection-backed pluralize/singularize
pip install neutronium[xpath]       # lxml-backed HTML/XPath helpers

What's inside

Module What it gives you
neutronium.utils.text Text normalization, slugs, tokenization, pluralize/singularize
neutronium.utils.time Timezone-aware datetime helpers
neutronium.utils.iterable Chunking, grouping, flattening, dict utilities
neutronium.utils.template_context Pure template-variable extraction and context building
neutronium.utils.json_patch RFC-6901 JSON pointer / merge-patch primitives
neutronium.utils.hash blake2b content hashing helpers
neutronium.utils.schema JSON-schema → default-dict
neutronium.utils.xpath lxml HTML parsing + link extraction ([xpath])
neutronium.utils.url URL parse / canonicalize / normalize / domain extraction ([url])
neutronium.requester Resilient HTTP fetcher with retries/paywall/no-index detection ([requests])
neutronium.utils.file Pickle / text / JSONC file helpers
neutronium.utils.performance Simple multi-level timer
neutronium.utils.email Canonical email normalization
neutronium.utils.{aws,ssm,s3} EC2/ECS instance metadata, SSM parameter fetch, S3 upload/download ([aws])
neutronium.utils.{print,params,profiling,memory,url_credentials} Assorted small utilities
neutronium.threads.thread_simple Minimal threading helpers
neutronium.telemetry Request-context vars, RequestFacts, pluggable sinks
neutronium.logging JSON / dev-console log formatters and context filters

Optional extras

text, time, aws, url, requests, memory, memory-extended, xpath, otel, profiling — install only what you use.

  • aws → boto3, requests, ec2-metadata (for neutronium.utils.aws / ssm / s3)
  • url → tldextract (only for get_url_domain; the rest of neutronium.utils.url is pure stdlib)
  • memory → psutil (for print_memory_usage); memory-extended → pympler, objgraph (for the heap/objgraph tools — opt in only if you use them)

Development

uv run --all-extras pytest   # installs all optional extras + the dev group

License

MIT © Gaussian Holdings, LLC

Metadata

Release files for neutronium 0.3.2

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

Source distribution (sdist)

Source distribution for neutronium 0.3.2
File Size Uploaded Provenance
neutronium-0.3.2.tar.gz 55.3 kB With provenance Details

Built distribution (wheel)

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

Total release size: 108.3 kB

Release files / neutronium-0.3.2.tar.gz

Download URL neutronium-0.3.2.tar.gz
Size 55.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5dfd4b3f4c5049970828b80cbc23e749877ce745926913b1578d06ce7f95375b
BLAKE2b-256 checksum
How to use checksums
15c84c1efbe6c829e1ebf6f5b680dc214f732e464898a166082bd93db010b27d
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 24, 2026.

Transparency log

Release files / neutronium-0.3.2-py3-none-any.whl

Download URL neutronium-0.3.2-py3-none-any.whl
Size 53.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb3d6ea3ae1cf275a0aef411496dce64d032a25dbae873ce97869e1e9ee639ca
BLAKE2b-256 checksum
How to use checksums
510048f1b470b73a656509530b67e97cdb1c8dd9f0d0f688a6ee425edf9b48d2
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 24, 2026.

Transparency log

Security for neutronium 0.3.2

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 neutronium-0.3.2.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 24, 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.

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