A God Like Serializer For God Like Developers.
Project description
- a God like Serializer for God like Developers.
- Ahura is an Automatic easy to use Django serializer. it comes With diverse features designed to fit in all different occasions. Feel free to contribute in case of detecting issues or if any new ideas came to your mind.
Prerequisites
Ahura is a Django model serializer for now, so you must have Django installed and use Django ORM.
Installing
For using Ahura you just need to install it using pip.
$pip install ahura
or clone the project. then import the Serializer and use it like the example below.
>>> from ahura import Serializer
>>> from myapp.models import MyModel
>>> my_objects = MyModel.objects.all()
>>> s = Serializer(exclude=["password"], date_format="%Y-%m-%d")
>>> data = s.serialize(my_objects)
Getting Started
using ahura is easy as you can see above while it gives you many different options to modify your model’s json. let’s go through some of these options.
this part is not complete but we will add the documention very soon
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
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
File details
Details for the file ahura-0.1.12.tar.gz
.
File metadata
- Download URL: ahura-0.1.12.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c5401f3a1217b76f164b4a9f4780f4d2e52f0fce348834e68250b04f0ede643 |
|
MD5 | c1321c49fc7dcdd481677148713a0775 |
|
BLAKE2b-256 | 659f3e3ccd7217d0c72f2fc2cd3489fedb8c7737df4e58f8d94b3bf58d409ccd |