durationpy 0.9__tar.gz → 0.10__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: durationpy
3
- Version: 0.9
3
+ Version: 0.10
4
4
  Summary: Module for converting between datetime.timedelta and Go's Duration strings.
5
5
  Home-page: https://github.com/icholy/durationpy
6
- Download-URL: https://github.com/icholy/durationpy/tarball/0.9
6
+ Download-URL: https://github.com/icholy/durationpy/tarball/0.10
7
7
  Author: Ilia Choly
8
8
  Author-email: ilia.choly@gmail.com
9
9
  License: MIT
@@ -0,0 +1,6 @@
1
+ import datetime
2
+
3
+ def from_str(duration: str) -> datetime.timedelta: ...
4
+ def to_str(delta: datetime.timedelta, extended: bool = ...) -> str: ...
5
+
6
+ class DurationError(ValueError): ...
File without changes
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: durationpy
3
- Version: 0.9
3
+ Version: 0.10
4
4
  Summary: Module for converting between datetime.timedelta and Go's Duration strings.
5
5
  Home-page: https://github.com/icholy/durationpy
6
- Download-URL: https://github.com/icholy/durationpy/tarball/0.9
6
+ Download-URL: https://github.com/icholy/durationpy/tarball/0.10
7
7
  Author: Ilia Choly
8
8
  Author-email: ilia.choly@gmail.com
9
9
  License: MIT
@@ -3,7 +3,9 @@ README.md
3
3
  setup.cfg
4
4
  setup.py
5
5
  durationpy/__init__.py
6
+ durationpy/__init__.pyi
6
7
  durationpy/duration.py
8
+ durationpy/py.typed
7
9
  durationpy.egg-info/PKG-INFO
8
10
  durationpy.egg-info/SOURCES.txt
9
11
  durationpy.egg-info/dependency_links.txt
@@ -6,8 +6,9 @@ setup(
6
6
  url = 'https://github.com/icholy/durationpy',
7
7
  author = 'Ilia Choly',
8
8
  author_email = 'ilia.choly@gmail.com',
9
- download_url = 'https://github.com/icholy/durationpy/tarball/0.9',
10
- version = '0.9',
9
+ download_url = 'https://github.com/icholy/durationpy/tarball/0.10',
10
+ version = '0.10',
11
11
  packages = ['durationpy'],
12
+ package_data = {'durationpy': ['py.typed', '*.pyi']},
12
13
  license = 'MIT'
13
14
  )
File without changes
File without changes
File without changes