before


Namebefore JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/tomhea/before
Summaryimport from python2
upload_time2023-12-13 09:04:57
maintainer
docs_urlNone
authorTom Herman
requires_python>=3.7,<4.0
licenseBSD-2-Clause-Simplified
keywords python2 past
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # before - import python2 stuff

This is an extremely simple (&tested) library, that allows you to import function that appeared in python2.

```python
In [1]: from before import xrange, range, apply

In [2]: xrange(10)
Out[2]: range(0, 10)

In [3]: range(10)
Out[3]: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]

In [4]: apply(lambda x,y: x+y, 4, 7)
Out[4]: 11
```

## How to Download

```bash
pip install before
```

## All Supported Functionalities

```python
from before import (
    reduce, reload, intern,
    xrange, range, raw_input, input, izip, zip,
    map, filter, round,
    cmp, apply, execfile,
)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/tomhea/before",
    "name": "before",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7,<4.0",
    "maintainer_email": "",
    "keywords": "python2,past",
    "author": "Tom Herman",
    "author_email": "flipjumpproject@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ad/62/66802628522cb9f298b3bf5a34a2f7504122e021670a7d370442fb035788/before-1.0.2.tar.gz",
    "platform": null,
    "description": "# before - import python2 stuff\n\nThis is an extremely simple (&tested) library, that allows you to import function that appeared in python2.\n\n```python\nIn [1]: from before import xrange, range, apply\n\nIn [2]: xrange(10)\nOut[2]: range(0, 10)\n\nIn [3]: range(10)\nOut[3]: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]\n\nIn [4]: apply(lambda x,y: x+y, 4, 7)\nOut[4]: 11\n```\n\n## How to Download\n\n```bash\npip install before\n```\n\n## All Supported Functionalities\n\n```python\nfrom before import (\n    reduce, reload, intern,\n    xrange, range, raw_input, input, izip, zip,\n    map, filter, round,\n    cmp, apply, execfile,\n)\n```\n",
    "bugtrack_url": null,
    "license": "BSD-2-Clause-Simplified",
    "summary": "import from python2",
    "version": "1.0.2",
    "project_urls": {
        "Homepage": "https://github.com/tomhea/before",
        "Repository": "https://github.com/tomhea/before"
    },
    "split_keywords": [
        "python2",
        "past"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d96469ca9f97ea9ffcdf208fb9477fa8686b70024b035a74716ea6d195d6e752",
                "md5": "a2ffd8362e9e5bef3d66725bf0f1cdc9",
                "sha256": "9aae0cd76c0e8b1f12cbac2d8176723a6e8f90a8a4ddabfd6e1432dcaea31c69"
            },
            "downloads": -1,
            "filename": "before-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a2ffd8362e9e5bef3d66725bf0f1cdc9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7,<4.0",
            "size": 2870,
            "upload_time": "2023-12-13T09:04:56",
            "upload_time_iso_8601": "2023-12-13T09:04:56.362799Z",
            "url": "https://files.pythonhosted.org/packages/d9/64/69ca9f97ea9ffcdf208fb9477fa8686b70024b035a74716ea6d195d6e752/before-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ad6266802628522cb9f298b3bf5a34a2f7504122e021670a7d370442fb035788",
                "md5": "542fd47425d11fdf59dbbeba611d28cc",
                "sha256": "0d9014a895948aba71cb041287cf11e78966e843883a094801ffa7376754f9f6"
            },
            "downloads": -1,
            "filename": "before-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "542fd47425d11fdf59dbbeba611d28cc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7,<4.0",
            "size": 2401,
            "upload_time": "2023-12-13T09:04:57",
            "upload_time_iso_8601": "2023-12-13T09:04:57.957579Z",
            "url": "https://files.pythonhosted.org/packages/ad/62/66802628522cb9f298b3bf5a34a2f7504122e021670a7d370442fb035788/before-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-13 09:04:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tomhea",
    "github_project": "before",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "before"
}
        
Elapsed time: 3.72338s