forked from py-vobject/vobject
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- using LF as eol
- Loading branch information
Showing
16 changed files
with
1,114 additions
and
1,101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* text eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
Enormous thanks to: | ||
Jeffrey Harris, for his incredible work on the original package | ||
Tim Baxter, for all his work maintaining vobject over the past few years | ||
Adieu, for keeping things alive on github | ||
Kristian Glass, for his enormous help with testing and Python3 matters | ||
Gustavo Niemeyer, for all his work on dateutil | ||
Dave Cridland, for helping talk about vobject and working on vcard | ||
TJ Gabbour, for putting his heart into parsing | ||
Sameen Karim and Will Percival, for maintaining the package at Eventable. | ||
Enormous thanks to: | ||
Jeffrey Harris, for his incredible work on the original package | ||
Tim Baxter, for all his work maintaining vobject over the past few years | ||
Adieu, for keeping things alive on github | ||
Kristian Glass, for his enormous help with testing and Python3 matters | ||
Gustavo Niemeyer, for all his work on dateutil | ||
Dave Cridland, for helping talk about vobject and working on vcard | ||
TJ Gabbour, for putting his heart into parsing | ||
Sameen Karim and Will Percival, for maintaining the package at Eventable. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[tool.black] | ||
target-version = ["py37", "py38", "py39", "py310", "py311"] | ||
line-length = 120 | ||
skip-magic-trailing-comma = true | ||
|
||
[tool.flake8] | ||
max-line-length = 120 | ||
ignore = ["E203", "E266", "E501", "W503"] | ||
exclude = [".git", "__pycache__", "venv"] | ||
per-file-ignores = ["*/__init__.py: F401"] | ||
|
||
[tool.isort] | ||
profile = "black" | ||
multi_line_output = 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,62 @@ | ||
""" | ||
VObject: module for reading vCard and vCalendar files | ||
Description | ||
----------- | ||
Parses iCalendar and vCard files into Python data structures, decoding the | ||
relevant encodings. Also serializes vobject data structures to iCalendar, vCard, | ||
or (experimentally) hCalendar unicode strings. | ||
Requirements | ||
------------ | ||
Requires python 2.7 or later, dateutil 2.4.0 or later and six. | ||
Recent changes | ||
-------------- | ||
- Revert too-strict serialization of timestamp values - broke too many other | ||
implementations | ||
For older changes, see | ||
- http://py-vobject.github.io/vobject/#release-history or | ||
- http://vobject.skyhouseconsulting.com/history.html | ||
""" | ||
|
||
from setuptools import find_packages, setup | ||
|
||
doclines = (__doc__ or "").splitlines() | ||
|
||
setup( | ||
name="vobject", | ||
version="0.9.7", | ||
author="Jeffrey Harris", | ||
author_email="jeffrey@osafoundation.org", | ||
maintainer="David Arnold", | ||
maintainer_email="davida@pobox.com", | ||
license="Apache", | ||
zip_safe=True, | ||
url="http://py-vobject.github.io/vobject/", | ||
download_url="https://github.com/py-vobject/vobject/tarball/0.9.7", | ||
bugtrack_url="https://github.com/py-vobject/vobject/issues", | ||
entry_points={"console_scripts": ["ics_diff = vobject.ics_diff:main", "change_tz = vobject.change_tz:main"]}, | ||
include_package_data=True, | ||
install_requires=["python-dateutil >= 2.4.0", "six"], | ||
platforms=["any"], | ||
packages=find_packages(), | ||
description="A full-featured Python package for parsing and creating " "iCalendar and vCard files", | ||
long_description="\n".join(doclines[2:]), | ||
keywords=["vobject", "icalendar", "vcard", "ics", "vcs", "hcalendar"], | ||
test_suite="tests", | ||
classifiers=""" | ||
Development Status :: 5 - Production/Stable | ||
Environment :: Console | ||
Intended Audience :: Developers | ||
License :: OSI Approved :: Apache Software License | ||
Natural Language :: English | ||
Operating System :: OS Independent | ||
Programming Language :: Python | ||
Programming Language :: Python :: 2.7 | ||
Programming Language :: Python :: 3 | ||
Topic :: Text Processing""".strip().splitlines(), | ||
) | ||
""" | ||
VObject: module for reading vCard and vCalendar files | ||
Description | ||
----------- | ||
Parses iCalendar and vCard files into Python data structures, decoding the | ||
relevant encodings. Also serializes vobject data structures to iCalendar, vCard, | ||
or (experimentally) hCalendar unicode strings. | ||
Requirements | ||
------------ | ||
Requires python 2.7 or later, dateutil 2.4.0 or later and six. | ||
Recent changes | ||
-------------- | ||
- Revert too-strict serialization of timestamp values - broke too many other | ||
implementations | ||
For older changes, see | ||
- http://py-vobject.github.io/vobject/#release-history or | ||
- http://vobject.skyhouseconsulting.com/history.html | ||
""" | ||
|
||
from setuptools import find_packages, setup | ||
|
||
doclines = (__doc__ or "").splitlines() | ||
|
||
setup( | ||
name="vobject", | ||
version="0.9.7", | ||
author="Jeffrey Harris", | ||
author_email="jeffrey@osafoundation.org", | ||
maintainer="David Arnold", | ||
maintainer_email="davida@pobox.com", | ||
license="Apache", | ||
zip_safe=True, | ||
url="http://py-vobject.github.io/vobject/", | ||
download_url="https://github.com/py-vobject/vobject/tarball/0.9.7", | ||
bugtrack_url="https://github.com/py-vobject/vobject/issues", | ||
entry_points={"console_scripts": ["ics_diff = vobject.ics_diff:main", "change_tz = vobject.change_tz:main"]}, | ||
include_package_data=True, | ||
install_requires=["python-dateutil >= 2.4.0", "six"], | ||
platforms=["any"], | ||
packages=find_packages(), | ||
description="A full-featured Python package for parsing and creating " "iCalendar and vCard files", | ||
long_description="\n".join(doclines[2:]), | ||
keywords=["vobject", "icalendar", "vcard", "ics", "vcs", "hcalendar"], | ||
test_suite="tests", | ||
classifiers=""" | ||
Development Status :: 5 - Production/Stable | ||
Environment :: Console | ||
Intended Audience :: Developers | ||
License :: OSI Approved :: Apache Software License | ||
Natural Language :: English | ||
Operating System :: OS Independent | ||
Programming Language :: Python | ||
Programming Language :: Python :: 2.7 | ||
Programming Language :: Python :: 3 | ||
Topic :: Text Processing""".strip().splitlines(), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
BEGIN:VAVAILABILITY | ||
UID:test | ||
DTSTART:20060216T000000Z | ||
DTEND:20060217T000000Z | ||
BEGIN:AVAILABLE | ||
UID:test1 | ||
DTSTART:20060216T090000Z | ||
DTEND:20060216T120000Z | ||
DTSTAMP:20060215T000000Z | ||
SUMMARY:Available in the morning | ||
END:AVAILABLE | ||
BUSYTYPE:BUSY | ||
DTSTAMP:20060215T000000Z | ||
END:VAVAILABILITY | ||
BEGIN:VAVAILABILITY | ||
UID:test | ||
DTSTART:20060216T000000Z | ||
DTEND:20060217T000000Z | ||
BEGIN:AVAILABLE | ||
UID:test1 | ||
DTSTART:20060216T090000Z | ||
DTEND:20060216T120000Z | ||
DTSTAMP:20060215T000000Z | ||
SUMMARY:Available in the morning | ||
END:AVAILABLE | ||
BUSYTYPE:BUSY | ||
DTSTAMP:20060215T000000Z | ||
END:VAVAILABILITY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
BEGIN:VFREEBUSY | ||
UID:test | ||
DTSTART:20060216T010000Z | ||
DTEND:20060216T030000Z | ||
DTSTAMP:20060215T000000Z | ||
FREEBUSY:20060216T010000Z/PT1H | ||
FREEBUSY:20060216T010000Z/20060216T030000Z | ||
END:VFREEBUSY | ||
BEGIN:VFREEBUSY | ||
UID:test | ||
DTSTART:20060216T010000Z | ||
DTEND:20060216T030000Z | ||
DTSTAMP:20060215T000000Z | ||
FREEBUSY:20060216T010000Z/PT1H | ||
FREEBUSY:20060216T010000Z/20060216T030000Z | ||
END:VFREEBUSY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
BEGIN:VCALENDAR | ||
VERSION | ||
:2.0 | ||
PRODID | ||
:-//Mozilla.org/NONSGML Mozilla Calendar V1.0//EN | ||
BEGIN:VEVENT | ||
CREATED | ||
:20060327T214227Z | ||
LAST-MODIFIED | ||
:20060313T080829Z | ||
DTSTAMP | ||
:20060116T231602Z | ||
UID | ||
:70922B3051D34A9E852570EC00022388 | ||
SUMMARY | ||
:Monthly - All Hands Meeting with Joe Smith | ||
STATUS | ||
:CONFIRMED | ||
CLASS | ||
:PUBLIC | ||
RRULE | ||
:FREQ=MONTHLY;UNTIL=20061228;INTERVAL=1;BYDAY=4TH | ||
DTSTART | ||
:20060126T230000Z | ||
DTEND | ||
:20060127T000000Z | ||
DESCRIPTION | ||
:Repeat Meeting: - Occurs every 4th Thursday of each month | ||
END:VEVENT | ||
END:VCALENDAR | ||
BEGIN:VCALENDAR | ||
VERSION | ||
:2.0 | ||
PRODID | ||
:-//Mozilla.org/NONSGML Mozilla Calendar V1.0//EN | ||
BEGIN:VEVENT | ||
CREATED | ||
:20060327T214227Z | ||
LAST-MODIFIED | ||
:20060313T080829Z | ||
DTSTAMP | ||
:20060116T231602Z | ||
UID | ||
:70922B3051D34A9E852570EC00022388 | ||
SUMMARY | ||
:Monthly - All Hands Meeting with Joe Smith | ||
STATUS | ||
:CONFIRMED | ||
CLASS | ||
:PUBLIC | ||
RRULE | ||
:FREQ=MONTHLY;UNTIL=20061228;INTERVAL=1;BYDAY=4TH | ||
DTSTART | ||
:20060126T230000Z | ||
DTEND | ||
:20060127T000000Z | ||
DESCRIPTION | ||
:Repeat Meeting: - Occurs every 4th Thursday of each month | ||
END:VEVENT | ||
END:VCALENDAR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ SUMMARY:Something | |
DTSTART:20030101T070000 | ||
DTSTAMP:20080529T152100 | ||
END:VEVENT | ||
END:VCALENDAR | ||
END:VCALENDAR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
BEGIN:VCALENDAR | ||
VERSION:2.0 | ||
PRODID:-//PYVOBJECT//NONSGML Version 1//EN | ||
BEGIN:VEVENT | ||
UID:Not very random UID | ||
DTSTART:20060509T000000 | ||
ATTENDEE;CN=Fröhlich:mailto:froelich@example.com | ||
CREATED:20060101T180000Z | ||
DESCRIPTION:Test event | ||
DTSTAMP:20170626T000000Z | ||
END:VEVENT | ||
END:VCALENDAR | ||
BEGIN:VCALENDAR | ||
VERSION:2.0 | ||
PRODID:-//PYVOBJECT//NONSGML Version 1//EN | ||
BEGIN:VEVENT | ||
UID:Not very random UID | ||
DTSTART:20060509T000000 | ||
ATTENDEE;CN=Fröhlich:mailto:froelich@example.com | ||
CREATED:20060101T180000Z | ||
DESCRIPTION:Test event | ||
DTSTAMP:20170626T000000Z | ||
END:VEVENT | ||
END:VCALENDAR |
Oops, something went wrong.