Skip to content

Commit 48557a3

Browse files
committed
Reorganize repo. Archive old projects, organized by issue where possible. Delete obselete scripts.
1 parent b7557c3 commit 48557a3

38 files changed

+300
-393819
lines changed

check_update.py

-17
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+300
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,300 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 1,
6+
"metadata": {},
7+
"outputs": [],
8+
"source": [
9+
"from digital_manuscript import BnF"
10+
]
11+
},
12+
{
13+
"cell_type": "code",
14+
"execution_count": 2,
15+
"metadata": {},
16+
"outputs": [],
17+
"source": [
18+
"manuscript = BnF()"
19+
]
20+
},
21+
{
22+
"cell_type": "code",
23+
"execution_count": 3,
24+
"metadata": {},
25+
"outputs": [
26+
{
27+
"data": {
28+
"text/plain": [
29+
"'hello world'"
30+
]
31+
},
32+
"execution_count": 3,
33+
"metadata": {},
34+
"output_type": "execute_result"
35+
}
36+
],
37+
"source": [
38+
"manuscript.testfunc()"
39+
]
40+
},
41+
{
42+
"cell_type": "code",
43+
"execution_count": 4,
44+
"metadata": {},
45+
"outputs": [
46+
{
47+
"data": {
48+
"text/plain": [
49+
"<recipe.Recipe at 0x2cb307a5fc8>"
50+
]
51+
},
52+
"execution_count": 4,
53+
"metadata": {},
54+
"output_type": "execute_result"
55+
}
56+
],
57+
"source": [
58+
"manuscript.entries['001r_1']"
59+
]
60+
},
61+
{
62+
"cell_type": "code",
63+
"execution_count": 27,
64+
"metadata": {},
65+
"outputs": [],
66+
"source": [
67+
"roses = manuscript.search(plant=['rose'])"
68+
]
69+
},
70+
{
71+
"cell_type": "code",
72+
"execution_count": 28,
73+
"metadata": {},
74+
"outputs": [
75+
{
76+
"data": {
77+
"text/plain": [
78+
"['116r_4',\n",
79+
" '155r_1',\n",
80+
" '155v_1',\n",
81+
" '159v_2',\n",
82+
" '169r_1',\n",
83+
" '010r_1',\n",
84+
" '010r_3',\n",
85+
" '120v_6',\n",
86+
" '129r_4',\n",
87+
" '154v_4']"
88+
]
89+
},
90+
"execution_count": 28,
91+
"metadata": {},
92+
"output_type": "execute_result"
93+
}
94+
],
95+
"source": [
96+
"roses"
97+
]
98+
},
99+
{
100+
"cell_type": "code",
101+
"execution_count": 36,
102+
"metadata": {},
103+
"outputs": [
104+
{
105+
"data": {
106+
"text/plain": [
107+
"[['rose'],\n",
108+
" ['strawberry plant', 'rose'],\n",
109+
" ['rose'],\n",
110+
" ['carnation', 'marigold', 'rose'],\n",
111+
" ['wheat',\n",
112+
" 'strawberry',\n",
113+
" 'carnation',\n",
114+
" 'capilli veneri',\n",
115+
" 'moss',\n",
116+
" 'rose',\n",
117+
" 'vine'],\n",
118+
" ['spike lavender', 'rose'],\n",
119+
" ['rose'],\n",
120+
" ['ranunculu',\n",
121+
" 'broom',\n",
122+
" 'carnation',\n",
123+
" 'amaranth',\n",
124+
" 'rose',\n",
125+
" 'yellow meadow flower',\n",
126+
" 'palta lupina',\n",
127+
" 'marigold',\n",
128+
" 'pansy',\n",
129+
" 'cornflower'],\n",
130+
" ['caper plant', 'wheat', 'pansy', 'rose'],\n",
131+
" ['wheat', 'pansy', 'rose']]"
132+
]
133+
},
134+
"execution_count": 36,
135+
"metadata": {},
136+
"output_type": "execute_result"
137+
}
138+
],
139+
"source": [
140+
"[manuscript.entries[just_rose[i]].get_prop('plant') for i in range(len(roses))]"
141+
]
142+
},
143+
{
144+
"cell_type": "code",
145+
"execution_count": 38,
146+
"metadata": {},
147+
"outputs": [
148+
{
149+
"data": {
150+
"text/plain": [
151+
"['044r_5', '110v_2', '120v_6', '129r_4', '138v_2', '142v_1', '154v_4']"
152+
]
153+
},
154+
"execution_count": 38,
155+
"metadata": {},
156+
"output_type": "execute_result"
157+
}
158+
],
159+
"source": [
160+
"manuscript.search(plant=['pansy'])"
161+
]
162+
},
163+
{
164+
"cell_type": "code",
165+
"execution_count": 39,
166+
"metadata": {},
167+
"outputs": [
168+
{
169+
"data": {
170+
"text/plain": [
171+
"['003v_1',\n",
172+
" '004v_1',\n",
173+
" '004v_3',\n",
174+
" '006v_2',\n",
175+
" '007r_1',\n",
176+
" '010r_5',\n",
177+
" '010v_3',\n",
178+
" '012v_3',\n",
179+
" '016r_1',\n",
180+
" '017r_1',\n",
181+
" '022v_1',\n",
182+
" '023r_1',\n",
183+
" '023v_1',\n",
184+
" '024v_1',\n",
185+
" '028v_1',\n",
186+
" '030r_2',\n",
187+
" '032v_3',\n",
188+
" '036v_3',\n",
189+
" '037r_3',\n",
190+
" '039r_2',\n",
191+
" '048v_1',\n",
192+
" '049r_1',\n",
193+
" '050v_2',\n",
194+
" '053r_2',\n",
195+
" '057v_1',\n",
196+
" '063r_3',\n",
197+
" '067v_1',\n",
198+
" '068r_3',\n",
199+
" '072r_2',\n",
200+
" '072v_1',\n",
201+
" '073r_5',\n",
202+
" '076v_4',\n",
203+
" '078v_1',\n",
204+
" '081r_3',\n",
205+
" '081v_2',\n",
206+
" '081v_4',\n",
207+
" '082r_2',\n",
208+
" '082v_4',\n",
209+
" '085v_4',\n",
210+
" '087v_3',\n",
211+
" '088r_2',\n",
212+
" '092v_2',\n",
213+
" '094r_1',\n",
214+
" '097r_2',\n",
215+
" '098r_2',\n",
216+
" '098r_3',\n",
217+
" '098v_5',\n",
218+
" '101r_1',\n",
219+
" '104r_2',\n",
220+
" '105v_4',\n",
221+
" '106r_2',\n",
222+
" '106v_1',\n",
223+
" '110v_2',\n",
224+
" '112v_1',\n",
225+
" '118v_1',\n",
226+
" '',\n",
227+
" '125r_2',\n",
228+
" '126v_3',\n",
229+
" '129v_1',\n",
230+
" '133r_3',\n",
231+
" '134r_1',\n",
232+
" '136v_1',\n",
233+
" '139r_1',\n",
234+
" '141r_1',\n",
235+
" '144r_1',\n",
236+
" '145v_1',\n",
237+
" '146v_1',\n",
238+
" '148r_2',\n",
239+
" '148r_4',\n",
240+
" '149r_1',\n",
241+
" '149r_3',\n",
242+
" '150v_1',\n",
243+
" '151v_1',\n",
244+
" '152r_1',\n",
245+
" '152v_1',\n",
246+
" '155v_1',\n",
247+
" '156v_1',\n",
248+
" '160r_1',\n",
249+
" '161v_1',\n",
250+
" '165v_1',\n",
251+
" '167r_1',\n",
252+
" '169r_1']"
253+
]
254+
},
255+
"execution_count": 39,
256+
"metadata": {},
257+
"output_type": "execute_result"
258+
}
259+
],
260+
"source": [
261+
"manuscript.search(material=['iron'])"
262+
]
263+
},
264+
{
265+
"cell_type": "code",
266+
"execution_count": null,
267+
"metadata": {},
268+
"outputs": [],
269+
"source": []
270+
},
271+
{
272+
"cell_type": "code",
273+
"execution_count": null,
274+
"metadata": {},
275+
"outputs": [],
276+
"source": []
277+
}
278+
],
279+
"metadata": {
280+
"kernelspec": {
281+
"display_name": "Python 3.7.4 64-bit",
282+
"language": "python",
283+
"name": "python37464bitd1f438d1876f44549e9f31c994f2ef25"
284+
},
285+
"language_info": {
286+
"codemirror_mode": {
287+
"name": "ipython",
288+
"version": 3
289+
},
290+
"file_extension": ".py",
291+
"mimetype": "text/x-python",
292+
"name": "python",
293+
"nbconvert_exporter": "python",
294+
"pygments_lexer": "ipython3",
295+
"version": "3.7.4"
296+
}
297+
},
298+
"nbformat": 4,
299+
"nbformat_minor": 4
300+
}
File renamed without changes.

0 commit comments

Comments
 (0)