proxy_tools


Nameproxy_tools JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttp://github.com/jtushman/proxy_tools
SummaryProxy Implementation
upload_time2014-05-05 21:02:24
maintainerNone
docs_urlNone
authorJonathan Tushman
requires_pythonNone
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            proxy_tools
==============

I'm just a proxy

|Build Status|

Loveingly extracted from `werkzeug`_.  A very useful proxy implementation, that I found to be useful outside
the web context -- hence the extraction.

Install
-------

.. code:: bash

    pip install proxy

.. |Build Status| image:: https://travis-ci.org/jtushman/proxy.svg?branch=master
   :target: https://travis-ci.org/jtushman/proxy_tools

Basic Usage
-----------

.. code:: python

    from proxy_tools import Proxy
    p = Proxy()

    def get_current_user():
        return User.find_by_id(request['user_id'])

    current_user = p(get_current_user)

    # Or alternatively

    from proxy_tools import module_property

    @module_property
    def current_user():
        return User.find_by_id(request['user_id'])

    # Then
    print(current_user.name)


Questions / Issues
------------------

Feel free to ping me on twitter: `@tushman`_
or add issues or PRs at https://github.com/jtushman/proxy_tools

.. _@tushman: http://twitter.com/tushman

Thank you
---------

To Armin Ronacher and the `werkzeug`_ team for their thought leadership and excellent work

.. _werkzeug: https://github.com/mitsuhiko/werkzeug


            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/jtushman/proxy_tools",
    "name": "proxy_tools",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Jonathan Tushman",
    "author_email": "jonathan@zefr.com",
    "download_url": "https://files.pythonhosted.org/packages/f2/cf/77d3e19b7fabd03895caca7857ef51e4c409e0ca6b37ee6e9f7daa50b642/proxy_tools-0.1.0.tar.gz",
    "platform": "UNKNOWN",
    "description": "proxy_tools\n==============\n\nI'm just a proxy\n\n|Build Status|\n\nLoveingly extracted from `werkzeug`_.  A very useful proxy implementation, that I found to be useful outside\nthe web context -- hence the extraction.\n\nInstall\n-------\n\n.. code:: bash\n\n    pip install proxy\n\n.. |Build Status| image:: https://travis-ci.org/jtushman/proxy.svg?branch=master\n   :target: https://travis-ci.org/jtushman/proxy_tools\n\nBasic Usage\n-----------\n\n.. code:: python\n\n    from proxy_tools import Proxy\n    p = Proxy()\n\n    def get_current_user():\n        return User.find_by_id(request['user_id'])\n\n    current_user = p(get_current_user)\n\n    # Or alternatively\n\n    from proxy_tools import module_property\n\n    @module_property\n    def current_user():\n        return User.find_by_id(request['user_id'])\n\n    # Then\n    print(current_user.name)\n\n\nQuestions / Issues\n------------------\n\nFeel free to ping me on twitter: `@tushman`_\nor add issues or PRs at https://github.com/jtushman/proxy_tools\n\n.. _@tushman: http://twitter.com/tushman\n\nThank you\n---------\n\nTo Armin Ronacher and the `werkzeug`_ team for their thought leadership and excellent work\n\n.. _werkzeug: https://github.com/mitsuhiko/werkzeug\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Proxy Implementation",
    "version": "0.1.0",
    "project_urls": {
        "Download": "UNKNOWN",
        "Homepage": "http://github.com/jtushman/proxy_tools"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f2cf77d3e19b7fabd03895caca7857ef51e4c409e0ca6b37ee6e9f7daa50b642",
                "md5": "b738390cdf62fce0ae0b65ea5c23783c",
                "sha256": "ccb3751f529c047e2d8a58440d86b205303cf0fe8146f784d1cbcd94f0a28010"
            },
            "downloads": -1,
            "filename": "proxy_tools-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b738390cdf62fce0ae0b65ea5c23783c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2978,
            "upload_time": "2014-05-05T21:02:24",
            "upload_time_iso_8601": "2014-05-05T21:02:24.606594Z",
            "url": "https://files.pythonhosted.org/packages/f2/cf/77d3e19b7fabd03895caca7857ef51e4c409e0ca6b37ee6e9f7daa50b642/proxy_tools-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2014-05-05 21:02:24",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jtushman",
    "github_project": "proxy_tools",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "tox": true,
    "lcname": "proxy_tools"
}
        
Elapsed time: 0.14186s