symset
Symbolic Sets for Python, written in Rust
Roadmap
Special sets
-
Empty- The empty set or void set, $\displaystyle\varnothing = { }$ (wiki) -
Universe- Universe set $\displaystyle\mathbf{U}$ containing everything, including itself (wiki)
Complement operations
-
Complement[A]- Absolute complement $\displaystyle A^\complement=\mathbf{U}\setminus A$ (wiki) -
Difference[A, B]- Relative complement or set-theoretic difference $\displaystyle A \setminus B$ (wiki)
External operations
-
Subsets[A]- Power set $\displaystyle\mathcal{P}(A)$; the set of all subsets of $\displaystyle A$, with $\displaystyle \left|P(A)\right|$ (wiki) -
Product[A, B]- Cartesian product $\displaystyle A \times B$ with $\displaystyle n_A \cdot n_B$ elements (wiki) -
Sum[A, B]- Disjoint- or tagged union (the sum type in type theory) $\displaystyle A \sqcup B$ with $\displaystyle n_A + n_B$ elements
Development
Install the maturin import hook in the uv project:
uv run -m maturin_import_hook site install --detect-uv
Linting, formatting, typechecking, and testing:
uv run ruff check
uv run ruff format
uv run basedpyright
uv run pytest
More info
Metadata
Release files for symset 0.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| symset-0.0.0.tar.gz | 19.5 kB | Without provenance | Details for symset-0.0.0.tar.gz |
Release files / symset-0.0.0.tar.gz
| Download URL | symset-0.0.0.tar.gz |
|---|---|
| Size | 19.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14d0a43f8c5346261e6e92b78603a4f2539e86d774bdfd40f92a7e90f0bfe31a
|
|
BLAKE2b-256 checksum How to use checksums |
b83804d4b77fa60e1e4aaf407d9ef67e82881edb32376aa1bb1c87ab63553771
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.10
|
Security for symset 0.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.