Skip to content

Commit 98ce5ec

Browse files
authored
Merge pull request #46 from machow/feat-board-local
feat: board_local, board_tmp, board_folder functions
2 parents 358e05c + f312362 commit 98ce5ec

File tree

19 files changed

+864
-36
lines changed

19 files changed

+864
-36
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
python -m pip install -e .
2525
- name: Run tests
2626
run: |
27-
pytest pins -m 'not fs_rsc'
27+
pytest pins -m 'not fs_rsc and not skip_on_github'
2828
env:
2929
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
3030
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -53,7 +53,7 @@ jobs:
5353
# NOTE: edited to run checks for python package
5454
- name: Run tests
5555
run: |
56-
pytest pins -m fs_rsc
56+
pytest pins -m 'fs_rsc and not skip_on_github'
5757
5858
build-docs:
5959
name: "Build Docs"
@@ -69,6 +69,7 @@ jobs:
6969
python -m pip install --upgrade pip
7070
python -m pip install -r requirements/dev.txt
7171
python -m pip install -e .
72+
ipython kernel install --name "venv-pins-python" --user
7273
- uses: r-lib/actions/setup-pandoc@v1
7374
with:
7475
pandoc-version: '2.17.0.1'

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ docs-watch:
3232
docs-clean:
3333
rm -rf docs/_build docs/api/api_card
3434

35-
requirements-dev:
35+
requirements/dev.txt: setup.cfg
3636
@# allows you to do this...
3737
@# make requirements | tee > requirements/some_file.txt
38-
@pip-compile setup.cfg --rebuild --extra dev --output-file=-
38+
@pip-compile setup.cfg --rebuild --extra dev --output-file=- > $@
39+
40+
binder/requirements.txt: setup.cfg
41+
@pip-compile setup.cfg --rebuild --extra dev --output-file=- > $@

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# pins-python
22

3+
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/machow/pins-python/HEAD)
4+
35
## Install
46

