{"id":23701405,"url":"https://github.com/zoziha/display","last_synced_at":"2026-01-27T15:32:37.850Z","repository":{"id":177845253,"uuid":"657647512","full_name":"zoziha/display","owner":"zoziha","description":"A simple display 📺 module for displaying scalar, vector, and matrix floating-point, integer, logical, and string values on the screen in a general, formatted manner, often used for debugging code or syntax demonstration.","archived":false,"fork":false,"pushed_at":"2023-07-20T09:35:51.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-22T21:16:53.439Z","etag":null,"topics":["display","fortran","fortran-package-manager","io","print"],"latest_commit_sha":null,"homepage":"","language":"Fortran","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zoziha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-23T14:15:01.000Z","updated_at":"2023-07-16T10:54:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"640073d2-6fe9-48ca-813a-f1fac396f6ad","html_url":"https://github.com/zoziha/display","commit_stats":null,"previous_names":["zoziha/display"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zoziha/display","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoziha%2Fdisplay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoziha%2Fdisplay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoziha%2Fdisplay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoziha%2Fdisplay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zoziha","download_url":"https://codeload.github.com/zoziha/display/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoziha%2Fdisplay/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28815406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["display","fortran","fortran-package-manager","io","print"],"created_at":"2024-12-30T09:37:31.274Z","updated_at":"2026-01-27T15:32:37.837Z","avatar_url":"https://github.com/zoziha.png","language":"Fortran","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Display\n\n![Language](https://img.shields.io/badge/-Fortran-734f96?logo=fortran\u0026logoColor=white)\n[![license](https://img.shields.io/badge/License-MIT-pink)](LICENSE)\n\nA simple display 📺 module for displaying scalar, vector, and matrix floating-point, integer, logical, and string values\non the screen in a general, formatted manner, often used for debugging code or syntax demonstration.\n\n## Usage\n\nOnly FPM is supported, other build systems can copy source files (`./src/display.F90`) directly,\nand `ifort/ifx` and `gfortran` compilers are tested.\n\nTo use `display` within your `fpm` project, add the following lines to your `fpm.toml` file:\n\n```toml\n[dependencies]\ndisplay = { git=\"https://github.com/zoziha/display\" }\n```\n\n## Example\n\n```sh\n\u003e fpm run --example --all  # run the example\n```\n\n```fortran\nprogram example_display_real\n\n    use display_module, only: display\n    implicit none\n    integer :: i\n\n    call display(1.0, '1.0:')\n    call display(1.0, '1.0:', inline=.true.) ! inline output only for scalar\n    call display(1.0, '1.0:', format='sp,f10.3', unit=6) ! default format is 'es10.3'\n    call display([real ::(i, i=1, 10)], '1:10:')\n    call display([real ::(i, i=1, 10)], header='1:10:', brief=.false.)\n    call display(reshape([real ::(i, i=1, 25)], [5, 5]), '5x5:')\n    call display(reshape([real ::(i, i=1, 36)], [6, 6]), '6x6:', .true.)\n    call display(reshape([real ::(i, i=1, -35, -1)], [6, 6]), '6x6:', .false.)\n\nend program example_display_real\n! [scalar] 1.0:\n!  1.000E+00\n! [scalar] 1.0:  1.000E+00\n! [scalar] 1.0:\n!     +1.000\n! [vector: 10] 1:10:\n!  1.000E+00,  2.000E+00,  3.000E+00, ...  1.000E+01\n! [vector: 10] 1:10:\n!  1.000E+00,  2.000E+00,  3.000E+00,  4.000E+00,  5.000E+00,  6.000E+00,  7.000E+00,  8.000E+00,  9.000E+00,  1.000E+01\n! [matrix: 5*5] 5x5:\n!  1.000E+00,  6.000E+00,  1.100E+01,  1.600E+01,  2.100E+01;\n!  2.000E+00,  7.000E+00,  1.200E+01,  1.700E+01,  2.200E+01;\n!  3.000E+00,  8.000E+00,  1.300E+01,  1.800E+01,  2.300E+01;\n!  4.000E+00,  9.000E+00,  1.400E+01,  1.900E+01,  2.400E+01;\n!  5.000E+00,  1.000E+01,  1.500E+01,  2.000E+01,  2.500E+01\n! [matrix: 6*6] 6x6:\n!  1.000E+00,  7.000E+00,  1.300E+01, ...  3.100E+01;\n!  2.000E+00,  8.000E+00,  1.400E+01, ...  3.200E+01;\n!  3.000E+00,  9.000E+00,  1.500E+01, ...  3.300E+01;\n!  :\n!  6.000E+00,  1.200E+01,  1.800E+01, ...  3.600E+01\n! [matrix: 6*6] 6x6:\n!  1.000E+00, -5.000E+00, -1.100E+01, -1.700E+01, -2.300E+01, -2.900E+01;\n!  0.000E+00, -6.000E+00, -1.200E+01, -1.800E+01, -2.400E+01, -3.000E+01;\n! -1.000E+00, -7.000E+00, -1.300E+01, -1.900E+01, -2.500E+01, -3.100E+01;\n! -2.000E+00, -8.000E+00, -1.400E+01, -2.000E+01, -2.600E+01, -3.200E+01;\n! -3.000E+00, -9.000E+00, -1.500E+01, -2.100E+01, -2.700E+01, -3.300E+01;\n! -4.000E+00, -1.000E+01, -1.600E+01, -2.200E+01, -2.800E+01, -3.400E+01\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoziha%2Fdisplay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzoziha%2Fdisplay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoziha%2Fdisplay/lists"}