Skip to main content

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.

Authors

  • Mahdi Sorkhemiri - Initial work - Sorkhemiri

  • Mohammad Rabetian - Initial work - Rabetian

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ahura-0.1.12.tar.gz (4.1 kB view details)

Uploaded Source

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

Hashes for ahura-0.1.12.tar.gz
Algorithm Hash digest
SHA256 8c5401f3a1217b76f164b4a9f4780f4d2e52f0fce348834e68250b04f0ede643
MD5 c1321c49fc7dcdd481677148713a0775
BLAKE2b-256 659f3e3ccd7217d0c72f2fc2cd3489fedb8c7737df4e58f8d94b3bf58d409ccd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page