You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

pydolphin

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pydolphin

a convenient solution to heroku web apps / APIs.

0.1.2
pipPyPI
Maintainers
1

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.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts