Skip to main content

a convenient solution to heroku web apps / APIs.

Project description

dolphin

a convenient solution to heroku web apps / APIs.

installation.

pip3 install dolphin

or 

pip3 install --no-cache git+https://github.com/dolphinorg/dolphin.git

basic example.

import os
from flask import Flask
from dolphin 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 an packages you can contact me t.me/midnightmadwalk. => use it in any python web framework and report bug or contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydolphin-0.1.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pydolphin-0.1.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file pydolphin-0.1.1.tar.gz.

File metadata

  • Download URL: pydolphin-0.1.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1+

File hashes

Hashes for pydolphin-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ec20b6b58e30ec56c9077fd8af7623b44ad8cfd92ec0c9427493069512791b7b
MD5 56acb796a94200e9390a3c741ba071a6
BLAKE2b-256 67c20fd744189fc51847d46fd5c753517f2927fd4954e130ffbdc4ba03d88dfe

See more details on using hashes here.

File details

Details for the file pydolphin-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pydolphin-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1+

File hashes

Hashes for pydolphin-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a65e08ab5ea2f42811a6d08145144a98e0a0076be17b248d0922119ac22dce0
MD5 77b59c4b5af4cd8b19fbd897e521ccd5
BLAKE2b-256 078ef5d0b4bae7d483ab464281a4afdd2b1f94b32bd73978908db89d51e36876

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page