{"id":24967684,"url":"https://github.com/aleqsio/jbibtexparser","last_synced_at":"2025-03-29T03:13:58.201Z","repository":{"id":117823386,"uuid":"113225706","full_name":"aleqsio/JBibtexParser","owner":"aleqsio","description":"This is a project aiming to provide an extensible java library for parsing bibtex or bibtex-similar files.","archived":false,"fork":false,"pushed_at":"2017-12-07T11:44:53.000Z","size":205,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-03T12:54:37.916Z","etag":null,"topics":["bibtex","bibtexparser","java","java-8","parse"],"latest_commit_sha":null,"homepage":"","language":"TeX","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/aleqsio.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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":"2017-12-05T19:43:51.000Z","updated_at":"2021-05-25T20:19:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"f6b1538a-738a-4778-8a1b-f4ab0268eb0a","html_url":"https://github.com/aleqsio/JBibtexParser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleqsio%2FJBibtexParser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleqsio%2FJBibtexParser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleqsio%2FJBibtexParser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleqsio%2FJBibtexParser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aleqsio","download_url":"https://codeload.github.com/aleqsio/JBibtexParser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246131331,"owners_count":20728303,"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":["bibtex","bibtexparser","java","java-8","parse"],"created_at":"2025-02-03T12:54:22.489Z","updated_at":"2025-03-29T03:13:58.196Z","avatar_url":"https://github.com/aleqsio.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JBibtexParser\n\n\nThis is a project aiming to provide an extensible java library for parsing bibtex or bibtex-similar files.\n\nThe goal was to make it very easy to use, but almost all parts of the project can be replaced with your own implementations simply by passing a custom class to the parser constructor.\n\n## Getting Started\n\nAdd the provided JBibtexParser.jar to your project, and include it in your dependencies.\nAfterwards just instantiate the parser and call Parser.parse(). It will return a BibliograpyManager which you can use to filter entries by types, fields or simply keywords\n\n## Example use\n\nA simple constructor for creating parser with default componenents and a file reader:\n\n        Parser parser = new Parser(\"samplefile.txt\");\n\nParse the file:\n\n        IBibliographyManager bibliographyManager;\n        try {\n            bibliographyManager = parser.parse();\n        } catch (ParseErrorException e) {\n            System.out.print(e.getMessage());\n            return;\n        }\n\nPrint out all entries:\n\n        System.out.print(bibliographyManager.getBibliography().toString());\nPrint out all entries containing which contain both of the words 'mathematics' and 'theories'. You can chain filters:\n\n        System.out.print(bibliographyManager.findEntriesContainingWords(\"mathematics\").findEntriesContainingWords(\"theories\")\n        .getBibliography().toString());\nprint out all entries where author matches a regex ```.*shelah.*```:\n\n          System.out.println(bibliographyManager.findFieldsOfValue(parser.getEntryTypesManager().getField(\"author\"),\".*shelah.*\").getBibliography().toString());\n\n## Running the tests\n\nThere are some (26) Junit5 tests written for the most bug-prone components, but full test coverage is definitly on the TODO list.\nYou can find them in the tests package  and run them as normal.\n\n## Authors\n\n* **Aleksander Mikucki** - [mailto:aleqsio](mailto://mikucki@gmail.com)\n\n## License\n\nThis project is licensed under the MIT License - see the [license.md](license.md) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleqsio%2Fjbibtexparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faleqsio%2Fjbibtexparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleqsio%2Fjbibtexparser/lists"}