Searching for a calendar script : agenda / event planner

Previous topic - Next topic

forest_bear59

Hello,

I have evaluated the MonthlyCalendar script and find it extremely useful. I'll use it for my calendar production (photo calendar A4 vertical). I have another type of calendar I'd like to make but the script doesn't fit this purpose.
I want to print A3 calendars (horizontal) where the days are ...
       1.) in a single line at the bottom of the page
       2.) in a single column at the left side of the page, and there should be a line of about 8cm (+/-) length to make a little note.
If holidays and moonphases could be included this would be gold standard for me. ;) .

Regrettably I have not programmed for some years - and no experience in python. So I hope to find a solution 'the easy way'. Is there something available You know about or will I have to modify a calendar script? What I'd like to avoid is to look for a PDF-calendarium 'somewhere in the net' every year and modify it using a lot of time. This 'lot of time' I'd prefer to invest in re-learning programming ...

Hope there is something useful out there.

Thanks for Your time, reading and - maybe - answering.

Best regards
Stephan

forest_bear59

In the meantime I have programmed the desired solution.

It works like intended. I have added the functionality to start calendar creation at any desired month (f.ex. to make a calendar starting Juli 2023 until June 2024). Still there are some restrictions (only DIN A3 landscape orientation and no good input routine) so some work still has to be done.
If someone is interested I'll post my solution here when it's 'presentable'.

Stephan

DavyB

Hi! Sorry it's a little bit late but I hope you will get my reply: Is it possible to know how to access the functionality you developed?

Thanks,
Davy

hjh

Quote from: forest_bear59 on January 08, 2023, 05:21:59 PMIn the meantime I have programmed the desired solution.

It works like intended. I have added the functionality to start calendar creation at any desired month (f.ex. to make a calendar starting Juli 2023 until June 2024). Still there are some restrictions (only DIN A3 landscape orientation and no good input routine) so some work still has to be done.
If someone is interested I'll post my solution here when it's 'presentable'.

Stephan

Hi Stephan

I am interested in your script covering a different type of calendar than the one which comes with the calendar wizard and the ones done by Rafferty.

Is it possible to get your code even if it is not "presentable". I am ready to improve it in case of necessity. It is easier to start with something working for me rather than start from scratch.

Regards
Hannes

------
Here are the links to the existing calendar scripts I found so far

## Calendar wizard
built in
gives a good 12 page calendar with image on top

hacking the built in calendar script
https://wiki.scribus.net/canvas/CalendarWizard



## Yearly calendar

https://github.com/RaffertyR/Year-Calendar-Script-for-Scribus


## Monthly calendar
to put in the scripts directory
https://github.com/RaffertyR/Monthly-calendar-script-for-Scribus
dev notes
https://forums.scribus.net/index.php?topic=3495.0

hjh

I wrote a small script which may serve as a start for an agenda / event planner and posted it to

https://wiki.scribus.net/canvas/Planner

I will continue working on it.

Feedback / enhancements welcome.

--Hannes

a.l.e

Works well here!

planner.png

A few things I noticed:

  • numberOfColumns might be renamed in numberOfMonths (or lastMonth) to better show its usage.
  • originX and origin Y should use the margins, not be a fixed value.
  • Put the four variables that can be configured as constants (all caps) at the start of the script.
  • For the year and the month, you could set the current ones as the default values (datetime.now().year, datetime.now().month)
  • Since the world has different standards, you might add a constant to define the start of the week on Mondays or Sundays
  • And here is my pet peeve: the first line "#!/usr/bin/env python" is useless or even misleading: you can't run this script from a terminal, so no need to define the executable (the second line with the encoding is probably also useless and i guess it's just ignored)