Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pn.serve function #963

Merged
merged 2 commits into from Jan 19, 2020
Merged

Add pn.serve function #963

merged 2 commits into from Jan 19, 2020

Conversation

philippjfr
Copy link
Member

@philippjfr philippjfr commented Jan 19, 2020

Adds a pn.serve function which allows server multiple apps on one server. As an example this:

import panel as pn
pn.serve({'markdown': '# This is a Panel app', 'json': pn.pane.JSON({'abc': 123})})

serves:

Screen Shot 2020-01-19 at 8 39 37 PM

@codecov
Copy link

@codecov codecov bot commented Jan 19, 2020

Codecov Report

Merging #963 into master will decrease coverage by 0.02%.
The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #963      +/-   ##
==========================================
- Coverage   85.27%   85.25%   -0.03%     
==========================================
  Files          96       96              
  Lines       10696    10715      +19     
==========================================
+ Hits         9121     9135      +14     
- Misses       1575     1580       +5
Impacted Files Coverage Δ
panel/__init__.py 100% <100%> (ø) ⬆️
panel/io/__init__.py 100% <100%> (ø) ⬆️
panel/io/resources.py 94.11% <100%> (+1.52%) ⬆️
panel/io/notebook.py 61.9% <100%> (-1.32%) ⬇️
panel/cli.py 42.18% <33.33%> (-0.44%) ⬇️
panel/io/server.py 40% <82.35%> (+5.45%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e4d9ee4...7feec8b. Read the comment docs.

@philippjfr philippjfr merged commit 08cf06d into master Jan 19, 2020
2 of 4 checks passed
@philippjfr philippjfr added this to the v0.8.0 milestone Jan 19, 2020
@philippjfr philippjfr deleted the serve_function branch Jan 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant