opendate 0.1.13__py3-none-any.whl → 0.1.20__py3-none-any.whl

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.

Potentially problematic release.


This version of opendate might be problematic. Click here for more details.

@@ -0,0 +1,7 @@
1
+ date/__init__.py,sha256=fBTJ_YMVP3bsGdDEip-PAwLjZuYNIV3Ov1FWAzQNXrc,3873
2
+ date/date.py,sha256=iCGssGXDG2E0G5vPlBkq5T2fQmnHvfgcpriGJU48Osc,62594
3
+ date/extras.py,sha256=oRgjCfqtYLE3RZeCVa95sBo5tas9XFcufl-zIqAjM34,2092
4
+ opendate-0.1.20.dist-info/METADATA,sha256=Flar8a8gH-L5ih_OEY4Z7eUnBECVG03Mhb7_nusCNyQ,22942
5
+ opendate-0.1.20.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
6
+ opendate-0.1.20.dist-info/licenses/LICENSE,sha256=V4Rx8WWy7v8Fim6PHcEBszpZkDLbCHeorz1e_gr0Cbk,1111
7
+ opendate-0.1.20.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.1.2
2
+ Generator: poetry-core 2.2.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,65 +0,0 @@
1
- Metadata-Version: 2.3
2
- Name: opendate
3
- Version: 0.1.13
4
- Summary: Python business datetimes
5
- License: MIT
6
- Author: bissli
7
- Author-email: bissli.xyz@protonmail.com
8
- Requires-Python: >=3.9,<4.0
9
- Classifier: License :: OSI Approved :: MIT License
10
- Classifier: Programming Language :: Python :: 3
11
- Classifier: Programming Language :: Python :: 3.9
12
- Classifier: Programming Language :: Python :: 3.10
13
- Classifier: Programming Language :: Python :: 3.11
14
- Classifier: Programming Language :: Python :: 3.12
15
- Classifier: Programming Language :: Python :: 3.13
16
- Provides-Extra: test
17
- Requires-Dist: asserts ; extra == "test"
18
- Requires-Dist: bump2version ; extra == "test"
19
- Requires-Dist: pandas-market-calendars
20
- Requires-Dist: pdbpp ; extra == "test"
21
- Requires-Dist: pendulum
22
- Requires-Dist: pytest ; extra == "test"
23
- Requires-Dist: regex
24
- Requires-Dist: typing-extensions
25
- Requires-Dist: wrapt
26
- Project-URL: Repository, https://github.com/bissli/opendate
27
- Description-Content-Type: text/markdown
28
-
29
- opendate
30
- ========
31
-
32
- A wrapper around [Pendulum](https://github.com/sdispater/pendulum) with business (NYSE default, extendable) days/hours awareness.
33
-
34
- Documentation pending, see tests for examples. Functionality is near-identical to Pendulum with the exception of a business modifier.
35
-
36
- The main module is named `date` rather than `pendulum`
37
-
38
- Ex:
39
-
40
- ```python
41
-
42
- from date import Date, DateTime, Time, Interval
43
-
44
- thedate = Date.today()
45
-
46
- # add days
47
- thedate.add(days=5)
48
- thedate.business().add(days=5) # add 5 business day
49
-
50
- # subtract days
51
- thedate.subtract(days=5)
52
- thedate.business().subtract(days=5) # subtract 5 business day
53
-
54
- # start of month
55
- thedate.start_of('month')
56
- thedate.business().start_of('month') # end of month + N days until valid business day
57
-
58
- # end of month
59
- thedate.end_of('month')
60
- thedate.business().end_of('month') # end of month - N days until valid business day
61
-
62
- # ...
63
-
64
- ```
65
-
@@ -1,7 +0,0 @@
1
- date/__init__.py,sha256=sn-Fk7PBIjaiv4tXp4ir2Ks6tpnmehKCZsP_-90mkLo,2865
2
- date/date.py,sha256=Nouzyx9s481Waa_ksOOQk0rduKVBL7kjLDTMBjh-UbA,66504
3
- date/extras.py,sha256=7xsOsdhKrmGoyLl5W4Xhg9TfuytaaIH7uKWW9PvR5sE,2832
4
- opendate-0.1.13.dist-info/LICENSE,sha256=V4Rx8WWy7v8Fim6PHcEBszpZkDLbCHeorz1e_gr0Cbk,1111
5
- opendate-0.1.13.dist-info/METADATA,sha256=HD52ClddPI4EJYzXwo3OB79Zob2ZsYlrfiHKnxIDGNA,1847
6
- opendate-0.1.13.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
7
- opendate-0.1.13.dist-info/RECORD,,