| Crates.io | kuliya |
| lib.rs | kuliya |
| version | 0.1.3 |
| created_at | 2024-11-21 21:33:54.543452+00 |
| updated_at | 2025-05-21 07:06:46.754602+00 |
| description | A library for querying Algerian education dataset. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1456737 |
| size | 104,554 |
Algeria's college hierarchy dataset as a crate with useful APIs.
Example
use kuliya::r#static::api::get_node_by_path;
let faculty_of_science_and_technology = get_node_by_path("umkb/fst");
assert_eq!(faculty_of_science_and_technology.is_some(), true);
let faculty_of_science_and_technology = faculty_of_science_and_technology.unwrap();
assert_eq!(faculty_of_science_and_technology.name.ar, "كلية العلوم والتكنلوجيا");
// when the path is not found, the function returns None
let non_existing_node = get_node_by_path("umkb/fst/unknown");
assert_eq!(non_existing_node.is_none(), true);
License: MIT