Skip to main content

Django Library RESTful API

project description

A django app RESTful api to manage multiple libraries concurrently.

  1. Can add many library
  2. Book shelves can be added to any library with a specific number
  3. Lending books from libraries to one user can be managed

About

This is a RESTful api to manage multiple libraries that borrow book to user. the admin.py create good django adminstration for library that you can:

  1. Search name , author or user that borrow book
  2. Filter author of books
  3. Search book and library between list of shelves
  4. Filter shelves of specific library
  5. Search Library in specific city
  6. Look for which library has a specific book
  7. Filter borrows list with borrow date and give back date

Installation

Install using pip::

pip install djangorestframework
pip install django-library-restful
  1. Add "polls" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [ ... 'django_library_restful', ]

  2. Include the library URLconf in your project urls.py like this::

from django.urls import path, include
from django_library_restfull.router import bookstore_api_router

urlpatterns = [
    path('api/library/', include(bookstore_api_router.urls))
]    
  1. Run python manage.py makemigrations django_library_restfull to create the sql.

  2. Run python manage.py migrate to create the polls models.

  3. Use library api

License

Uses the MIT license.

Release files for django-library-restful 0.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-library-restful 0.0.11
File Size Uploaded
django_library_restful-0.0.11.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-library-restful 0.0.11
File Interpreter ABI Platform
django_library_restful-0.0.11-py3-none-any.whl Python 3 none any Details

Total release size: 13.2 kB

Release files / django_library_restful-0.0.11.tar.gz

Download URL django_library_restful-0.0.11.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a8ad942938d5e44dd28b2b091ffb3a85bcba5c051ed7d5249929be31b7d86369
BLAKE2b-256 checksum
How to use checksums
43fab565830978014e199e5da79d1a344e8db1044619caea8e2b8b6c77ea7326
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

Release files / django_library_restful-0.0.11-py3-none-any.whl

Download URL django_library_restful-0.0.11-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cc8e7ff411b1e828c8c11595352f755007e0f39b56027299fd0a174de2112c78
BLAKE2b-256 checksum
How to use checksums
97b1f03856fa9d0995279d04392b14d1894226390a1cc7367a3bc1da083d237f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

Release history Release notifications | RSS feed

This release

0.0.11 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page