Skip to main content

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

  • 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
  • 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

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)

Source distribution for django-landelayo 1.0.1
File Size Uploaded
django_landelayo-1.0.1.tar.gz 25.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-landelayo 1.0.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

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