ngrok-flask-cart


Namengrok-flask-cart JSON
Version 0.0.7 PyPI version JSON
download
home_page
SummaryAn offshoot of flask-ngrok for demo Flask apps using ngrok.
upload_time2024-02-24 19:40:36
maintainer
docs_urlNone
authorNathan Reitinger
requires_python
license
keywords flask ngrok cart
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # flask-ngrok-CART
An offshoot of [flask-ngrok](https://github.com/gstaff/flask-ngrok) (see also [flask-ngrok2](https://github.com/MohamedAliRashad/flask-ngrok2), [flask-ngrok3](https://github.com/Partycode/flask-ngrok3)) for making demo Flask apps from a personal machine.

## Installation

```bash
pip install ngrok-flask-cart
```

- app is the Flask app 
- domain is the static domain provided by `ngrok` 
- auth_token is the authentication token provided by `ngrok` 



## Example

```
from flask import Flask
from ngrok_flask_cart import run_with_ngrok

app = Flask(__name__)
run_with_ngrok(app=app, domain='--domain=<domain here>', auth_token='<token here>')

@app.route("/")
def hello():
    return "Hello World!"

if __name__ == '__main__':
    app.run()
```

### will run 

```
ngrok                                                           (Ctrl+C to quit)

Session Status                online                                            
Account                       <your account> (Plan: Free)                              
Version                       3.6.0                                             
Region                        United States (us)                                
Latency                       -                                                 
Web Interface                 http://127.0.0.1:4040                             
Forwarding                    <domain here> -> 
                                                                                
Connections                   ttl     opn     rt1     rt5     p50     p90       
                              0       0       0.00    0.00    0.00    0.00     * Running on http://<your domain>                       
 * Traffic stats available on http://127.0.0.1:4040
```




            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "ngrok-flask-cart",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "flask ngrok CART",
    "author": "Nathan Reitinger",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/c4/71/565e90edd9f9f12a395f4702b1643a6308a0303c97648748f31cd8536112/ngrok-flask-cart-0.0.7.tar.gz",
    "platform": null,
    "description": "# flask-ngrok-CART\nAn offshoot of [flask-ngrok](https://github.com/gstaff/flask-ngrok) (see also [flask-ngrok2](https://github.com/MohamedAliRashad/flask-ngrok2), [flask-ngrok3](https://github.com/Partycode/flask-ngrok3)) for making demo Flask apps from a personal machine.\n\n## Installation\n\n```bash\npip install ngrok-flask-cart\n```\n\n- app is the Flask app \n- domain is the static domain provided by `ngrok` \n- auth_token is the authentication token provided by `ngrok` \n\n\n\n## Example\n\n```\nfrom flask import Flask\nfrom ngrok_flask_cart import run_with_ngrok\n\napp = Flask(__name__)\nrun_with_ngrok(app=app, domain='--domain=<domain here>', auth_token='<token here>')\n\n@app.route(\"/\")\ndef hello():\n    return \"Hello World!\"\n\nif __name__ == '__main__':\n    app.run()\n```\n\n### will run \n\n```\nngrok                                                           (Ctrl+C to quit)\n\nSession Status                online                                            \nAccount                       <your account> (Plan: Free)                              \nVersion                       3.6.0                                             \nRegion                        United States (us)                                \nLatency                       -                                                 \nWeb Interface                 http://127.0.0.1:4040                             \nForwarding                    <domain here> -> \n                                                                                \nConnections                   ttl     opn     rt1     rt5     p50     p90       \n                              0       0       0.00    0.00    0.00    0.00     * Running on http://<your domain>                       \n * Traffic stats available on http://127.0.0.1:4040\n```\n\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "An offshoot of flask-ngrok for demo Flask apps using ngrok.",
    "version": "0.0.7",
    "project_urls": null,
    "split_keywords": [
        "flask",
        "ngrok",
        "cart"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c471565e90edd9f9f12a395f4702b1643a6308a0303c97648748f31cd8536112",
                "md5": "62e2b91754359e61a9c9a2ed954f0658",
                "sha256": "623a160f489e5f427ad0a280a5111f218b4f6810f26919219350b43d0c54a52b"
            },
            "downloads": -1,
            "filename": "ngrok-flask-cart-0.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "62e2b91754359e61a9c9a2ed954f0658",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3635,
            "upload_time": "2024-02-24T19:40:36",
            "upload_time_iso_8601": "2024-02-24T19:40:36.954088Z",
            "url": "https://files.pythonhosted.org/packages/c4/71/565e90edd9f9f12a395f4702b1643a6308a0303c97648748f31cd8536112/ngrok-flask-cart-0.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-24 19:40:36",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "ngrok-flask-cart"
}
        
Elapsed time: 0.21302s