Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Art Fair Calendar

Transforms the data from the Art Fairs Service Website into an ICS calendar.

Installation

git clone https://github.com/Aunsiels/artfaircalendar
cd artfaircalendar
pip3 install -r requirements.txt
export PYTHONPATH=$PYTHONPATH:`pwd`

Simple use case

import datetime
from dateutil.relativedelta import relativedelta
from artfaircalendar.calendar import Calendar
calendar = Calendar.from_end_date(datetime.datetime.now() + relativedelta(months=+1))
calendar = calendar.filter_by_country("France")
calendar.write_ics("my_calendar.ics")

About

Export the calendar from Art Fairs Service to .ics

Resources

Releases

No releases published

Packages

No packages published

Languages