Skip to main content

barc4shadow

Small helper package for SHADOW4 beamlines.

It converts SHADOW4 beamlines into a simple layout dictionary and provides Matplotlib plotting utilities for single or overlaid beamline configurations.

Install

pip install barc4shadow

For local development:

pip install -e .

Usage

from barc4shadow import s4_beamline_to_layout, throw, plot_beamline

layout = s4_beamline_to_layout(beamline)
optical_path = throw(layout)
plot_beamline(layout)

Requirements

Python 3.10 or newer, with numpy, matplotlib, and shadow4.


PyPI License: CeCILL-2.1 DOI

Metadata

Release files for barc4shadow 2026.7.22

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

Source distribution (sdist)

Source distribution for barc4shadow 2026.7.22
File Size Uploaded Provenance
barc4shadow-2026.7.22.tar.gz 37.9 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 76.0 kB

Release files / barc4shadow-2026.7.22.tar.gz

Download URL barc4shadow-2026.7.22.tar.gz
Size 37.9 kB
Tags Source
SHA-256 checksum
How to use checksums
46c685374e78d5398332f4f46b55fd28e9aca007737c026c121452f2251b9c87
BLAKE2b-256 checksum
How to use checksums
878f90feeb28769a925f14ff8d0f9860670ee7fa85ecccb0c341b97e267bef5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / barc4shadow-2026.7.22-py3-none-any.whl

Download URL barc4shadow-2026.7.22-py3-none-any.whl
Size 38.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c028e9447207a2581658d9de0d1a52343ee4dbf84b32caefbae472211cf0361
BLAKE2b-256 checksum
How to use checksums
58fe7e9158b7a6637e2491530d5349a4194d1aaba31eea7fc08c603086babdae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for barc4shadow 2026.7.22

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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