| Crates.io | rsrpp |
| lib.rs | rsrpp |
| version | 1.0.18 |
| created_at | 2024-11-07 13:51:38.877688+00 |
| updated_at | 2025-09-14 05:37:37.288348+00 |
| description | A Rust project for research paper pdf. |
| homepage | |
| repository | https://github.com/akitenkrad/rsrpp.git |
| max_upload_size | |
| id | 1439779 |
| size | 161,583 |
The rsrpp library provides a set of tools for parsing research papers.
sudo apt install poppler-utilssudo apt install libopencv-dev clang libclang-devTo start using the rsrpp library, add it to your project's dependencies in the Cargo.toml file:
cargo add rsrpp
Then, import the necessary modules in your code:
extern crate rsrpp;
use rsrpp::parser;
Here is a simple example of how to use the parser module:
let mut config = ParserConfig::new();
let url = "https://arxiv.org/pdf/1706.03762";
let pages = parse(url, &mut config).await.unwrap(); // Vec<Page>
let sections = Section::from_pages(&pages); // Vec<Section>
let json = serde_json::to_string(§ions).unwrap(); // String
The library includes a set of tests to ensure its functionality. To run the tests, use the following command:
cargo test
License: MIT
init_logger form rsrpp.tracing logger.rsrpp version for rsrpp-cli.println!.get_pdf_info.Section module. content: String was replaced by content: Vec<TextBlock>.