py-maybetype 0.5.0__py3-none-any.whl → 0.6.0__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.
maybetype/const.py CHANGED
@@ -1,3 +1,3 @@
1
1
  import importlib.metadata
2
2
 
3
- PROJECT_VERSION: str = importlib.metadata.version('maybetype')
3
+ PROJECT_VERSION: str = importlib.metadata.version('py-maybetype')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: py-maybetype
3
- Version: 0.5.0
3
+ Version: 0.6.0
4
4
  Summary: A basic implementation of a maybe/option type in Python, largely inspired by Rust's Option.
5
5
  Project-URL: Homepage, https://github.com/svioletg/py-maybetype
6
6
  Project-URL: Repository, https://github.com/svioletg/py-maybetype
@@ -29,8 +29,12 @@ Description-Content-Type: text/markdown
29
29
 
30
30
  # py-maybetype
31
31
 
32
+ ![Linting & testing](https://github.com/svioletg/py-maybetype/actions/workflows/python-lint-test.yml/badge.svg)
33
+
32
34
  Documentation: <https://py-maybetype.readthedocs.io/en/latest/>
33
35
 
36
+ PyPI: <https://pypi.org/project/py-maybetype/>
37
+
34
38
  A basic implementation of a maybe/option type in Python, largely inspired by Rust's `Option`.
35
39
  This was created as part of a separate project I had been working on, but I decided to make it into
36
40
  its own package as I wanted to use it elsewhere and its scope grew. This is not meant to be a 1:1
@@ -39,10 +43,10 @@ interperetation of the idea that I feel works for Python.
39
43
 
40
44
  ## Usage
41
45
 
42
- Install the package with `pip` using the repository link:
46
+ Install with `pip`:
43
47
 
44
48
  ```bash
45
- pip install git+https://github.com/svioletg/py-maybetype
49
+ pip install py-maybetype
46
50
  ```
47
51
 
48
52
  Call the `maybe()` function with a `T | None` value to return a `Maybe[T]`—either a `Some` instance
@@ -0,0 +1,6 @@
1
+ maybetype/__init__.py,sha256=CQFFyrpwovLYg_17QDcxY8jssh9CISi6UMlsilL-3kc,7696
2
+ maybetype/const.py,sha256=_Lc2ZS-9j5n0TcSTEXGWqQ6SO4hyARBcVZ_JNleNKYU,93
3
+ py_maybetype-0.6.0.dist-info/METADATA,sha256=VvranIlATjyYL-kvb0pdygONwYjgT-RNwcituMMgHLo,4653
4
+ py_maybetype-0.6.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
5
+ py_maybetype-0.6.0.dist-info/licenses/LICENSE,sha256=eMbi_IczZg-O56zEg00k6bmfExkQTpx01DN1xLY2w9I,1076
6
+ py_maybetype-0.6.0.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- maybetype/__init__.py,sha256=CQFFyrpwovLYg_17QDcxY8jssh9CISi6UMlsilL-3kc,7696
2
- maybetype/const.py,sha256=Vu_oNFgMuJFf4wGqh2ywIO7I0rA0zlrJb4KdPeoupns,90
3
- py_maybetype-0.5.0.dist-info/METADATA,sha256=jxcQQqsJTYiZ_qhQFrMqJ_d6lpMJosG-JrdHzW39KEc,4562
4
- py_maybetype-0.5.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
5
- py_maybetype-0.5.0.dist-info/licenses/LICENSE,sha256=eMbi_IczZg-O56zEg00k6bmfExkQTpx01DN1xLY2w9I,1076
6
- py_maybetype-0.5.0.dist-info/RECORD,,