{"id":18613930,"url":"https://github.com/enthought/okonomiyaki","last_synced_at":"2025-07-03T19:06:49.084Z","repository":{"id":9728433,"uuid":"11686678","full_name":"enthought/okonomiyaki","owner":"enthought","description":"Okonomiyaki is aimed at consolidating a lot of our low-level code used for Enthought's eggs and python runtimes.","archived":false,"fork":false,"pushed_at":"2025-05-09T14:32:45.000Z","size":10099,"stargazers_count":2,"open_issues_count":17,"forks_count":2,"subscribers_count":21,"default_branch":"main","last_synced_at":"2025-05-11T12:06:26.355Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/enthought.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2013-07-26T13:45:52.000Z","updated_at":"2025-02-14T17:05:01.000Z","dependencies_parsed_at":"2024-05-16T02:03:23.210Z","dependency_job_id":"a0a069eb-3fc1-43bf-b492-e1828ff82dc1","html_url":"https://github.com/enthought/okonomiyaki","commit_stats":{"total_commits":778,"total_committers":13,"mean_commits":59.84615384615385,"dds":"0.28406169665809766","last_synced_commit":"f71eae7705d60ba329b74273536df4d9088cec1f"},"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"purl":"pkg:github/enthought/okonomiyaki","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2Fokonomiyaki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2Fokonomiyaki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2Fokonomiyaki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2Fokonomiyaki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enthought","download_url":"https://codeload.github.com/enthought/okonomiyaki/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2Fokonomiyaki/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259583857,"owners_count":22880157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-07T03:24:21.827Z","updated_at":"2025-07-03T19:06:49.058Z","avatar_url":"https://github.com/enthought.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Okonomiyaki is an experimental library aimed at consolidating a lot of our\nlow-level code used for Enthought's eggs.\n\nThe library contains code for the following:\n\n* producing EDM and enpkg-compatible egg from a tree + metadata\n* object models for eggs metadata, as well as versions and platform\n  representations\n\nIt works on Python \u003e= 3.6, It is expected to work on pretty\nmuch any compliant python implementation.\n\nNote\n----\n\n* Version instances are available without extra dependencies so use ``pip install okonomiyaki``\n* Platform instances are available by installing ``pip install okonomiyaki[platforms]``\n* Egg metadata and archive tools are available by installing ``pip install okonomiyaki[formats]``\n* The full set of functionality, please use ``pip install okonomiyaki[all]``\n\n\nExamples\n========\n\nVersion parsing\n---------------\n\nTo parse versions::\n\n     from okonomiyaki.versions import EnpkgVersion\n     # Every Version class has a from_string constructor\n     v1 = EnpkgVersion.from_string(\"1.3.3-1\")\n     v2 = EnpkgVersion.from_string(\"1.3.2-3\")\n\n     assert v1 \u003e v2\n\nVersion instances are designed to be immutable, and to be used as keys in\ndictionaries.\n\nPlatform parsing\n----------------\n\nTo parse epd platform strings (``rh5-64``, ``rh6_x86_64``, etc.) consistently::\n\n    from okonomiyaki.platforms import EPDPlatform\n    # Internal representation is normalized.\n    rh5_new_name = EPDPlatform.from_string(\"rh5-x86_64\")\n    rh5_old_name = EPDPlatform.from_string(\"rh5-64\")\n\n    assert rh5_old_name == rh5_new_name\n\nAs for Version instances, ``EPDPlatform`` instances are designed to be\nimmutable and to be used as keys in dictionaries.\n\nEgg metadata\n------------\n\nTo parse Enthought eggs::\n\n    from okonomiyaki.file_formats import EggMetadata\n\n    # Only works for Enthought eggs\n    metadata = EggMetadata.from_egg(\"numpy-1.10.1-1.egg\")\n    print(metadata.metadata_version)\n    print(metadata.name)\n    print(metadata.version)\n\nThis will take care of a lot of low-level, legacy details you don't want to\nknow about.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenthought%2Fokonomiyaki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenthought%2Fokonomiyaki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenthought%2Fokonomiyaki/lists"}