Have you received an event description in text form? Do you want to import the text based events into your calendar with one click? You are in the right place!
A Django-based event parser that extracts structured event information from text descriptions. The parser can handle single and multiple events, including details like dates, times, titles, locations, and descriptions.
This is currently localy hosted on my personal server, but I plan on hosting it on a cloud service in the future for easy access. Currently you will need to add your own API key.
- Clone the repository:
git clone <repository-url>
cd event-parser- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Apply database migrations:
python manage.py migrate- Start the development server:
python manage.py runserver- Open your web browser and navigate to local host that your previous step instructed you to do
Parses event information from text.
Request Body:
{
"text": "string"
}Response:
{
"events": [
{
"title": "string",
"date": "YYYY-MM-DD",
"time": "HH:MM-HH:MM",
"location": "string",
"description": "string"
}
]
}Run the test suite:
python manage.py testThis project is licensed under the MIT License - see the LICENSE file for details.

