Skip to main content

'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

  • 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

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

django_landelayo-1.0.1.tar.gz (25.5 kB view hashes)

Uploaded Source

Built Distribution

django_landelayo-1.0.1-py3-none-any.whl (24.0 kB view hashes)

Uploaded Python 3

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