SDDS
This package provides reading and writing functionality for self describing data sets (sdds) files. On the python side, the data is stored in a class structure with attributes corresponding to the sdds-format itself (see sdds-format).
See the API documentation for details.
Installing
Installation is easily done via pip:
python -m pip install sdds
One can also install in a conda environment via the conda-forge channel with:
conda install -c conda-forge sdds
Example Usage
import sdds
sdds_data = sdds.read("path_to_input.sdds")
sdds.write(sdds_data, "path_to_output.sdds")
Read files with different endianness
By default the endianness (byte order) of the file is determined either by
a comment !# little-endian or !# big-endian in the header of the file.
If this comment is not found, the endianness of the running machine is assumed.
One can force a certain kind of endianness to the reader by supplying it to the read function:
import sdds
sdds_data = sdds.read("path_to_input_with_big_endian.sdds", endianness="big")
sdds_data = sdds.read("path_to_input_with_little_endian.sdds", endianness="little")
Be aware that sdds.write will always write the file in big-endian order and
will also leave a comment in the file, so that the reader can determine the
endianness and there is no need to supply it when reading
a file written by this package.
Known Issues
- Can't read binary columns
- No support for
&includetag
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for sdds 0.4.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| sdds-0.4.3.tar.gz | 14.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sdds-0.4.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.8 kB
Release files / sdds-0.4.3.tar.gz
| Download URL | sdds-0.4.3.tar.gz |
|---|---|
| Size | 14.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5c9b8b82283c7c3fcd7d5416f686a93132a0e3447e527833f829d2b16dc71df
|
|
BLAKE2b-256 checksum How to use checksums |
c541fba3994d22c4565816843fd05c779a3fed54221a16e947f358811d19c69e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"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 / sdds-0.4.3-py3-none-any.whl
| Download URL | sdds-0.4.3-py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5138a19883709ec1b7394756f3d85deaed04bd4a99c4ace3f9c2e258abb9b103
|
|
BLAKE2b-256 checksum How to use checksums |
dbba3fa2e90b6dbe334a741371ae54b904df8359c94e66aa5ea0db002ad21bb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"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}
|
Security for sdds 0.4.3
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.