Metadata-Version: 2.1
Name: george-walrus
Version: 0.1.5
Summary: Backport compiler for Python 3.8 assignment expressions.
Home-page: https://github.com/george-kuanli-peng/walrus
License: MIT
Keywords: walrus operator,assignment expression,back-port compiler
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Requires-Python: >=3.4
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: parso>=0.6.0
Requires-Dist: tbtrim>=0.2.1
Requires-Dist: bpc-f2format
Requires-Dist: bpc-utils~=0.10.0
Requires-Dist: typing; python_version < "3.5"
Requires-Dist: typing_extensions
Provides-Extra: lint
Requires-Dist: flake8; extra == "lint"
Requires-Dist: pylint; extra == "lint"
Requires-Dist: mypy; extra == "lint"
Requires-Dist: bandit>=1.6.3; extra == "lint"
Requires-Dist: vermin>=1.1.0; extra == "lint"
Requires-Dist: colorlabels>=0.7.0; extra == "lint"
Requires-Dist: parso>=0.8.0; extra == "lint"
Provides-Extra: test
Requires-Dist: pytest>=4.5.0; extra == "test"
Requires-Dist: pytest-doctestplus>=0.5.0; extra == "test"
Requires-Dist: coverage; extra == "test"
Provides-Extra: docs
Requires-Dist: Sphinx; extra == "docs"
Requires-Dist: sphinx-autodoc-typehints; extra == "docs"
Requires-Dist: sphinxemoji; extra == "docs"

🎁 This repo is forked from https://github.com/pybpc/walrus for publishing their latest work on PyPi, since the PyPi has not been updated long. Thanks the original authors for their excellent work to support the walrus operator on early Python versions.

# NB: walrus is currently under reconstruction. It is highly recommended to directly install from the git repo or the pre-release distributions.

---

# walrus

[![PyPI - Downloads](https://pepy.tech/badge/python-walrus)](https://pepy.tech/count/python-walrus)
[![PyPI - Version](https://img.shields.io/pypi/v/bpc-walrus.svg)](https://pypi.org/project/bpc-walrus)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/bpc-walrus.svg)](https://pypi.org/project/bpc-walrus)

[![GitHub Actions - Status](https://github.com/pybpc/bpc-walrus/workflows/Build/badge.svg)](https://github.com/pybpc/bpc-walrus/actions?query=workflow%3ABuild)
[![Codecov - Coverage](https://codecov.io/gh/pybpc/bpc-walrus/branch/master/graph/badge.svg)](https://codecov.io/gh/pybpc/bpc-walrus)
[![Documentation Status](https://readthedocs.org/projects/bpc-walrus/badge/?version=latest)](https://bpc-walrus.readthedocs.io/en/latest/)

> Write *assignment expressions* in Python 3.8 flavour, and let `walrus` worry about back-port issues :beer:

&emsp; Since [PEP 572](https://www.python.org/dev/peps/pep-0572/), 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

&emsp; See [documentation](https://bpc-walrus.readthedocs.io/en/latest/) for usage and more details.

## Contribution

&emsp; Contributions are very welcome, especially fixing bugs and providing test cases.
Note that code must remain valid and reasonable.

## See Also

- [`pybpc`](https://github.com/pybpc/bpc) (formerly known as `python-babel`)
- [`f2format`](https://github.com/pybpc/f2format)
- [`poseur`](https://github.com/pybpc/poseur)
- [`relaxedecor`](https://github.com/pybpc/relaxedecor)
- [`vermin`](https://github.com/netromdk/vermin)
