OSCR

Block oscr:b:7T82S2WRGW94Z-F

A block of code linked to a paper, with an identifier OSCR gives it for good: it is never reused nor deleted. What a block identifier is · this block in JSON

Identifier
oscr:b:7T82S2WRGW94Z-F
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.7554/elife.102144 · its page here
Code
github.com/dstoychev/cockpit, cockpit/devices/piDIO.py, lines 34 to 142 (RaspberryPi)
Commit read
04d217d2c67190f1f87a817c00add89eee39bea6
SWHID
swh:1:cnt:0f462df1b2abcc9c4319e0008a32ce59f8f7615e;origin=https://github.com/dstoychev/cockpit;anchor=swh:1:rev:04d217d2c67190f1f87a817c00add89eee39bea6;path=/cockpit/devices/piDIO.py;lines=34-142 (the Software Heritage identifier of the file as its authors published it, before any email address is hidden for display; it opens in Software Heritage's archive once the repository is archived there)
In the paper
paragraph 62 (Appendix 4 › Optical design)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-14

Open these lines beside the paper

Cite this block

Copy this text: the identifier and its page first, then the code, the paper and the SWHID.

Code block oscr:b:7T82S2WRGW94Z-F (https://openscicode.org/b/oscr:b:7T82S2WRGW94Z-F)
cockpit/devices/piDIO.py, lines 34 to 142, in github.com/dstoychev/cockpit (https://github.com/dstoychev/cockpit), commit 04d217d2c67190f1f87a817c00add89eee39bea6.
Paper: https://doi.org/10.7554/elife.102144
SWHID: swh:1:cnt:0f462df1b2abcc9c4319e0008a32ce59f8f7615e;origin=https://github.com/dstoychev/cockpit;anchor=swh:1:rev:04d217d2c67190f1f87a817c00add89eee39bea6;path=/cockpit/devices/piDIO.py;lines=34-142