{"id":26404472,"url":"https://github.com/nsls2/bluesky-nexus","last_synced_at":"2026-02-03T07:34:13.203Z","repository":{"id":280481971,"uuid":"942146311","full_name":"NSLS2/bluesky-nexus","owner":"NSLS2","description":"WIP for writing NeXus metadata into Bluesky documents.","archived":false,"fork":false,"pushed_at":"2025-04-21T21:13:58.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-08T06:55:03.143Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NSLS2.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,"zenodo":null}},"created_at":"2025-03-03T16:42:15.000Z","updated_at":"2025-04-21T21:14:02.000Z","dependencies_parsed_at":"2025-03-03T17:41:28.134Z","dependency_job_id":"a756cb18-3e48-415e-bb2d-060b2a2a3737","html_url":"https://github.com/NSLS2/bluesky-nexus","commit_stats":null,"previous_names":["nsls2/bluesky-nexus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NSLS2/bluesky-nexus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NSLS2%2Fbluesky-nexus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NSLS2%2Fbluesky-nexus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NSLS2%2Fbluesky-nexus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NSLS2%2Fbluesky-nexus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NSLS2","download_url":"https://codeload.github.com/NSLS2/bluesky-nexus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NSLS2%2Fbluesky-nexus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29037528,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T06:39:36.383Z","status":"ssl_error","status_checked_at":"2026-02-03T06:39:32.787Z","response_time":96,"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":[],"created_at":"2025-03-17T16:35:48.247Z","updated_at":"2026-02-03T07:34:13.188Z","avatar_url":"https://github.com/NSLS2.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bluesky-nexus\nWIP for writing NeXus metadata into Bluesky documents.\n\n### Istallation\n\nThis repo uses [pixi](https://pixi.sh/dev/) to manage the Python dependencies and run basic commands. Runing the following commands will install all necessary dependencies in the local pixi environment, clone the oficial NeXus definitions into a subfolder, and synchronize `.ipynb` and `.py` versions of Jupyter notebooks with [Jupytext](https://jupytext.readthedocs.io/en/latest/).\n\n```bash\npixi install\npixi run clone\npixi sync\n```\n\n### Converting NeXus .nxdl.xml definitions to .yml\n\nThe code in `/src/conversion` allows one to convert any official NeXus definition or application file from its original `.nxdl.xml` format into a `.yml` file formatted to be compatible with `nexus_writer` -- a convenient package for saving NeXus data files. The conversion is a two-step process: first, the `.nxdl.xml` files are converted into an equivalent `.nxdl.yml` representation using a third party tool [nyaml](https://pypi.org/project/nyaml/0.0.8/). The resulting definitions are parsed and normalized with classes and data types becoming values at corresponding keys; this also allows one to declare additional key-value pairs, such as `value`, `reference`, etc. if desired. This process is illustrated in the notebook `/notebooks/xml-conversion.ipynb` and can be run for all files in batch or each file individually.\n\nThe intermediate `.nxdl.yml` and the resulting `nexus_writer`-compatible `.yml` definitions allow one to reference external files and so build a nested representation for a complex NeXus schema form its simpler components (details TBD).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsls2%2Fbluesky-nexus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnsls2%2Fbluesky-nexus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsls2%2Fbluesky-nexus/lists"}