Code Monkey home page Code Monkey logo

haircut-calendar's Introduction

理发日历生成器

简介

理发日历生成器是一个Python项目,用于根据农历日期生成从指定起始年份到结束年份的理发吉日日历,并输出为ICS文件格式,方便用户在iOS设备上订阅。该项目基于传统的理发吉日理念,通过农历日期判断每一天理发的吉凶,并生成相应的日历事件。

使用说明

  1. 运行脚本并输入起止年份:
python haircut_ics_creator.py

按照提示输入起始年份和结束年份。

  1. 生成的ICS文件将保存在项目目录下,文件名格式为 haircut_calendar_<起始年份>_to_<结束年份>.ics

  2. 为了方便地在iOS设备上订阅,请使用以下链接:

https://raw.githubusercontent.com/Prometheus-INTJ/Haircut-Calendar/main/haircut_calendar.ics

在iOS设备上订阅日历的步骤:

  • 打开“设置”>“日历”>“账户”>“添加账户”>“其他”>“添加已订阅的日历”
  • 输入上述URL地址并完成订阅。

贡献指南

我们欢迎所有形式的贡献,无论是新功能的提议、bug修复,还是文档和示例的改进。如果您愿意为项目作出贡献,请遵循以下步骤:

  1. Fork项目到您的GitHub账户。
  2. 创建一个新的分支进行修改。
  3. 提交您的更改后,创建一个新的Pull Request。

许可协议

本项目采用Apache License 2.0许可协议。有关更多信息,请查看LICENSE文件。

haircut-calendar's People

Contributors

prometheus-intj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.