a convenient solution to heroku web apps / APIs.
Project description
pydolphin
a convenient solution to heroku web apps / APIs.
installation.
pip3 install pydolphin
or
pip3 install --no-cache git+https://github.com/dolphinorg/pydolphin.git
basic example.
import os
from flask import Flask
from pydolphin import dolphin
PORT = int(os.environ.get("PORT", 6969))
app = Flask(__name__)
@app.before_first_request
def dolphin_start():
dolphin.swim()
@app.route('/')
def index():
return 'hello'
app.run(host='0.0.0.0', port=PORT)
note.
=> i am currently learning js and node-js but if you want to contribute to make dolphin packages for them, you can contact me t.me/midnightmadwalk. => use it in any python web framework and report bug or contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pydolphin-0.1.2.tar.gz.
File metadata
- Download URL: pydolphin-0.1.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.8.0 tqdm/4.57.0 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
810ecb98ca774329c65cc5540875675f39821f1b372cc02f77de53d9a1ebc41d
|
|
| MD5 |
8b3209c81e00bf0a5ea978de97338be9
|
|
| BLAKE2b-256 |
58a87a73597b3cddd4c6c460be96de240cb2f4291a3572cf6b938548d9eaa694
|
File details
Details for the file pydolphin-0.1.2-py3-none-any.whl.
File metadata
- Download URL: pydolphin-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.8.0 tqdm/4.57.0 CPython/3.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afe64b8d36c45cc0b829685a623f488b2ec662d2afecedcf50ab1a6c642e8b1a
|
|
| MD5 |
79552521f3445910d622b67917b9db4e
|
|
| BLAKE2b-256 |
3d037dae212403d78df79883553613fe697124d3207ad31b3dc359927c8510f9
|