Osiris
Osiris is a Python library for data conversion and management. It is designed to facilitate the transformation of data into Cairo programs. The library supports various input and output formats including CSV, Parquet, and Numpy, with a primary focus on generating Cairo files that represent the data. This makes the data easily consumable in Cairo programs, providing an efficient and optimized process for data conversion.
Installation
Use the package manager Poetry to install osiris.
poetry add giza-osiris
Local Development
To setup local development environment, clone the repository and install dependencies using Poetry.
git clone https://github.com/gizatechxyz/osiris.git
cd osiris
poetry install
Features
- Supports various input and output formats including CSV, Parquet, and Numpy. The primary focus is on generating Cairo files that represent the data.
- Efficient data conversion and management. The conversion process is optimized for transforming data into Cairo format, which makes the data easily consumable in Cairo programs.
Usage
Python API
from osiris import convert
convert(input_file='data.csv', output_file='data.cairo', input_format='csv', output_format='cairo')
CLI
osiris examples/preprocessed_image.npy data.cairo --input-format numpy --output-format cairo
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Metadata
Release files for giza-osiris 0.2.9
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 | Actions |
|---|---|---|---|---|
| giza_osiris-0.2.9.tar.gz | 9.6 kB | Without provenance | Details for giza_osiris-0.2.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| giza_osiris-0.2.9-py3-none-any.whl | Python 3 | none | any | Details for giza_osiris-0.2.9-py3-none-any.whl |
Total release size: 22.5 kB
Release files / giza_osiris-0.2.9.tar.gz
| Download URL | giza_osiris-0.2.9.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a5dc46f2cbbb3967ad909646da382add7f1562f6df054a5a54d85dd68d57a60
|
|
BLAKE2b-256 checksum How to use checksums |
2c90b413e1196332ee2e9e9173af3267b164dfee773794aac12e4ee472709546
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / giza_osiris-0.2.9-py3-none-any.whl
| Download URL | giza_osiris-0.2.9-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81546c4ebc2d216f939bb15a464712f781b99dbdb05aa5bde0dc89e3446daeca
|
|
BLAKE2b-256 checksum How to use checksums |
ed59a8850da0b9d2c470200a0a9f11d63c9a477358308467bfe2323a65707b04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Security for giza-osiris 0.2.9
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.