<commit_before>//! A random.org api bindings.
//! 
//! The randomness comes from atmospheric noise, which for many purposes is better than the
//! pseudo-random number algorithms typically used in computer programs. To use the library you
//! must have an api key which you may get [from here](https://api.random.org/api-keys/beta).
//! 
//! # Usage
//! 
//! ```rust,no_run
//! extern crate randomorg;
//! 
//! fn main() {
//!     use randomorg::Random;
//!     let r = Random::new("API KEY HERE").unwrap();
//!     println!("Result: {:?}", r.generate_integers(-100, 100, 15, true));
//!     let random_data = r.request_integers().min(0).max(100).limit(5).collect::<Vec<i32>>();
//!     println!("Random integers: {:?}", random_data);
//! }
//! ```<commit_msg>Add warning about multithread use<commit_after>//! A random.org api bindings.
//! 
//! The randomness comes from atmospheric noise, which for many purposes is better than the
//! pseudo-random number algorithms typically used in computer programs. To use the library you
//! must have an api key which you may get [from here](https://api.random.org/api-keys/beta).
//! 
//! # Usage
//! 
//! ```rust,no_run
//! extern crate randomorg;
//! 
//! fn main() {
//!     use randomorg::Random;
//!     let r = Random::new("API KEY HERE").unwrap();
//!     println!("Result: {:?}", r.generate_integers(-100, 100, 15, true));
//!     let random_data = r.request_integers().min(0).max(100).limit(5).collect::<Vec<i32>>();
//!     println!("Random integers: {:?}", random_data);
//! }
//! ```
//! 
//! # Warning
//! 
//! However the library provides a thread-safe object, the **random.org** service does not allow
//! to use their API from multithreaded-apps. The service processes incoming calls according the
//! `request_id` parameter, it must be different for concurrent calls, while this library always
//! provides `request_id` equal to `1`. So when you use the library from multiple threads the 
//! library will send multiple requests simultaneously with the same `request_id` field and the 
//! **random.org** service will refuse to process them.
{'fraction_non_alphanumeric': 0.1768901569186876, 'fraction_numerical': 0.014740846409890632, 'mean_word_length': 3.486140724946695, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4277354', 'n_tokens_mistral': 676, 'n_tokens_neox': 598, 'n_words': 215}