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
Metadata
Release files for django-landelayo 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_landelayo-1.0.1.tar.gz | 25.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_landelayo-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.5 kB
Release files / django_landelayo-1.0.1.tar.gz
| Download URL | django_landelayo-1.0.1.tar.gz |
|---|---|
| Size | 25.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5f36361d248262d4b4863577e9ac444c87f996702a0f83958759e93a84b56fb
|
|
BLAKE2b-256 checksum How to use checksums |
9d3d017e1d03a3b36bd5edbaff968da33ba4af3894b5aea2801ef7cb47f9f8c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.2
|
Release files / django_landelayo-1.0.1-py3-none-any.whl
| Download URL | django_landelayo-1.0.1-py3-none-any.whl |
|---|---|
| Size | 24.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
22e290d4f930b6084f73d0b8fb2f602aa20e5eacb24c24a892a01c5388222ba4
|
|
BLAKE2b-256 checksum How to use checksums |
33f594d66c07b6c3b29c4e9b24e9cee6346c44d043faedb903d25e5e53f2cec5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.2
|