Skip to content

Commit 37bda86

Browse files
committed
add examples to repository and disable autgeneration in workflow
1 parent d9544ba commit 37bda86

23 files changed

+287
-15
lines changed

.github/workflows/ghpages.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@ jobs:
2828
id: setup
2929
run: date -u "+date=%FT%T" >>"$GITHUB_OUTPUT"
3030

31-
- name: "Generate examples"
32-
run: |
33-
npm install -g cborg
34-
python3 -m pip install --upgrade pip wheel setuptools==76.1.0
35-
python3 -m pip install -r src/requirements.txt
36-
python3 src/main.py
37-
3831
- name: "Caching"
3932
uses: actions/cache@v4
4033
with:

.github/workflows/publish.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@ jobs:
3131
id: setup
3232
run: date -u "+date=%FT%T" >>"$GITHUB_OUTPUT"
3333

34-
- name: "Generate examples"
35-
run: |
36-
npm install -g cborg
37-
python3 -m pip install --upgrade pip wheel setuptools==76.1.0
38-
python3 -m pip install -r src/requirements.txt
39-
python3 src/main.py
40-
4134
- name: "Caching"
4235
uses: actions/cache@v4
4336
with:

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
/.venv/
1414
/.vscode/
1515
/*-[0-9][0-9].xml
16-
/examples/
1716
/lib
1817
/node_modules/
1918
/src/__pycache__/

examples/referenced_token_cwt.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
d28443a10126a1044231325866a502653132333435017368747470733a2f2f657861
2+
6d706c652e636f6d061a648c5bea041a8898dfea19ffffa16b7374617475735f6c69
3+
7374a2636964780063757269782168747470733a2f2f6578616d706c652e636f6d2f
4+
7374617475736c697374732f315840425901681bb602928a803b7602027856372412
5+
c6b8b92b732ee2b66ef0273010f3640da98ceca025465178e0f09fa079b0962b7d72
6+
863edce3726d80f1e52bbf
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
d2 # tag(18)
2+
84 # array(4)
3+
43 # bytes(3)
4+
a10126 # "¡\x01&"
5+
a1 # map(1)
6+
04 # uint(4)
7+
42 # bytes(2)
8+
3132 # "12"
9+
58 66 # bytes(102)
10+
a50265313233343501736874 # "¥\x02e12345\x01sht"
11+
7470733a2f2f6578616d706c # "tps://exampl"
12+
652e636f6d061a648c5bea04 # "e.com\x06\x1ad\x8c[ê\x04"
13+
1a8898dfea19ffffa16b7374 # "\x1a\x88\x98ßê\x19ÿÿ¡kst"
14+
617475735f6c697374a26369 # "atus_list¢ci"
15+
647800637572697821687474 # "dx\x00curix!htt"
16+
70733a2f2f6578616d706c65 # "ps://example"
17+
2e636f6d2f7374617475736c # ".com/statusl"
18+
697374732f31 # "ists/1"
19+
58 40 # bytes(64)
20+
425901681bb602928a803b76 # "BY\x01h\x1b¶\x02\x92\x8a\x80;v"
21+
02027856372412c6b8b92b73 # "\x02\x02xV7$\x12Ƹ¹+s"
22+
2ee2b66ef0273010f3640da9 # ".â¶nð'0\x10ód\x0d©"
23+
8ceca025465178e0f09fa079 # "\x8cì\xa0%FQxàð\x9f\xa0y"
24+
b0962b7d72863edce3726d80 # "°\x96+}r\x86>Üãrm\x80"
25+
f1e52bbf # "ñå+¿"

examples/status_list_cwt.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
845820a2012610781a6170706c69636174696f6e2f7374617475736c6973742b6377
2+
74a1044231325850a502782168747470733a2f2f6578616d706c652e636f6d2f7374
3+
617475736c697374732f31061a648c5bea041a8898dfea19fffe19a8c019fffda264
4+
6269747301636c73744a78dadbb918000217015d58405e1dfcf3b4499621dd2585c9
5+
cdd3f702543c040f1c6947e6d07b0092948ffb6d33ccff503c6938daecbc57d3de5c
6+
9067b16da45c530e905b33a4787fba5d0599

examples/status_list_cwt_diag.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
84 # array(4)
2+
58 20 # bytes(32)
3+
a2012610781a6170706c696361 # "¢\x01&\x10x\x1aapplica"
4+
74696f6e2f7374617475736c69 # "tion/statusli"
5+
73742b637774 # "st+cwt"
6+
a1 # map(1)
7+
04 # uint(4)
8+
42 # bytes(2)
9+
3132 # "12"
10+
58 50 # bytes(80)
11+
a502782168747470733a2f2f65 # "¥\x02x!https://e"
12+
78616d706c652e636f6d2f7374 # "xample.com/st"
13+
617475736c697374732f31061a # "atuslists/1\x06\x1a"
14+
648c5bea041a8898dfea19fffe # "d\x8c[ê\x04\x1a\x88\x98ßê\x19ÿþ"
15+
19a8c019fffda2646269747301 # "\x19¨À\x19ÿý¢dbits\x01"
16+
636c73744a78dadbb918000217 # "clstJxÚÛ¹\x18\x00\x02\x17"
17+
015d # "\x01]"
18+
58 40 # bytes(64)
19+
5e1dfcf3b4499621dd2585c9cd # "^\x1düó´I\x96!Ý%\x85ÉÍ"
20+
d3f702543c040f1c6947e6d07b # "Ó÷\x02T<\x04\x0f\x1ciGæÐ{"
21+
0092948ffb6d33ccff503c6938 # "\x00\x92\x94\x8fûm3ÌÿP<i8"
22+
daecbc57d3de5c9067b16da45c # "Úì¼WÓÞ\\x90g±m¤\"
23+
530e905b33a4787fba5d0599 # "S\x0e\x90[3¤x\x7fº]\x05\x99"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
a2646269747301636c737458bd78daeddc010dc0200c0041a88249400ad2903e0f4b
2+
ba00bd93f002beb7a2a2010000a91e09000000000000000000000000000000807296
3+
04000000000000000000000000000000000000000000000000000000000000000000
4+
000000000000005c6f4800000000000000fc2c240000000000000000000000be1b12
5+
000000000000000000ecaa4b000000000000000000000000000000009b0b09000000
6+
00000000000038de9400000000000000002a30cc010000000080642f0bd8011b
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"bits": 1,
3+
"lst": "eNrt3AENwCAMAEGogklACtKQPg9LugC9k_ACvreiogE
4+
AAKkeCQAAAAAAAAAAAAAAAAAAAIBylgQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
5+
AAAAAAAAAAAAAAAAAAAXG9IAAAAAAAAAPwsJAAAAAAAAAAAAAAAvhsSAAAAAAAAAAA
6+
A7KpLAAAAAAAAAAAAAAAAAAAAAJsLCQAAAAAAAAAAADjelAAAAAAAAAAAKjDMAQAAA
7+
ACAZC8L2AEb"
8+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
byte_array = [0xc9, 0x44, 0xf9]
2+
encoded:
3+
a2646269747302636c73744b78da3be9f2130003df0207

0 commit comments

Comments
 (0)