Bootstrap Amazon Ion into existing projects
Project description
ionized
Bootstrap Amazon Ion into existing projects using ion-python
.
- Free software: Apache Software License 2.0
- Documentation: https://ionized.readthedocs.io.
Features
- Add Amazon-Ion capabilities to a class using the
@ionize
decorator
Usage
Installation
This package is available in Pypi pypi.org/project/ionized
$ pip install ionized
Example
Simply add a decorator before declaring your class
.
from dataclasses import dataclass
from ionized.ionized import ionize
@ionize
@dataclass
class MyData:
name: str
age: int = 0
instance = MyData('Bob', 29)
print(instance.ionize())
Credits
This package was created with Cookiecutter_ and the audreyr/cookiecutter-pypackage
_ project template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ionized-1.1.0.tar.gz
(9.8 kB
view hashes)
Built Distribution
Close
Hashes for ionized-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dac5764b7510287ff2cf08fbbc1db937cde40f24736e9d50a52bda2f293d432 |
|
MD5 | 08b51405cd73e123de504fbc094f273c |
|
BLAKE2b-256 | d09bb6052a506535d8256783ef46b0cf0ceef68ceaa7780b7e747c75e37e1c79 |