'A set of django rest apis to manage your calendar'
Project description
Landelayo
Introduction
Landelayo is a set of Django REST API's to manage your calendars, events and their occurrences.
This project was inspired by django-scheduler project but with a narrower focus and a REST API.
Install And Setup
pip install django-landelayo
Landelayo uses the DefaultRouter provided by the django rest-framework.
To incorporate it into your projects urls.py file with your other apis, you can do the following
from django.urls import include, path
from rest_framework.routers import DefaultRouter
from landelayo.urls import router as landelayo_router
# Your Main Project Router
router = DefaultRouter()
router.registry.extend(landelayo_router.registry)
urlpatterns = [
path('api/v1/', include(router.urls)),
...
]
Settings
A Configuration variable called LANDELAYO_USER_SERIALIZER is available to use your own user serializer.
The default is landelayo.settings.UserSerializer
ViewSets
There are 3 Api's that are provided.
-
Calendar
- Eg:
http://localhost:8000/api/v1/calendars - Grouping events.
- Allows for the creating and editing of different calendar names.
- More Documentation and Screenshots Here
- Eg:
-
Events
- Eg:
http://localhost:8000/api/v1/events - This allows for the creation and editing of events.
- This also allows for setting the rules for event occurrences.
- More Documentation and Screenshots Here
- Eg:
-
Upcoming
- Eg:
http://localhost:8000/api/v1/upcoming - View event occurrences over a particular date period (DAY, WEEK, MONTH)
- The is also an option to view over a custom period (CUSTOM)
- More Documentation and Screenshots Here
- Eg:
OpenAPI
Landelayo has support for swagger docs
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_landelayo-1.0.1.tar.gz.
File metadata
- Download URL: django_landelayo-1.0.1.tar.gz
- Upload date:
- Size: 25.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5f36361d248262d4b4863577e9ac444c87f996702a0f83958759e93a84b56fb
|
|
| MD5 |
af8f3a67bd8b37c1da95623cbb213a56
|
|
| BLAKE2b-256 |
9d3d017e1d03a3b36bd5edbaff968da33ba4af3894b5aea2801ef7cb47f9f8c2
|
File details
Details for the file django_landelayo-1.0.1-py3-none-any.whl.
File metadata
- Download URL: django_landelayo-1.0.1-py3-none-any.whl
- Upload date:
- Size: 24.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22e290d4f930b6084f73d0b8fb2f602aa20e5eacb24c24a892a01c5388222ba4
|
|
| MD5 |
dc95bbf9fba148e0c259a7a83ca9baad
|
|
| BLAKE2b-256 |
33f594d66c07b6c3b29c4e9b24e9cee6346c44d043faedb903d25e5e53f2cec5
|