{"id":16052453,"url":"https://github.com/tuplle/petri4j","last_synced_at":"2025-09-04T07:34:04.986Z","repository":{"id":40348115,"uuid":"357340209","full_name":"tuplle/petri4j","owner":"tuplle","description":"Simple Java library for Petri nets","archived":false,"fork":false,"pushed_at":"2025-08-10T07:54:27.000Z","size":1473,"stargazers_count":0,"open_issues_count":34,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-10T09:26:27.052Z","etag":null,"topics":["java","java-library","maven","petri-net","petri-nets"],"latest_commit_sha":null,"homepage":"https://tuplle.github.io/petri4j/","language":"Java","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/tuplle.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-04-12T21:10:32.000Z","updated_at":"2024-10-07T18:38:36.000Z","dependencies_parsed_at":"2022-08-09T17:50:35.753Z","dependency_job_id":"c1094dc5-e90d-4d90-8b4c-92c4c7c3aae3","html_url":"https://github.com/tuplle/petri4j","commit_stats":{"total_commits":21,"total_committers":2,"mean_commits":10.5,"dds":0.1428571428571429,"last_synced_commit":"aa6382054d2a1d4711ef079ae5e35e81a5f57b11"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tuplle/petri4j","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuplle%2Fpetri4j","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuplle%2Fpetri4j/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuplle%2Fpetri4j/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuplle%2Fpetri4j/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuplle","download_url":"https://codeload.github.com/tuplle/petri4j/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuplle%2Fpetri4j/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273573471,"owners_count":25129881,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["java","java-library","maven","petri-net","petri-nets"],"created_at":"2024-10-09T01:08:59.701Z","updated_at":"2025-09-04T07:34:04.942Z","avatar_url":"https://github.com/tuplle.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Petri4j\n\n[![GitHub](https://img.shields.io/github/license/tuplle/petri4j)](http://www.opensource.org/licenses/mit-license.php)\n[![Java](https://img.shields.io/badge/Java-11-red)](https://openjdk.java.net/projects/jdk/11/)\n[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/tuplle/petri4j?sort=semver\u0026display_name=tag)](https://github.com/tuplle/petri4j/releases)\n[![build](https://github.com/tuplle/petri4j/actions/workflows/master-build.yml/badge.svg)](https://github.com/tuplle/petri4j/actions/workflows/release-build.yml)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=mladoniczky_petri4j\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=mladoniczky_petri4j)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=mladoniczky_petri4j\u0026metric=coverage)](https://sonarcloud.io/dashboard?id=mladoniczky_petri4j)\n[![Known Vulnerabilities](https://snyk.io/test/github/tuplle/petri4j/badge.svg)](https://snyk.io/test/github/tuplle/petri4j)\n\n\u003e The simplest way to import Petri net\n\nPetri4J is a lightweight java library to import Petri nets into your project/application. The library consists of basic\nstructure and objects to represent general definition of Petri nets. It provides import function with support of several\npopular formats like Petriflow and JSON format.\n\n## Installation\n\nThe library is available on Maven Central repository:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003edev.tuplle\u003c/groupId\u003e\n  \u003cartifactId\u003epetri4j\u003c/artifactId\u003e\n\u003c/dependency\u003e\n```\n\nOr you can download release package from [here](https://github.com/tuplle/petri4j/releases/latest).\n\n## Usage\n\nTo import your Petri net into application simply retrieve parser for desired format and load the file with the net.\n\n```java\nParserFactory factory = ParserFactory.getInstance();\nParser parser = factory.getParser(ParsingFormat.JSON);\nNet net = parser.parse(\"my-petri-net.json\");\n```\n\nNet object is loaded and constructed synchronously. Only the actual petri net is read from the loaded format.\n\n## Reporting issues\n\nIf you find a bug, let us know. First, please read our [Contribution guide](https://github.com/tuplle/petri4j/blob/master/CONTRIBUTING.md)\n\n## License\n\nLicensed under the MIT License; you may not use these files except in compliance with the License. You may obtain a copy of the License at\n\n[http://www.opensource.org/licenses/mit-license.php](http://www.opensource.org/licenses/mit-license.php)\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\neither express or implied. See the License for the specific language governing permissions and limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuplle%2Fpetri4j","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuplle%2Fpetri4j","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuplle%2Fpetri4j/lists"}