57
```shell

binder/postBuild

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
set -e
2+
3+
pip install -e .

binder/requirements.txt

Lines changed: 324 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,324 @@
1+
#
2+
# This file is autogenerated by pip-compile with python 3.8
3+
# To update, run:
4+
#
5+
# pip-compile --extra=dev --output-file=- setup.cfg
6+
#
7+
aiobotocore==2.1.2
8+
# via s3fs
9+
aiohttp==3.8.1
10+
# via
11+
# aiobotocore
12+
# s3fs
13+
aioitertools==0.10.0
14+
# via aiobotocore
15+
aiosignal==1.2.0
16+
# via aiohttp
17+
alabaster==0.7.12
18+
# via sphinx
19+
appdirs==1.4.4
20+
# via pins (setup.cfg)
21+
appnope==0.1.2
22+
# via
23+
# ipykernel
24+
# ipython
25+
asttokens==2.0.5
26+
# via stack-data
27+
async-timeout==4.0.2
28+
# via aiohttp
29+
attrs==21.4.0
30+
# via
31+
# aiohttp
32+
# jsonschema
33+
# markdown-it-py
34+
# pytest
35+
babel==2.9.1
36+
# via sphinx
37+
backcall==0.2.0
38+
# via ipython
39+
beautifulsoup4==4.10.0
40+
# via
41+
# nbconvert
42+
# pydata-sphinx-theme
43+
bleach==4.1.0
44+
# via nbconvert
45+
botocore==1.23.24
46+
# via aiobotocore
47+
certifi==2021.10.8
48+
# via requests
49+
charset-normalizer==2.0.12
50+
# via
51+
# aiohttp
52+
# requests
53+
click==8.0.4
54+
# via pip-tools
55+
debugpy==1.6.0
56+
# via ipykernel
57+
decopatch==1.4.10
58+
# via pytest-cases
59+
decorator==5.1.1
60+
# via ipython
61+
defusedxml==0.7.1
62+
# via nbconvert
63+
docutils==0.17.1
64+
# via
65+
# nbsphinx
66+
# pydata-sphinx-theme
67+
# sphinx
68+
entrypoints==0.4
69+
# via
70+
# jupyter-client
71+
# nbconvert
72+
executing==0.8.3
73+
# via stack-data
74+
frozenlist==1.3.0
75+
# via
76+
# aiohttp
77+
# aiosignal
78+
fsspec==2022.02.0
79+
# via
80+
# pins (setup.cfg)
81+
# s3fs
82+
idna==3.3
83+
# via
84+
# requests
85+
# yarl
86+
imagesize==1.3.0
87+
# via sphinx
88+
importlib-metadata==4.11.3
89+
# via sphinx
90+
importlib-resources==5.4.0
91+
# via
92+
# jsonschema
93+
# pins (setup.cfg)
94+
iniconfig==1.1.1
95+
# via pytest
96+
ipykernel==6.9.2
97+
# via pins (setup.cfg)
98+
ipython==8.1.1
99+
# via ipykernel
100+
jedi==0.18.1
101+
# via ipython
102+
jinja2==3.1.0
103+
# via
104+
# nbconvert
105+
# nbsphinx
106+
# pins (setup.cfg)
107+
# sphinx
108+
jmespath==0.10.0
109+
# via botocore
110+
joblib==1.1.0
111+
# via pins (setup.cfg)
112+
jsonschema==4.4.0
113+
# via nbformat
114+
jupyter-client==7.1.2
115+
# via
116+
# ipykernel
117+
# nbclient
118+
jupyter-core==4.9.2
119+
# via
120+
# jupyter-client
121+
# nbconvert
122+
# nbformat
123+
jupyterlab-pygments==0.1.2
124+
# via nbconvert
125+
jupytext==1.13.7
126+
# via pins (setup.cfg)
127+
makefun==1.13.1
128+
# via
129+
# decopatch
130+
# pytest-cases
131+
markdown-it-py==1.1.0
132+
# via
133+
# jupytext
134+
# mdit-py-plugins
135+
markupsafe==2.1.1
136+
# via jinja2
137+
matplotlib-inline==0.1.3
138+
# via
139+
# ipykernel
140+
# ipython
141+
mdit-py-plugins==0.3.0
142+
# via jupytext
143+
mistune==0.8.4
144+
# via nbconvert
145+
multidict==6.0.2
146+
# via
147+
# aiohttp
148+
# yarl
149+
nbclient==0.5.13
150+
# via nbconvert
151+
nbconvert==6.4.4
152+
# via nbsphinx
153+
nbformat==5.2.0
154+
# via
155+
# jupytext
156+
# nbclient
157+
# nbconvert
158+
# nbsphinx
159+
nbsphinx==0.8.8
160+
# via pins (setup.cfg)
161+
nest-asyncio==1.5.4
162+
# via
163+
# ipykernel
164+
# jupyter-client
165+
# nbclient
166+
numpy==1.22.3
167+
# via
168+
# pandas
169+
# siuba
170+
packaging==21.3
171+
# via
172+
# bleach
173+
# pytest
174+
# sphinx
175+
pandas==1.4.1
176+
# via
177+
# pins (setup.cfg)
178+
# siuba
179+
pandocfilters==1.5.0
180+
# via nbconvert
181+
parso==0.8.3
182+
# via jedi
183+
pep517==0.12.0
184+
# via pip-tools
185+
pexpect==4.8.0
186+
# via ipython
187+
pickleshare==0.7.5
188+
# via ipython
189+
pip-tools==6.5.1
190+
# via pins (setup.cfg)
191+
pluggy==1.0.0
192+
# via pytest
193+
prompt-toolkit==3.0.28
194+
# via ipython
195+
psutil==5.9.0
196+
# via ipykernel
197+
ptyprocess==0.7.0
198+
# via pexpect
199+
pure-eval==0.2.2
200+
# via stack-data
201+
py==1.11.0
202+
# via pytest
203+
pydata-sphinx-theme==0.8.0
204+
# via pins (setup.cfg)
205+
pygments==2.11.2
206+
# via
207+
# ipython
208+
# jupyterlab-pygments
209+
# nbconvert
210+
# sphinx
211+
pyparsing==3.0.7
212+
# via packaging
213+
pyrsistent==0.18.1
214+
# via jsonschema
215+
pytest==7.1.1
216+
# via
217+
# pins (setup.cfg)
218+
# pytest-dotenv
219+
pytest-cases==3.6.11
220+
# via pins (setup.cfg)
221+
pytest-dotenv==0.5.2
222+
# via pins (setup.cfg)
223+
python-dateutil==2.8.2
224+
# via
225+
# botocore
226+
# jupyter-client
227+
# pandas
228+
python-dotenv==0.20.0
229+
# via pytest-dotenv
230+
pytz==2022.1
231+
# via
232+
# babel
233+
# pandas
234+
pyyaml==6.0
235+
# via
236+
# jupytext
237+
# pins (setup.cfg)
238+
# siuba
239+
pyzmq==22.3.0
240+
# via jupyter-client
241+
requests==2.27.1
242+
# via sphinx
243+
s3fs==2022.2.0
244+
# via pins (setup.cfg)
245+
siuba==0.1.2
246+
# via pins (setup.cfg)
247+
six==1.16.0
248+
# via
249+
# bleach
250+
# python-dateutil
251+
snowballstemmer==2.2.0
252+
# via sphinx
253+
soupsieve==2.3.1
254+
# via beautifulsoup4
255+
sphinx==4.4.0
256+
# via
257+
# nbsphinx
258+
# pins (setup.cfg)
259+
# pydata-sphinx-theme
260+
sphinxcontrib-applehelp==1.0.2
261+
# via sphinx
262+
sphinxcontrib-devhelp==1.0.2
263+
# via sphinx
264+
sphinxcontrib-htmlhelp==2.0.0
265+
# via sphinx
266+
sphinxcontrib-jsmath==1.0.1
267+
# via sphinx
268+
sphinxcontrib-qthelp==1.0.3
269+
# via sphinx
270+
sphinxcontrib-serializinghtml==1.1.5
271+
# via sphinx
272+
sqlalchemy==1.4.32
273+
# via siuba
274+
stack-data==0.2.0
275+
# via ipython
276+
testpath==0.6.0
277+
# via nbconvert
278+
toml==0.10.2
279+
# via jupytext
280+
tomli==2.0.1
281+
# via
282+
# pep517
283+
# pytest
284+
tornado==6.1
285+
# via
286+
# ipykernel
287+
# jupyter-client
288+
traitlets==5.1.1
289+
# via
290+
# ipykernel
291+
# ipython
292+
# jupyter-client
293+
# jupyter-core
294+
# matplotlib-inline
295+
# nbclient
296+
# nbconvert
297+
# nbformat
298+
# nbsphinx
299+
typing-extensions==4.1.1
300+
# via aioitertools
301+
urllib3==1.26.9
302+
# via
303+
# botocore
304+
# requests
305+
wcwidth==0.2.5
306+
# via prompt-toolkit
307+
webencodings==0.5.1
308+
# via bleach
309+
wheel==0.37.1
310+
# via pip-tools
311+
wrapt==1.14.0
312+
# via aiobotocore
313+
xxhash==3.0.0
314+
# via pins (setup.cfg)
315+
yarl==1.7.2
316+
# via aiohttp
317+
zipp==3.7.0
318+
# via
319+
# importlib-metadata
320+
# importlib-resources
321+
322+
# The following packages are considered to be unsafe in a requirements file:
323+
# pip
324+
# setuptools

binder/runtime.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
python-3.9

docs/conf.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,14 @@
7777
nbsphinx_custom_formats = {
7878
".Rmd": lambda s: jupytext.reads(s, ".Rmd"),
7979
}
80+
81+
nbsphinx_prolog = """
82+
.. raw:: html
83+
84+
<style>
85+
.nbinput .prompt,
86+
.nboutput .prompt {
87+
display: none;
88+
}
89+
</style>
90+
"""

0 commit comments

Comments
 (0)