Skip to main content

PyAutoNerves

PyAutoNerves

PyAutoScientist GitHub PyAutoScientist ReadTheDocs

PyAutoNerves is the Nerves of the PyAutoScientist — the configuration, serialization, and I/O foundation (package autonerves) connecting the workspace's conventions to every library. It provides a layered configuration system with workspace overrides, dict / JSON / CSV serialization of arbitrary objects, and FITS I/O.

PyAutoFit, PyAutoArray, PyAutoGalaxy, and PyAutoLens all depend on autonerves: it supplies their packaged default config, the object-serialization used to persist models and results, and shared utilities (test_mode, jax_wrapper). Centralising these here keeps a single, consistent config and I/O layer beneath every library. As a released library it ships with every nightly train — see the PyAutoHands release board for the current version.

Install

pip install autonerves

Examples

Layered config — read a directory of YAML into a queryable Config:

from autonerves.conf import Config

config = Config("path/to/config")          # directory of YAML files
value = config["general"]["model"]["section"]["value"]

JSON serialization — round-trip arbitrary Python objects:

from autonerves.dictable import output_to_json, from_json

data = {"sersic_index": 4.0, "centre": [0.0, 0.0]}
output_to_json(data, "model.json")
restored = from_json("model.json")         # == data

FITS I/O — write and read a NumPy array:

import numpy as np
from autonerves.fitsable import output_to_fits, ndarray_via_fits_from

arr = np.arange(12.0).reshape(3, 4)
output_to_fits(values=arr, file_path="demo.fits", overwrite=True)
loaded = ndarray_via_fits_from(file_path="demo.fits", hdu=0)   # np.allclose(arr, loaded)

Links

Download files

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

Source Distribution

autonerves-2026.8.29.1.tar.gz (153.3 kB view details)

Uploaded Source

Built Distribution

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

autonerves-2026.8.29.1-py3-none-any.whl (39.3 kB view details)

Uploaded Python 3

File details

Details for the file autonerves-2026.8.29.1.tar.gz.

File metadata

  • Download URL: autonerves-2026.8.29.1.tar.gz
  • Upload date:
  • Size: 153.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.14

File hashes

Hashes for autonerves-2026.8.29.1.tar.gz
Algorithm Hash digest
SHA256 ed6a7ddddd8cd4bc67676f99ff33e4e1609265dbed64a268974cd7f257bd53aa
MD5 62da7867ca4767737f9c087b49f6ab29
BLAKE2b-256 1981d46d2d4521bf7ba22f60338cc1e627bc1706478cffc8f628f33c3e929907

See more details on using hashes here.

File details

Details for the file autonerves-2026.8.29.1-py3-none-any.whl.

File metadata

File hashes

Hashes for autonerves-2026.8.29.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6881d10be104021b251f2a7aa6b1ea7ec9c1aaa84c10c33e35b9231ee429f745
MD5 2c33b5470c90b02a5115db5f2767901d
BLAKE2b-256 5a0696ec80eaad6aa3260a9e1e84adcc83457d7310d76bcc157acc0455775e8b

See more details on using hashes here.

Release history Release notifications | RSS feed

2026.9.15.1

2 files

2026.9.14.1

2 files

2026.9.11.1

2 files

2026.9.8.1

2 files

2026.9.4.1

2 files

This release

2026.8.29.1 This release

2 files

2026.8.23.1

2 files

2026.8.22.1

2 files

2026.8.20.1

2 files

2026.8.17.1

2 files

2026.8.15.1

2 files

2026.8.14.1

2 files

2026.8.7.1

2 files

2026.8.4.1

2 files

2026.7.29.2

2 files

2026.7.29.1

2 files

2026.7.27.1

2 files

2026.7.25.2

2 files

2026.7.25.1

2 files

2026.7.23.1

2 files

2026.7.22.1

2 files

2026.7.19.1

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