A God Like Serializer For God Like Developers.
- 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.
Ahura is a Django model serializer for now, so you must have Django installed and use Django ORM.
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)
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
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
This project is licensed under the MIT License - see the LICENSE.md file for details
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size ahura-0.1.11.tar.gz (4.1 kB)||File type Source||Python version None||Upload date||Hashes View|