NB: walrus is currently under reconstruction. It is highly recommended to directly install from the git repo or the pre-release distributions.
walrus
Write assignment expressions in Python 3.8 flavour, and let
walrusworry about back-port issues :beer:
Since PEP 572, Python introduced assignment expressions
syntax in version 3.8. For those who wish to use assignment expressions in their code, walrus provides an
intelligent, yet imperfect, solution of a backport compiler by replacing assignment expressions syntax with
old-fashioned syntax, which guarantees you to always write assignment expressions in Python 3.8 flavour then
compile for compatibility later.
Documentation
See documentation for usage and more details.
Contribution
Contributions are very welcome, especially fixing bugs and providing test cases. Note that code must remain valid and reasonable.
See Also
pybpc(formerly known aspython-babel)f2formatposeurrelaxedecorvermin
Metadata
Release files for bpc-walrus 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bpc-walrus-0.1.5.tar.gz | 20.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bpc_walrus-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.8 kB
Release files / bpc-walrus-0.1.5.tar.gz
| Download URL | bpc-walrus-0.1.5.tar.gz |
|---|---|
| Size | 20.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5c1d3618f47c2d310cd8b22d984120106e235656a28ba5a1f8a045a4b5eb40d
|
|
BLAKE2b-256 checksum How to use checksums |
87936135fe910c5b924a3978af50d772bfa5b96298109c77a40b983d52e878f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / bpc_walrus-0.1.5-py3-none-any.whl
| Download URL | bpc_walrus-0.1.5-py3-none-any.whl |
|---|---|
| Size | 18.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc78afb901a9bc39ab9e88051f83e3716d65ea45b55cb7f0b9018497382050b0
|
|
BLAKE2b-256 checksum How to use checksums |
7212bd71b12f1c3d2c9c7d4a4bedc0144b3ad89d6e300cc0ffce3ebaf68553da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|