Skip to main content

nyxa-storage — batteries-included disks for Nyxa

Local filesystem disk by default under {project}/storage/app. Optional S3 via FILESYSTEM_DISK=s3 (nyxa-storage[s3]).

At a glance

What you need Nyxa Storage
Write to a named disk Storage.disk("local").put
Read / check / remove .get / .exists / .delete
Copy / move .copy(from, to) / .move(from, to) (same disk)
Absolute path for a file .path(relative) → absolute Path (S3: synthetic s3:/bucket/key)

Install

uv add nyxa-storage
uv add 'nyxa-storage[s3]'   # boto3

Quick start

from nyxa_storage import Storage

disk = Storage.disk("local")
disk.put("notes/hello.txt", "hi")
disk.copy("notes/hello.txt", "notes/hello-copy.txt")
disk.move("notes/hello-copy.txt", "archive/hello.txt")
assert disk.exists("notes/hello.txt")

Configuration

FILESYSTEM_DISK=local
# STORAGE_ROOT=/absolute/path/to/storage/app

# S3 (or MinIO / R2)
# FILESYSTEM_DISK=s3
# AWS_BUCKET=my-bucket
# AWS_DEFAULT_REGION=us-east-1
# AWS_ACCESS_KEY_ID=...
# AWS_SECRET_ACCESS_KEY=...
# AWS_ENDPOINT_URL=https://...   # optional

Release files for nyxa-storage 0.1.0

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

Source distribution (sdist)

Source distribution for nyxa-storage 0.1.0
File Size Uploaded
nyxa_storage-0.1.0.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nyxa-storage 0.1.0
File Interpreter ABI Platform
nyxa_storage-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 kB

Release files / nyxa_storage-0.1.0.tar.gz

Download URL nyxa_storage-0.1.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dc03a55d90c8f9b9741606eb8b5b3d6ffb650a9de110180aaf20876120202524
BLAKE2b-256 checksum
How to use checksums
39982de060420bbdeafdfdf9314fcc987435a1efda3ebf000f4dd258b1eb4181
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.20 {"installer":{"name":"uv","version":"0.12.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / nyxa_storage-0.1.0-py3-none-any.whl

Download URL nyxa_storage-0.1.0-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab88a1e6daa839629b85ae6056d3256075bb94ea972facd6a62b4c7bcb9f0f79
BLAKE2b-256 checksum
How to use checksums
b938d37f32d9ec6d834bd99b438f09153d681428310b17322e8660365b1fe80e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.20 {"installer":{"name":"uv","version":"0.12.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release 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