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 coms With diverse features designed to fit in all different occasions. Feel free to contribute in case of detecting issues or if any new idea came to your mind.
Prerequisites
Ahura is a Django Model Seriliazer 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 Seriliazer and use it like the example below.
>>> from ahura import Seriliazer
>>> from myapp.models import MyModel
>>> my_objects = MyModel.objects.all()
>>> s = Seriliazer(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 with. we are going to go through some of these options below.
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.