Skip to main content

Back-port compiler for Python 3.8 assignment expressions.

Project description

walrus

PyPI - Downloads PyPI - Version PyPI - Python Version

Travis CI - Status Codecov - Coverage Documentation Status

Write assignment expressions in Python 3.8 flavour, and let walrus worry 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-walrus-0.1.5rc1.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

python_walrus-0.1.5rc1-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file python-walrus-0.1.5rc1.tar.gz.

File metadata

  • Download URL: python-walrus-0.1.5rc1.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.9.0

File hashes

Hashes for python-walrus-0.1.5rc1.tar.gz
Algorithm Hash digest
SHA256 e74b3e0ad387fd383daa77a29c664ab524ec2f5bcfadd99c08a8ba723488b5ad
MD5 c0f34853d7e7278c97d5612280ff2444
BLAKE2b-256 c39569843c13cbeae1e3a81e38164d1ff9e098ef19fb09ae4ca17d3f31b379ec

See more details on using hashes here.

File details

Details for the file python_walrus-0.1.5rc1-py3-none-any.whl.

File metadata

  • Download URL: python_walrus-0.1.5rc1-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.9.0

File hashes

Hashes for python_walrus-0.1.5rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 56c00832534e4f9124c8eb632c809ab48305b89be5d8d92685a3265238343e57
MD5 c22719363087af864d0bd31ef37ca94d
BLAKE2b-256 5dccb3ee9a62b62240f9dc7e8f899c207bb9694ed11eff6f4aed2d0d5b8ff5d6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page