Jupyter Notebook (IPYNB)
A valid Jupyter notebook (nbformat 4.5) with markdown cells, code cells, and real outputs (stdout stream and an execute result) — for testing notebook parsers, nbconvert, and JSON tooling.
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Monthly Revenue Analysis\n",
"\n",
"A short example notebook: load a small revenue table, compute the total, and ",
"find the best month. Free to use for testing notebook parsers and converters."
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd\n",
"\n",
"df = pd.DataFrame({\n",
" 'month': ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'],\n",
" 'revenue': [42, 48, 55, 51, 63, 70],\n",
"})"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Total revenue: 329\n"
]
}
],
"source": [
"print('Total revenue:', df['revenue'].sum())"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"data": {Specifications
- Format
- nbformat 4.5
- Cells
- 5
- Cell Types
- markdown + code
- Outputs
- stream + execute_result
What is a .ipynb file?
An IPYNB file is a Jupyter notebook — a JSON document that stores an ordered list of cells (markdown and code) together with each code cell's outputs, execution counts, and kernel metadata. It is the standard interactive-computing document format for Python and other languages.
How to use this file
Use an example notebook to test notebook parsers, nbconvert and other converters, cell/output extraction, and JSON tooling.
Related files
- drawiodraw.io Diagram (XML)A draw.io (diagrams.net) diagram in its native mxGraphModel XML — a small flowchart — for testing draw.io import/export and XML parsing of diagram files.
- dotGraphviz DOT GraphA Graphviz DOT directed graph describing a fulfilment pipeline — for testing DOT parsing, Graphviz rendering, and DOT-to-SVG/PNG conversion.
- mmdMermaid Flowchart (MMD)A Mermaid flowchart of an order-fulfilment process as diagrams-as-code — for testing Mermaid rendering, diagram-to-image conversion, and Markdown pipelines that embed Mermaid.
- pumlPlantUML Sequence DiagramA PlantUML sequence diagram of an order interaction (customer, store, warehouse) as diagrams-as-code — for testing PlantUML parsing and diagram rendering pipelines.
- jsonSample JWT — Decoded (JSON)The decoded header and payload of the sample JWT as JSON, alongside the public signing secret and algorithm — the ground truth for checking a JWT decoder's output.
- jwtSample JWT (HS256)A sample JSON Web Token (JWT) signed with HS256 using a published example secret — verifiable but powerless — for testing JWT decoders and validators. Sample only, never for production. Paired with its decoded claims.
Generated by generation/data_dev_artifacts.py. Free for any use, no attribution required — license.