{"id":49476842,"url":"https://github.com/agnes-rs/agnes","last_synced_at":"2026-04-30T20:03:46.588Z","repository":{"id":57480967,"uuid":"126731791","full_name":"agnes-rs/agnes","owner":"agnes-rs","description":"A data wrangling library for Rust","archived":false,"fork":false,"pushed_at":"2019-06-30T21:07:08.000Z","size":1000,"stargazers_count":15,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-13T08:55:15.225Z","etag":null,"topics":["data-analysis","rust"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/agnes-rs.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}},"created_at":"2018-03-25T19:21:06.000Z","updated_at":"2024-12-06T04:30:55.000Z","dependencies_parsed_at":"2022-09-26T17:41:25.813Z","dependency_job_id":null,"html_url":"https://github.com/agnes-rs/agnes","commit_stats":null,"previous_names":["jblondin/agnes"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/agnes-rs/agnes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agnes-rs%2Fagnes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agnes-rs%2Fagnes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agnes-rs%2Fagnes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agnes-rs%2Fagnes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agnes-rs","download_url":"https://codeload.github.com/agnes-rs/agnes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agnes-rs%2Fagnes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32475192,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"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":["data-analysis","rust"],"created_at":"2026-04-30T20:03:45.321Z","updated_at":"2026-04-30T20:03:46.578Z","avatar_url":"https://github.com/agnes-rs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Agnes\n\n[![Build Status](https://travis-ci.org/agnes-rs/agnes.svg?branch=master)](https://travis-ci.org/agnes-rs/agnes)\n[![Documentation](https://docs.rs/agnes/badge.svg)](https://docs.rs/agnes)\n[![Join the chat at https://gitter.im/agnes-rs/community](https://badges.gitter.im/agnes-rs/community.svg)](https://gitter.im/agnes-rs/community?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n`agnes` is a data wrangling library for Rust.\n\nSome useful links:\n* [Guide](https://wee.codes/agnes/guide.html)\n* [API Documentation](https://docs.rs/agnes)\n* [Examples](examples)\n* [Gitter chatroom](https://gitter.im/agnes-rs/community)\n\n## Overview\n\n`agnes` is a statically-typed high-performance data processing library for the Rust programming language. It provides utilities for data loading, preprocessing, aggregation, annotation, and serialization. The primary goal of `agnes` is to to provide functionality to help in the development of robust, efficient, readable applications for your data preprocessing tasks.\n\n### Features\n\n* Data structures for handling heterogeneously-typed tabular data.\n* Extensible data source framework which currently supports the loading of local or web-based CSV files,\nwith more data source types under development.\n* Data output through [serde](https://github.com/serde-rs/serde), allowing output to any serialization output `serde` supports.\n* Handling of missing data (NaNs) for all data types.\n* Data merging and joining to combine data from multiple sources.\n* Iterator- or index-based data access\n\n### Design Principles\n\n`agnes` was designed with the following general principles in mind:\n\n* Minimal data duplication: a single data source can be shared by multiple data views or outputs.\n* Type safety -- `agnes` leverages Rust's typing system to provide the compile-time advantges\nthat static typing provides.\n* Embracing of existing Rust paradigms and best practices. This includes the use of iterators,\nexplicit memory control, and existing Rust libraries (such as `serde`).\n\n## Usage\n\nTo use, add this this to your `Cargo.toml`:\n\n```toml\n[dependencies]\nagnes = \"0.3\"\n```\n\nand this to your crate root:\n\n```rust\nextern crate agnes;\n```\n\n## Example\n\nAs an simple example, let's build an application that reads in a data set, and displays it. A more complete example illustrating much more `agnes` functionality can be found in the guide [here](https://wee.codes/agnes/guide.html).\n\nThis example loads specific fields from a country-by-country data file, and shows off the table definition format, source specification format, and loading-from-URI functionality. This example can also be found [here](examples/gdp_uri.rs).\n\n```rust\n#[macro_use]\nextern crate agnes;\n\nuse agnes::source::csv::load_csv_from_uri;\n\n// specify the GDP table (only the fields we are concerned about)\ntablespace![\n    table gdp {\n        CountryName: String,\n        CountryCode: String,\n        Gdp2015: f64,\n    }\n];\n\nfn main() {\n    // specify the source location for our GDP fields\n    let gdp_spec = spec![\n        fieldname gdp::CountryName = \"Country Name\";\n        fieldname gdp::CountryCode = \"Country Code\";\n        fieldname gdp::Gdp2015 = \"2015\";\n    ];\n\n    // load the CSV file from a URI\n    let gdp_view =\n        load_csv_from_uri(\"https://wee.codes/data/gdp.csv\", gdp_spec).expect(\"CSV loading failed.\");\n\n    // print the DataView\n    println!(\"{}\", gdp_view);\n}\n```\n\n## Changes and Future Plans\n\n* [Future Work](FUTURE.md)\n* [Changelog](https://github.com/jblondin/agnes/releases)\n\n## License\n\nThis work is licensed under the [MIT Licence](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagnes-rs%2Fagnes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagnes-rs%2Fagnes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagnes-rs%2Fagnes/lists"}