just-ship-it 🚀
For when you just need to ship your Python code.
Compatability
Python 3.6+ is required.
Installation
pip install just-ship-it
Inside Jupyter / Colab Notebooks
Notebooks have an issue with newer versions of Flask, so force an older version if working in these environments.
!pip install flask==0.12.2
Quickstart
Just from just_ship_it import ship_it and ship_it()!
# just_ship_it_example.py
def greet(name):
"""Greets you by name!"""
return 'Hello {name}!'.format(name=name)
def hello():
return {'hello': 'world'}
if __name__ == '__main__':
from just_ship_it import ship_it
ship_it()
python just_ship_it_example.py
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
* Running on http://<random-address>.ngrok.io
* Traffic stats available on http://127.0.0.1:4040
Your code is now shipped!
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
just-ship-it-0.0.6.tar.gz
(3.0 kB
view details)
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 just-ship-it-0.0.6.tar.gz.
File metadata
- Download URL: just-ship-it-0.0.6.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cc6b2d24018e0bff0d4a382d95b7be15ae21168b0205b3ec868065a56e7029c
|
|
| MD5 |
b6dbf74fd24e73cf7324aed25e398a02
|
|
| BLAKE2b-256 |
0bccc64b457e470a9986ac4678458eea633bd12e6f1c202987541a3c507acd99
|
File details
Details for the file just_ship_it-0.0.6-py3-none-any.whl.
File metadata
- Download URL: just_ship_it-0.0.6-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11ad5128cd8fd95051cf4d2d1f88addaa819eec5d2cfa6c8fd012f57d774fffb
|
|
| MD5 |
95ed91d37cad0bff7f20f4a687a78c1d
|
|
| BLAKE2b-256 |
3b6d5b6f6d59aff6414899fb1d1131a3e77cf004817b3b5b89a6b54c475f61fc
|