{"id":17004870,"url":"https://github.com/clickermonkey/daperz","last_synced_at":"2025-06-28T00:04:42.807Z","repository":{"id":152212159,"uuid":"9776631","full_name":"ClickerMonkey/Daperz","owner":"ClickerMonkey","description":"A Java library for writing/reading data in a generic way to a store. The library is designed with the idea that the user will be constantly modifying this file (or sections of it) and the library will efficiently load and persistent data between Java objects and the store implementation (memory, file, etc).","archived":false,"fork":false,"pushed_at":"2013-11-15T20:49:15.000Z","size":580,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T10:40:42.416Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"osl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ClickerMonkey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-30T17:56:11.000Z","updated_at":"2019-08-13T15:20:06.000Z","dependencies_parsed_at":"2023-04-09T12:14:52.587Z","dependency_job_id":null,"html_url":"https://github.com/ClickerMonkey/Daperz","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ClickerMonkey/Daperz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClickerMonkey%2FDaperz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClickerMonkey%2FDaperz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClickerMonkey%2FDaperz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClickerMonkey%2FDaperz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ClickerMonkey","download_url":"https://codeload.github.com/ClickerMonkey/Daperz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClickerMonkey%2FDaperz/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262352619,"owners_count":23297689,"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-10-14T04:44:39.553Z","updated_at":"2025-06-28T00:04:42.730Z","avatar_url":"https://github.com/ClickerMonkey.png","language":"Java","readme":"daperz\n======\n\n![Stable](http://i4.photobucket.com/albums/y123/Freaklotr4/stage_stable.png)\n\nA Java library for writing/reading data in a generic way to a store. The library is designed with the idea that the user will be constantly modifying this file (or sections of it) and the library will efficiently load and persistent data between Java objects and the store implementation (memory, file, etc).\n\n**Terminology**\n- Data *- a fixed size, specifically located, object that be be read and written to a store*\n- Var *- Data that has a single value, i.e. StringVar, IntVar*\n- DataArray *- An array of Data elements that are the same type and size*\n- DataSet *- A set of Data elements that can be any type and size*\n\n**Features**\n- Store implementations include File (uses RandomAccessStream), Memory Mapped File (uses MappedByteBuffer), and Memory (uses ByteBuffer)\n- Stores can be set to automatically flush Data when the store is written to.\n- Stores can be refreshed, rereading the underlying data and updating the Data objects associated to the Store.\n\n**Documentation**\n- [JavaDoc](http://gh.magnos.org/?r=http://clickermonkey.github.com/Daperz/)\n\n**Example**\n\n```java\nStore store = new MappedStore(\"info.dat\"); // or FileStore or MemoryStore\nstore.create(StoreAccess.ReadWrite, 128);\n\nStringVar magic = new StringVar(4, \"ABCD\");\nIntVar version = new IntVar(2);\nDataArray\u003cIntVar\u003e array = DataArray.create(IntVar.class, 24, false);\narray.set(0, new IntVar(4));\narray.set(1, new IntVar(76234));\narray.set(2, new IntVar(3434));\n \nDataSet data = new DataSet(128);\ndata.setStore(store);\ndata.add(version);\ndata.add(magic);\ndata.add(array);\ndata.write();\n\nstore.close();\n```\n\n**Builds**\n- [daperz-1.0.0.jar](http://gh.magnos.org/?r=https://github.com/ClickerMonkey/Daperz/blob/master/build/daperz-1.0.0.jar?raw=true)\n- [daperz-src-1.0.0.jar](http://gh.magnos.org/?r=https://github.com/ClickerMonkey/Daperz/blob/master/build/daperz-src-1.0.0.jar?raw=true) *- includes source code*\n- [daperz-all-1.0.0.jar](http://gh.magnos.org/?r=https://github.com/ClickerMonkey/Daperz/blob/master/build/daperz-1.0.0.jar?raw=true) *- includes all dependencies*\n- [daperz-all-src-1.0.0.jar](http://gh.magnos.org/?r=https://github.com/ClickerMonkey/Daperz/blob/master/build/daperz-src-1.0.0.jar?raw=true) *- includes all dependencies and source code*\n\n**Projects using daperz:**\n- [statastic](http://gh.magnos.org/?r=https://github.com/ClickerMonkey/Statastic)\n\n**Dependencies**\n- [buffero](http://gh.magnos.org/?r=https://github.com/ClickerMonkey/Buffero)\n- [testility](http://gh.magnos.org/?r=https://github.com/ClickerMonkey/Testility) *for unit tests*\n\n**Testing Examples**\n- [Testing/org/magnos/data](http://gh.magnos.org/?r=https://github.com/ClickerMonkey/Daperz/tree/master/Testing/org/magnos/data)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclickermonkey%2Fdaperz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclickermonkey%2Fdaperz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclickermonkey%2Fdaperz/lists"}