py-maybetype 0.5.0__tar.gz → 0.6.0__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.
Files changed (23) hide show
  1. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/.github/workflows/publish-to-pypi.yml +1 -1
  2. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/CHANGELOG.md +7 -0
  3. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/PKG-INFO +7 -3
  4. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/README.md +6 -2
  5. py_maybetype-0.6.0/maybetype/const.py +3 -0
  6. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/pyproject.toml +1 -1
  7. py_maybetype-0.5.0/maybetype/const.py +0 -3
  8. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/.github/workflows/python-lint-test.yml +0 -0
  9. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/.gitignore +0 -0
  10. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/.markdownlint.json +0 -0
  11. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/.python-version +0 -0
  12. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/.readthedocs.yaml +0 -0
  13. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/LICENSE +0 -0
  14. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/docs/changelog.rst +0 -0
  15. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/docs/conf.py +0 -0
  16. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/docs/index.rst +0 -0
  17. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/docs/readme.rst +0 -0
  18. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/docs/reference/index.rst +0 -0
  19. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/docs/requirements.txt +0 -0
  20. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/maybetype/__init__.py +0 -0
  21. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/ruff.toml +0 -0
  22. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/tests/test_maybe.py +0 -0
  23. {py_maybetype-0.5.0 → py_maybetype-0.6.0}/uv.lock +0 -0
@@ -45,7 +45,7 @@ jobs:
45
45
  id-token: write
46
46
  steps:
47
47
  - name: Download all the dists
48
- uses: actions/downlad-artifact@v6
48
+ uses: actions/download-artifact@v6
49
49
  with:
50
50
  name: python-package-distributions
51
51
  path: dist/
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.6.0] - 2026-01-21
9
+
10
+ ### Changed
11
+
12
+ - Project string has been changed from `"maybetype"` to `"py-maybetype"` for getting metadata in
13
+ `const`
14
+
8
15
  ## [0.5.0] - 2026-01-18
9
16
 
10
17
  ### Added
@@ -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
@@ -1,7 +1,11 @@
1
1
  # py-maybetype
2
2
 
3
+ ![Linting & testing](https://github.com/svioletg/py-maybetype/actions/workflows/python-lint-test.yml/badge.svg)
4
+
3
5
  Documentation: <https://py-maybetype.readthedocs.io/en/latest/>
4
6
 
7
+ PyPI: <https://pypi.org/project/py-maybetype/>
8
+
5
9
  A basic implementation of a maybe/option type in Python, largely inspired by Rust's `Option`.
6
10
  This was created as part of a separate project I had been working on, but I decided to make it into
7
11
  its own package as I wanted to use it elsewhere and its scope grew. This is not meant to be a 1:1
@@ -10,10 +14,10 @@ interperetation of the idea that I feel works for Python.
10
14
 
11
15
  ## Usage
12
16
 
13
- Install the package with `pip` using the repository link:
17
+ Install with `pip`:
14
18
 
15
19
  ```bash
16
- pip install git+https://github.com/svioletg/py-maybetype
20
+ pip install py-maybetype
17
21
  ```
18
22
 
19
23
  Call the `maybe()` function with a `T | None` value to return a `Maybe[T]`—either a `Some` instance
@@ -0,0 +1,3 @@
1
+ import importlib.metadata
2
+
3
+ PROJECT_VERSION: str = importlib.metadata.version('py-maybetype')
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "py-maybetype"
3
- version = "0.5.0"
3
+ version = "0.6.0"
4
4
  description = "A basic implementation of a maybe/option type in Python, largely inspired by Rust's Option."
5
5
  authors = [
6
6
  { name = "Seth 'Violet' Gibbs" }
@@ -1,3 +0,0 @@
1
- import importlib.metadata
2
-
3
- PROJECT_VERSION: str = importlib.metadata.version('maybetype')
File without changes
File without changes
File without changes
File without changes
File without changes