-
Notifications
You must be signed in to change notification settings - Fork 24
/
anaconda-project.yml
129 lines (113 loc) · 4.14 KB
/
anaconda-project.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# [REQUIRED] name MUST match the directory name.
# name must be of the form r'[a-z_]+'
name: template
# [REQUIRED] short project description, used in the main gallery
description: This is the example project
# [REQUIRED]config
examples_config:
#### REQUIRED ###
# Creation date following the YYYY-MM-DD format
created: 2022-01-20
# List of the GITHUB handle of the authors/maintainers
maintainers:
- "maximlt"
- "jlstevens"
# List of labels displayed in the project card
# Each label must be a name (e.g. panel) that
# refers to a SVG badge located in doc/_static/labels
# (e.g. doc/_static/labels/panel.svg)
labels:
- "hvplot"
- "panel"
### OPTIONAL ###
# The project title is used to display the project name in the gallery. The
# default title is a prettyfied version of the project name,
# i.e. 'foo_bar' becomes 'Foo Bar'.
# This parameters allows to override the default title.
title: "Template"
# Listed deployments will by default automatically be started.
# Maximum number of deployments is 2.
# Each deployment must declare the command it deploys, options
# include "notebook" or "dashboard".
deployments:
# Will be deployed at {projname_with_hyphens}-notebook.pyviz.demo.anaconda.com
- command: notebook
# Will be deployed at {projname_with_hyphens}.pyviz.demo.anaconda.com
- command: dashboard
# [OPTIONAL] Set the AE5 container resource profile.
# Options include: "default", "medium" (default), "large"
resource_profile: medium
# [OPTIONAL] Automatically start the deployment on AE5 when a PR
# modifying the project is merged. Default is true.
auto_deploy: true
# to build the website (e.g. too long or require too much data).
# This indicates the system not to run them.
skip_notebooks_evaluation: false
# For projects that get their data either by:
# - automatically generating it
# - providing indications
no_data_ingestion: false
# select the Github runner to test and build (default: ubuntu-latest)
gh_runner: "ubuntu-latest"
# [REQUIRED] (needed internally)
user_fields: [examples_config]
# [REQUIRED] list of the channels needed to solve the environment
channels:
- defaults
# Use nodefaults to remove the "defaults" channel
# - nodefaults
# [REQUIRED] list of the direct dependencies needed to run the project.
# Good practice is to pin their minimum version (>=) to indicate the
# version with which the project has been created. Updates to the project
# should in practice update these pins.
packages: &pkgs
# [REQUIRED] the "notebook" package must be installed
- notebook >=6.5.2
# then list all your dependencies, including Python itself
- python ==3.9
- panel >=0.14.2
- hvplot >=0.8.2
- pandas >=1.4.2
dependencies: *pkgs
# [REQUIRED] define the commands the project user may run (e.g. anaconda-project run notebook)
commands:
# if you intend to run notebooks, set the `notebook` command
notebook:
# reference a single notebook in your project
notebook: template.ipynb
# shortcut to open all the notebook
# notebook: .
# if you intend to declare a deployment of a panel/lumen app, set the `dashboard` command
dashboard:
# for a deployment, the `--rest-session-info --session-history -1` options are required
unix: panel serve --rest-session-info --session-history -1 template.ipynb
supports_http_options: true
# [OPTIONAL] a project can have a test command that references the 'test' env_spec
# if not, the project will be tested automatically by the system
# test:
# unix: pytest --nbsmoke-run -k ".ipynb" --ignore envs
# windows: pytest --nbsmoke-run -k ".ipynb" --ignore envs
# env_spec: test
# [OPTIONAL] declare the test env specs
# env_specs:
# default: {}
# test:
# packages: &testpkgs
# - nbsmoke
# - pytest
# dependencies: *testpkgs
# [OPTIONAL]: environment variables
variables: {}
# [OPTIONAL] downloads
downloads:
DATA:
url: https://datasets.holoviz.org/penguins/v1/penguins.csv
description: |
Penguins dataset
# The output must be in the data/ subfolder
filename: data/penguins.csv
# [REQUIRED] supported plaforms
platforms:
- linux-64
- osx-64
- win-64