george-walrus


Namegeorge-walrus JSON
Version 0.1.5 PyPI version JSON
download
home_pagehttps://github.com/george-kuanli-peng/walrus
SummaryBackport compiler for Python 3.8 assignment expressions.
upload_time2024-04-26 09:11:47
maintainerNone
docs_urlNone
authorNone
requires_python>=3.4
licenseMIT
keywords walrus operator assignment expression back-port compiler
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            🎁 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:

  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

  See [documentation](https://bpc-walrus.readthedocs.io/en/latest/) 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`](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)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/george-kuanli-peng/walrus",
    "name": "george-walrus",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.4",
    "maintainer_email": null,
    "keywords": "walrus operator, assignment expression, back-port compiler",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/11/eb/bcee18daca19a1b0ce220106863820b4c8da1293567b50dfc097e562e394/george_walrus-0.1.5.tar.gz",
    "platform": null,
    "description": "\ud83c\udf81 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.\n\n# NB: walrus is currently under reconstruction. It is highly recommended to directly install from the git repo or the pre-release distributions.\n\n---\n\n# walrus\n\n[![PyPI - Downloads](https://pepy.tech/badge/python-walrus)](https://pepy.tech/count/python-walrus)\n[![PyPI - Version](https://img.shields.io/pypi/v/bpc-walrus.svg)](https://pypi.org/project/bpc-walrus)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/bpc-walrus.svg)](https://pypi.org/project/bpc-walrus)\n\n[![GitHub Actions - Status](https://github.com/pybpc/bpc-walrus/workflows/Build/badge.svg)](https://github.com/pybpc/bpc-walrus/actions?query=workflow%3ABuild)\n[![Codecov - Coverage](https://codecov.io/gh/pybpc/bpc-walrus/branch/master/graph/badge.svg)](https://codecov.io/gh/pybpc/bpc-walrus)\n[![Documentation Status](https://readthedocs.org/projects/bpc-walrus/badge/?version=latest)](https://bpc-walrus.readthedocs.io/en/latest/)\n\n> Write *assignment expressions* in Python 3.8 flavour, and let `walrus` worry about back-port issues :beer:\n\n  Since [PEP 572](https://www.python.org/dev/peps/pep-0572/), Python introduced *assignment expressions*\nsyntax in version __3.8__. For those who wish to use *assignment expressions* in their code, `walrus` provides an\nintelligent, yet imperfect, solution of a **backport compiler** by replacing *assignment expressions* syntax with\nold-fashioned syntax, which guarantees you to always write *assignment expressions* in Python 3.8 flavour then\ncompile for compatibility later.\n\n## Documentation\n\n  See [documentation](https://bpc-walrus.readthedocs.io/en/latest/) for usage and more details.\n\n## Contribution\n\n  Contributions are very welcome, especially fixing bugs and providing test cases.\nNote that code must remain valid and reasonable.\n\n## See Also\n\n- [`pybpc`](https://github.com/pybpc/bpc) (formerly known as `python-babel`)\n- [`f2format`](https://github.com/pybpc/f2format)\n- [`poseur`](https://github.com/pybpc/poseur)\n- [`relaxedecor`](https://github.com/pybpc/relaxedecor)\n- [`vermin`](https://github.com/netromdk/vermin)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Backport compiler for Python 3.8 assignment expressions.",
    "version": "0.1.5",
    "project_urls": {
        "Homepage": "https://github.com/george-kuanli-peng/walrus"
    },
    "split_keywords": [
        "walrus operator",
        " assignment expression",
        " back-port compiler"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "911bab1138cd9d85cb985bc6e35eb9084a536b2cfcc23f51e391100a316a2d49",
                "md5": "35e92e09ff8a252ce96ae572a1db58e9",
                "sha256": "33a12e254275dbd0150b3b812e7a5150213fc92acfb9c237391a67a5677e9737"
            },
            "downloads": -1,
            "filename": "george_walrus-0.1.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "35e92e09ff8a252ce96ae572a1db58e9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.4",
            "size": 18146,
            "upload_time": "2024-04-26T09:11:46",
            "upload_time_iso_8601": "2024-04-26T09:11:46.574835Z",
            "url": "https://files.pythonhosted.org/packages/91/1b/ab1138cd9d85cb985bc6e35eb9084a536b2cfcc23f51e391100a316a2d49/george_walrus-0.1.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "11ebbcee18daca19a1b0ce220106863820b4c8da1293567b50dfc097e562e394",
                "md5": "47a5a7b89a759e04d86b3f224e731028",
                "sha256": "49df23d63ee05e98301529b48609facb9f747f9aeaf873cadc3a6a64fc32fa02"
            },
            "downloads": -1,
            "filename": "george_walrus-0.1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "47a5a7b89a759e04d86b3f224e731028",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.4",
            "size": 20112,
            "upload_time": "2024-04-26T09:11:47",
            "upload_time_iso_8601": "2024-04-26T09:11:47.952583Z",
            "url": "https://files.pythonhosted.org/packages/11/eb/bcee18daca19a1b0ce220106863820b4c8da1293567b50dfc097e562e394/george_walrus-0.1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-26 09:11:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "george-kuanli-peng",
    "github_project": "walrus",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "george-walrus"
}
        
Elapsed time: 0.23380s