New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tsv-calendar

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsv-calendar

TSV Reader for bunzbar Project

  • 2022.12.14
  • PyPI
  • Socket score

Maintainers
1

Example.tsv

- Day(0-6)	Name	Desc	Starts	Ends
-
0	Coding	Python Package	1520	1620
1	Coding	Java	1400	1600
- Dash will get ignored to allow comments in TSV File
5	Grass	Touch Grass	1600	1700

Example.py

import tsv_calendar

tsv = tsv_calendar.TSV_Read("Example.tsv")

if(tsv.current()): #If there is none, tsv.current() returns False.
	print(f"Current Event: {tsv.current(tsv_calendar.GET.NAME)}") #Prints Name of current Event.
if(tsv.next(Entire_Week=True)): #Standard is False. If set to True, it not only checks for the next Event Today, but for the next Event this Week.
	print(f"The Next Event is {tsv.next(tsv_calendar.GET.NAME, True)}. It starts in {tsv.next(tsv_calendar.GET.START_TIMER, True)}!") #Prints Name and Time till next Event.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc