rite 0.2.2__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rite-0.3.0/.gitignore +214 -0
- rite-0.3.0/PKG-INFO +307 -0
- rite-0.3.0/README.md +283 -0
- rite-0.3.0/pyproject.toml +160 -0
- rite-0.3.0/src/rite/__init__.py +90 -0
- rite-0.3.0/src/rite/__main__.py +42 -0
- rite-0.3.0/src/rite/__version__.py +40 -0
- rite-0.3.0/src/rite/cli.py +291 -0
- rite-0.3.0/src/rite/collections/__init__.py +142 -0
- rite-0.3.0/src/rite/collections/buffer/__init__.py +44 -0
- rite-0.3.0/src/rite/collections/buffer/bounded_buffer.py +239 -0
- rite-0.3.0/src/rite/collections/buffer/circular_buffer.py +201 -0
- rite-0.3.0/src/rite/collections/buffer/ring_buffer.py +37 -0
- rite-0.3.0/src/rite/collections/buffer/sliding_window.py +202 -0
- rite-0.3.0/src/rite/collections/cache/__init__.py +41 -0
- rite-0.3.0/src/rite/collections/cache/lfu_cache.py +231 -0
- rite-0.3.0/src/rite/collections/cache/lru_cache.py +279 -0
- rite-0.3.0/src/rite/collections/cache/ttl_cache.py +230 -0
- rite-0.3.0/src/rite/collections/dict/__init__.py +68 -0
- rite-0.3.0/src/rite/collections/dict/dict_deep_get.py +108 -0
- rite-0.3.0/src/rite/collections/dict/dict_deep_set.py +87 -0
- rite-0.3.0/src/rite/collections/dict/dict_flatten.py +73 -0
- rite-0.3.0/src/rite/collections/dict/dict_merge.py +85 -0
- rite-0.3.0/src/rite/collections/dict/dict_omit.py +52 -0
- rite-0.3.0/src/rite/collections/dict/dict_pick.py +54 -0
- rite-0.3.0/src/rite/collections/dict/dict_remove_none.py +55 -0
- rite-0.3.0/src/rite/collections/dict/dict_rename_keys.py +57 -0
- rite-0.3.0/src/rite/collections/dict/dict_unflatten.py +84 -0
- rite-0.3.0/src/rite/collections/list/__init__.py +64 -0
- rite-0.3.0/src/rite/collections/list/list_chunk.py +85 -0
- rite-0.3.0/src/rite/collections/list/list_chunk_iter.py +83 -0
- rite-0.3.0/src/rite/collections/list/list_compact.py +58 -0
- rite-0.3.0/src/rite/collections/list/list_first.py +70 -0
- rite-0.3.0/src/rite/collections/list/list_flatten.py +90 -0
- rite-0.3.0/src/rite/collections/list/list_group_by.py +96 -0
- rite-0.3.0/src/rite/collections/list/list_interleave.py +78 -0
- rite-0.3.0/src/rite/collections/list/list_partition.py +82 -0
- rite-0.3.0/src/rite/collections/list/list_unique.py +88 -0
- rite-0.3.0/src/rite/collections/pattern/__init__.py +42 -0
- rite-0.3.0/src/rite/collections/pattern/object_pool.py +173 -0
- rite-0.3.0/src/rite/collections/pattern/observer.py +124 -0
- rite-0.3.0/src/rite/collections/pattern/singleton.py +135 -0
- rite-0.3.0/src/rite/collections/queue/__init__.py +41 -0
- rite-0.3.0/src/rite/collections/queue/circular_queue.py +131 -0
- rite-0.3.0/src/rite/collections/queue/deque_wrapper.py +125 -0
- rite-0.3.0/src/rite/collections/queue/priority_queue.py +112 -0
- rite-0.3.0/src/rite/collections/set/__init__.py +47 -0
- rite-0.3.0/src/rite/collections/set/set_difference.py +62 -0
- rite-0.3.0/src/rite/collections/set/set_intersection.py +64 -0
- rite-0.3.0/src/rite/collections/set/set_symmetric_difference.py +61 -0
- rite-0.3.0/src/rite/collections/set/set_union.py +61 -0
- rite-0.3.0/src/rite/collections/tree/__init__.py +44 -0
- rite-0.3.0/src/rite/collections/tree/binary_tree_node.py +191 -0
- rite-0.3.0/src/rite/collections/tree/nested_set.py +165 -0
- rite-0.3.0/src/rite/collections/tree/tree_node.py +243 -0
- rite-0.3.0/src/rite/collections/tree/trie.py +261 -0
- rite-0.3.0/src/rite/conversion/__init__.py +198 -0
- rite-0.3.0/src/rite/conversion/formats/__init__.py +56 -0
- rite-0.3.0/src/rite/conversion/formats/formats_base32_decode.py +80 -0
- rite-0.3.0/src/rite/conversion/formats/formats_base32_encode.py +65 -0
- rite-0.3.0/src/rite/conversion/formats/formats_base64_decode.py +98 -0
- rite-0.3.0/src/rite/conversion/formats/formats_base64url_decode.py +91 -0
- rite-0.3.0/src/rite/conversion/formats/formats_base64url_encode.py +67 -0
- rite-0.3.0/src/rite/conversion/formats/formats_data_url_decode.py +117 -0
- rite-0.3.0/src/rite/conversion/formats/formats_data_url_encode.py +80 -0
- rite-0.3.0/src/rite/conversion/formats/formats_hex_decode.py +72 -0
- rite-0.3.0/src/rite/conversion/formats/formats_hex_encode.py +62 -0
- rite-0.3.0/src/rite/conversion/formats/formats_text_decode.py +75 -0
- rite-0.3.0/src/rite/conversion/is_protected_type.py +81 -0
- rite-0.3.0/src/rite/conversion/to_bytes.py +110 -0
- rite-0.3.0/src/rite/conversion/types/__init__.py +77 -0
- rite-0.3.0/src/rite/conversion/types/types_to_bool.py +122 -0
- rite-0.3.0/src/rite/conversion/types/types_to_bounded_float.py +123 -0
- rite-0.3.0/src/rite/conversion/types/types_to_bounded_int.py +140 -0
- rite-0.3.0/src/rite/conversion/types/types_to_float.py +109 -0
- rite-0.3.0/src/rite/conversion/types/types_to_id.py +91 -0
- rite-0.3.0/src/rite/conversion/types/types_to_int.py +103 -0
- rite-0.3.0/src/rite/conversion/types/types_to_list.py +83 -0
- rite-0.3.0/src/rite/conversion/types/types_to_number.py +107 -0
- rite-0.3.0/src/rite/conversion/types/types_to_percentage.py +121 -0
- rite-0.3.0/src/rite/conversion/types/types_to_str.py +82 -0
- rite-0.3.0/src/rite/conversion/units/__init__.py +115 -0
- rite-0.3.0/src/rite/conversion/units/units_bytes.py +136 -0
- rite-0.3.0/src/rite/conversion/units/units_length.py +201 -0
- rite-0.3.0/src/rite/conversion/units/units_weight.py +158 -0
- rite-0.3.0/src/rite/crypto/__init__.py +184 -0
- rite-0.3.0/src/rite/crypto/cipher/cipher_atbash.py +93 -0
- rite-0.3.0/src/rite/crypto/cipher/cipher_autokey.py +156 -0
- rite-0.3.0/src/rite/crypto/cipher/cipher_baconian.py +120 -0
- rite-0.3.0/src/rite/crypto/cipher/cipher_caesar.py +87 -0
- rite-0.3.0/src/rite/crypto/cipher/cipher_four_square.py +221 -0
- rite-0.3.0/src/rite/crypto/cipher/cipher_playfair.py +226 -0
- rite-0.3.0/src/rite/crypto/cipher/cipher_rail_fence.py +118 -0
- rite-0.3.0/src/rite/crypto/cipher/cipher_rot13.py +81 -0
- rite-0.3.0/src/rite/crypto/cipher/cipher_scytale.py +109 -0
- rite-0.3.0/src/rite/crypto/cipher/cipher_transposition.py +103 -0
- rite-0.3.0/src/rite/crypto/cipher/cipher_vigenere.py +134 -0
- rite-0.3.0/src/rite/crypto/cipher/cipher_xor.py +86 -0
- rite-0.3.0/src/rite/crypto/hash/__init__.py +74 -0
- rite-0.3.0/src/rite/crypto/hash/hash_blake2b.py +76 -0
- rite-0.3.0/src/rite/crypto/hash/hash_blake2s.py +76 -0
- rite-0.3.0/src/rite/crypto/hash/hash_compare.py +95 -0
- rite-0.3.0/src/rite/crypto/hash/hash_file.py +97 -0
- rite-0.3.0/src/rite/crypto/hash/hash_hmac.py +89 -0
- rite-0.3.0/src/rite/crypto/hash/hash_json.py +99 -0
- rite-0.3.0/src/rite/crypto/hash/hash_md5.py +79 -0
- rite-0.3.0/src/rite/crypto/hash/hash_new.py +84 -0
- rite-0.3.0/src/rite/crypto/hash/hash_parts.py +90 -0
- rite-0.3.0/src/rite/crypto/hash/hash_sha1.py +79 -0
- rite-0.3.0/src/rite/crypto/hash/hash_sha256.py +74 -0
- rite-0.3.0/src/rite/crypto/hash/hash_sha384.py +74 -0
- rite-0.3.0/src/rite/crypto/hash/hash_sha3_256.py +74 -0
- rite-0.3.0/src/rite/crypto/hash/hash_sha3_512.py +74 -0
- rite-0.3.0/src/rite/crypto/hash/hash_sha512.py +74 -0
- rite-0.3.0/src/rite/crypto/hash/hash_unit_interval.py +83 -0
- rite-0.3.0/src/rite/crypto/hash/hash_verify.py +109 -0
- rite-0.3.0/src/rite/crypto/random/__init__.py +50 -0
- rite-0.3.0/src/rite/crypto/random/random_int.py +69 -0
- rite-0.3.0/src/rite/crypto/random/random_string.py +104 -0
- rite-0.3.0/src/rite/crypto/random/random_urlsafe.py +65 -0
- rite-0.3.0/src/rite/crypto/uuid/__init__.py +47 -0
- rite-0.3.0/src/rite/crypto/uuid/uuid_from_name.py +74 -0
- rite-0.3.0/src/rite/crypto/uuid/uuid_get_version.py +71 -0
- rite-0.3.0/src/rite/crypto/uuid/uuid_hex.py +48 -0
- rite-0.3.0/src/rite/crypto/uuid/uuid_is_random.py +64 -0
- rite-0.3.0/src/rite/crypto/uuid/uuid_is_valid.py +108 -0
- rite-0.3.0/src/rite/crypto/uuid/uuid_random.py +48 -0
- rite-0.3.0/src/rite/crypto/uuid/uuid_string.py +50 -0
- rite-0.3.0/src/rite/diagnostics/__init__.py +127 -0
- rite-0.3.0/src/rite/diagnostics/debugging/debugging_inspect.py +85 -0
- rite-0.3.0/src/rite/diagnostics/debugging/debugging_trace.py +103 -0
- rite-0.3.0/src/rite/diagnostics/errors/__init__.py +50 -0
- rite-0.3.0/src/rite/diagnostics/errors/errors_backoff_delay.py +112 -0
- rite-0.3.0/src/rite/diagnostics/errors/errors_format_traceback.py +85 -0
- rite-0.3.0/src/rite/diagnostics/errors/errors_get_chain.py +84 -0
- rite-0.3.0/src/rite/diagnostics/errors/errors_retry.py +218 -0
- rite-0.3.0/src/rite/diagnostics/logging/__init__.py +52 -0
- rite-0.3.0/src/rite/diagnostics/logging/logging_json_formatter.py +221 -0
- rite-0.3.0/src/rite/diagnostics/logging/logging_structured.py +125 -0
- rite-0.3.0/src/rite/diagnostics/logging/logging_to_console.py +115 -0
- rite-0.3.0/src/rite/diagnostics/metrics/metrics_counter.py +107 -0
- rite-0.3.0/src/rite/diagnostics/metrics/metrics_gauge.py +120 -0
- rite-0.3.0/src/rite/diagnostics/metrics/metrics_histogram.py +169 -0
- rite-0.3.0/src/rite/diagnostics/metrics/metrics_timer.py +122 -0
- rite-0.3.0/src/rite/diagnostics/profiling/profiling_count_calls.py +95 -0
- rite-0.3.0/src/rite/diagnostics/profiling/profiling_memory.py +116 -0
- rite-0.3.0/src/rite/filesystem/__init__.py +170 -0
- rite-0.3.0/src/rite/filesystem/compress/__init__.py +37 -0
- rite-0.3.0/src/rite/filesystem/compress/gzip_compress.py +91 -0
- rite-0.3.0/src/rite/filesystem/compress/gzip_stream.py +88 -0
- rite-0.3.0/src/rite/filesystem/compress/gzip_uncompress.py +109 -0
- rite-0.3.0/src/rite/filesystem/compress/zip_read_member.py +144 -0
- rite-0.3.0/src/rite/filesystem/compress/zlib_inflate_bounded.py +82 -0
- rite-0.3.0/src/rite/filesystem/file/__init__.py +51 -0
- rite-0.3.0/src/rite/filesystem/file/file_copy.py +72 -0
- rite-0.3.0/src/rite/filesystem/file/file_copy_multiple.py +84 -0
- rite-0.3.0/src/rite/filesystem/file/file_delete.py +60 -0
- rite-0.3.0/src/rite/filesystem/file/file_handle_size.py +91 -0
- rite-0.3.0/src/rite/filesystem/file/file_move.py +70 -0
- rite-0.3.0/src/rite/filesystem/file/file_read_bytes.py +50 -0
- rite-0.3.0/src/rite/filesystem/file/file_read_text.py +51 -0
- rite-0.3.0/src/rite/filesystem/file/file_rename.py +63 -0
- rite-0.3.0/src/rite/filesystem/file/file_size_to_string.py +79 -0
- rite-0.3.0/src/rite/filesystem/file/file_spooled.py +96 -0
- rite-0.3.0/src/rite/filesystem/file/file_write_bytes.py +46 -0
- rite-0.3.0/src/rite/filesystem/file/file_write_text.py +51 -0
- rite-0.3.0/src/rite/filesystem/file_extension/__init__.py +35 -0
- rite-0.3.0/src/rite/filesystem/file_extension/extension_construct.py +117 -0
- rite-0.3.0/src/rite/filesystem/file_extension/extension_normalize.py +70 -0
- rite-0.3.0/src/rite/filesystem/file_extension/extension_regex.py +36 -0
- rite-0.3.0/src/rite/filesystem/file_extension/extension_validate.py +98 -0
- rite-0.3.0/src/rite/filesystem/file_name/__init__.py +40 -0
- rite-0.3.0/src/rite/filesystem/file_name/filename_date_regex.py +97 -0
- rite-0.3.0/src/rite/filesystem/file_name/filename_sanitize.py +147 -0
- rite-0.3.0/src/rite/filesystem/file_name/filename_to_date.py +81 -0
- rite-0.3.0/src/rite/filesystem/file_name/filename_to_datestring.py +67 -0
- rite-0.3.0/src/rite/filesystem/file_name/filename_truncate.py +82 -0
- rite-0.3.0/src/rite/filesystem/file_name/filename_unique.py +96 -0
- rite-0.3.0/src/rite/filesystem/folder/__init__.py +41 -0
- rite-0.3.0/src/rite/filesystem/folder/folder_content_delete.py +101 -0
- rite-0.3.0/src/rite/filesystem/folder/folder_create.py +64 -0
- rite-0.3.0/src/rite/filesystem/folder/folder_ensure_exists.py +40 -0
- rite-0.3.0/src/rite/filesystem/folder/folder_list_files.py +66 -0
- rite-0.3.0/src/rite/filesystem/folder/folder_list_folders.py +70 -0
- rite-0.3.0/src/rite/filesystem/folder/folder_size_get.py +57 -0
- rite-0.3.0/src/rite/filesystem/folder/folder_size_to_string.py +78 -0
- rite-0.3.0/src/rite/filesystem/mimetype/__init__.py +44 -0
- rite-0.3.0/src/rite/filesystem/mimetype/mimetype_guess.py +107 -0
- rite-0.3.0/src/rite/filesystem/mimetype/mimetype_match.py +66 -0
- rite-0.3.0/src/rite/filesystem/mimetype/mimetype_read_head_bytes.py +185 -0
- rite-0.3.0/src/rite/filesystem/mimetype/mimetype_sniff.py +342 -0
- rite-0.3.0/src/rite/filesystem/mimetype/mimetype_validate.py +94 -0
- rite-0.3.0/src/rite/filesystem/mimetype/mimetype_validation_error.py +35 -0
- rite-0.3.0/src/rite/filesystem/mimetype/mimetype_verify.py +80 -0
- rite-0.3.0/src/rite/filesystem/path/__init__.py +45 -0
- rite-0.3.0/src/rite/filesystem/path/path_clean.py +56 -0
- rite-0.3.0/src/rite/filesystem/path/path_confine.py +98 -0
- rite-0.3.0/src/rite/filesystem/path/path_exists.py +39 -0
- rite-0.3.0/src/rite/filesystem/path/path_is_dir.py +39 -0
- rite-0.3.0/src/rite/filesystem/path/path_is_file.py +39 -0
- rite-0.3.0/src/rite/filesystem/path/path_leaf.py +53 -0
- rite-0.3.0/src/rite/filesystem/path/path_relative_clean.py +97 -0
- rite-0.3.0/src/rite/filesystem/path/path_safe_join.py +131 -0
- rite-0.3.0/src/rite/filesystem/path/path_secure.py +97 -0
- rite-0.3.0/src/rite/functional/__init__.py +110 -0
- rite-0.3.0/src/rite/functional/currying/currying_curry.py +104 -0
- rite-0.3.0/src/rite/functional/decorators/decorators_debounce.py +146 -0
- rite-0.3.0/src/rite/functional/decorators/decorators_once.py +93 -0
- rite-0.3.0/src/rite/functional/decorators/decorators_throttle.py +100 -0
- rite-0.3.0/src/rite/functional/memoization/memoization_memoize.py +155 -0
- rite-0.3.0/src/rite/functional/partial/__init__.py +46 -0
- rite-0.3.0/src/rite/markup/__init__.py +138 -0
- rite-0.3.0/src/rite/markup/entities/__init__.py +35 -0
- rite-0.3.0/src/rite/markup/entities/entities_encode.py +61 -0
- rite-0.3.0/src/rite/markup/html/__init__.py +35 -0
- rite-0.3.0/src/rite/markup/html/html_escape.py +65 -0
- rite-0.3.0/src/rite/markup/html/html_remove_elements.py +106 -0
- rite-0.3.0/src/rite/markup/html/html_to_text.py +239 -0
- rite-0.3.0/src/rite/markup/ical/__init__.py +45 -0
- rite-0.3.0/src/rite/markup/ical/ical_build_vtimezone.py +175 -0
- rite-0.3.0/src/rite/markup/ical/ical_escape_text.py +64 -0
- rite-0.3.0/src/rite/markup/ical/ical_fold_line.py +82 -0
- rite-0.3.0/src/rite/markup/ical/ical_format_utc.py +80 -0
- rite-0.3.0/src/rite/markup/ical/ical_unescape_text.py +73 -0
- rite-0.3.0/src/rite/markup/markdown/__init__.py +36 -0
- rite-0.3.0/src/rite/markup/markdown/markdown_escape.py +82 -0
- rite-0.3.0/src/rite/markup/markdown/markdown_split_title.py +60 -0
- rite-0.3.0/src/rite/markup/markdown/markdown_to_html.py +112 -0
- rite-0.3.0/src/rite/markup/markdown/markdown_to_text.py +111 -0
- rite-0.3.0/src/rite/markup/sanitize/__init__.py +47 -0
- rite-0.3.0/src/rite/markup/sanitize/sanitize_data_image.py +75 -0
- rite-0.3.0/src/rite/markup/sanitize/sanitize_html.py +458 -0
- rite-0.3.0/src/rite/markup/sanitize/sanitize_url.py +144 -0
- rite-0.3.0/src/rite/markup/svg/__init__.py +31 -0
- rite-0.3.0/src/rite/markup/svg/svg_sanitize.py +443 -0
- rite-0.3.0/src/rite/markup/xml/__init__.py +41 -0
- rite-0.3.0/src/rite/markup/xml/xml_escape.py +76 -0
- rite-0.3.0/src/rite/markup/xml/xml_format.py +95 -0
- rite-0.3.0/src/rite/markup/xml/xml_parse_safe.py +122 -0
- rite-0.3.0/src/rite/markup/xml/xml_strip_invalid.py +71 -0
- rite-0.3.0/src/rite/markup/xml/xml_unescape.py +89 -0
- rite-0.3.0/src/rite/net/__init__.py +191 -0
- rite-0.3.0/src/rite/net/email/__init__.py +40 -0
- rite-0.3.0/src/rite/net/email/email_domain.py +77 -0
- rite-0.3.0/src/rite/net/email/email_split.py +68 -0
- rite-0.3.0/src/rite/net/http/__init__.py +73 -0
- rite-0.3.0/src/rite/net/http/http_accept_quality.py +112 -0
- rite-0.3.0/src/rite/net/http/http_bearer_token.py +65 -0
- rite-0.3.0/src/rite/net/http/http_date_format.py +86 -0
- rite-0.3.0/src/rite/net/http/http_date_parse.py +72 -0
- rite-0.3.0/src/rite/net/http/http_forwarded_client.py +124 -0
- rite-0.3.0/src/rite/net/http/http_is_method.py +84 -0
- rite-0.3.0/src/rite/net/http/http_is_retryable_status.py +77 -0
- rite-0.3.0/src/rite/net/http/http_parse_authorization.py +73 -0
- rite-0.3.0/src/rite/net/http/http_parse_headers.py +102 -0
- rite-0.3.0/src/rite/net/http/http_parse_retry_after.py +89 -0
- rite-0.3.0/src/rite/net/http/http_signature_timestamped_sign.py +110 -0
- rite-0.3.0/src/rite/net/http/http_signature_timestamped_verify.py +122 -0
- rite-0.3.0/src/rite/net/http/http_status_code.py +72 -0
- rite-0.3.0/src/rite/net/ip/__init__.py +58 -0
- rite-0.3.0/src/rite/net/ip/ip_in_networks.py +154 -0
- rite-0.3.0/src/rite/net/ip/ip_is_public.py +128 -0
- rite-0.3.0/src/rite/net/ip/ip_parse.py +101 -0
- rite-0.3.0/src/rite/net/ip/ip_resolve_public.py +152 -0
- rite-0.3.0/src/rite/net/ip/ip_strip_port.py +70 -0
- rite-0.3.0/src/rite/net/ip/ip_truncate.py +86 -0
- rite-0.3.0/src/rite/net/ip/ip_unsafe_address_error.py +53 -0
- rite-0.3.0/src/rite/net/mime/__init__.py +46 -0
- rite-0.3.0/src/rite/net/mime/mime_essence.py +64 -0
- rite-0.3.0/src/rite/net/mime/mime_guess_extension.py +74 -0
- rite-0.3.0/src/rite/net/mime/mime_guess_type.py +76 -0
- rite-0.3.0/src/rite/net/mime/mime_parse.py +83 -0
- rite-0.3.0/src/rite/net/request/__init__.py +44 -0
- rite-0.3.0/src/rite/net/request/_request_pinned_opener.py +210 -0
- rite-0.3.0/src/rite/net/request/_request_support.py +208 -0
- rite-0.3.0/src/rite/net/request/request_get.py +88 -0
- rite-0.3.0/src/rite/net/request/request_open_public.py +222 -0
- rite-0.3.0/src/rite/net/request/request_post.py +114 -0
- rite-0.3.0/src/rite/net/request/request_response.py +75 -0
- rite-0.3.0/src/rite/net/servers/server_http.py +219 -0
- rite-0.3.0/src/rite/net/servers/server_sqlite.py +304 -0
- rite-0.3.0/src/rite/net/url/__init__.py +68 -0
- rite-0.3.0/src/rite/net/url/url_build.py +81 -0
- rite-0.3.0/src/rite/net/url/url_check_outbound.py +156 -0
- rite-0.3.0/src/rite/net/url/url_has_allowed_host_and_scheme.py +138 -0
- rite-0.3.0/src/rite/net/url/url_host_within.py +82 -0
- rite-0.3.0/src/rite/net/url/url_hostname.py +99 -0
- rite-0.3.0/src/rite/net/url/url_is_local_path.py +83 -0
- rite-0.3.0/src/rite/net/url/url_parse_query.py +70 -0
- rite-0.3.0/src/rite/net/url/url_with_query.py +81 -0
- rite-0.3.0/src/rite/net/validation/__init__.py +49 -0
- rite-0.3.0/src/rite/net/validation/validation_is_email.py +77 -0
- rite-0.3.0/src/rite/net/validation/validation_is_ipv4.py +72 -0
- rite-0.3.0/src/rite/net/validation/validation_is_ipv6.py +76 -0
- rite-0.3.0/src/rite/net/validation/validation_is_port.py +75 -0
- rite-0.3.0/src/rite/net/validation/validation_is_url.py +149 -0
- rite-0.3.0/src/rite/numeric/__init__.py +129 -0
- rite-0.3.0/src/rite/numeric/conversion/conversion_to_decimal.py +124 -0
- rite-0.3.0/src/rite/numeric/coordinates/coordinates_from_degree_minute_second.py +99 -0
- rite-0.3.0/src/rite/numeric/coordinates/coordinates_to_degree_minute.py +88 -0
- rite-0.3.0/src/rite/numeric/coordinates/coordinates_to_degree_minute_second.py +95 -0
- rite-0.3.0/src/rite/numeric/formatting/__init__.py +48 -0
- rite-0.3.0/src/rite/numeric/formatting/format_decimal.py +165 -0
- rite-0.3.0/src/rite/numeric/formatting/format_number_locale.py +71 -0
- rite-0.3.0/src/rite/numeric/formatting/format_number_pattern.py +67 -0
- rite-0.3.0/src/rite/numeric/formatting/format_percent.py +87 -0
- rite-0.3.0/src/rite/numeric/formatting/number_locale.py +69 -0
- rite-0.3.0/src/rite/numeric/formatting/number_locales.py +81 -0
- rite-0.3.0/src/rite/numeric/math/math_clamp.py +89 -0
- rite-0.3.0/src/rite/numeric/math/math_pow.py +69 -0
- rite-0.3.0/src/rite/numeric/math/math_sign.py +69 -0
- rite-0.3.0/src/rite/numeric/statistics/__init__.py +54 -0
- rite-0.3.0/src/rite/numeric/statistics/_missing.py +42 -0
- rite-0.3.0/src/rite/numeric/statistics/statistics_mean.py +104 -0
- rite-0.3.0/src/rite/numeric/statistics/statistics_median.py +96 -0
- rite-0.3.0/src/rite/numeric/statistics/statistics_percentile.py +115 -0
- rite-0.3.0/src/rite/numeric/statistics/statistics_weighted_mean.py +110 -0
- rite-0.3.0/src/rite/reflection/__init__.py +126 -0
- rite-0.3.0/src/rite/reflection/attributes/attributes_del_attr.py +70 -0
- rite-0.3.0/src/rite/reflection/importing/_importing_resolve.py +74 -0
- rite-0.3.0/src/rite/reflection/importing/importing_load_class.py +88 -0
- rite-0.3.0/src/rite/reflection/importing/importing_load_function.py +82 -0
- rite-0.3.0/src/rite/reflection/inspection/inspection_get_methods.py +67 -0
- rite-0.3.0/src/rite/serialization/__init__.py +84 -0
- rite-0.3.0/src/rite/serialization/csv/__init__.py +42 -0
- rite-0.3.0/src/rite/serialization/csv/csv_detect_delimiter.py +59 -0
- rite-0.3.0/src/rite/serialization/csv/csv_neutralise.py +90 -0
- rite-0.3.0/src/rite/serialization/csv/csv_neutralise_row.py +90 -0
- rite-0.3.0/src/rite/serialization/csv/csv_read.py +76 -0
- rite-0.3.0/src/rite/serialization/csv/csv_sniff_dialect.py +69 -0
- rite-0.3.0/src/rite/serialization/csv/csv_text.py +87 -0
- rite-0.3.0/src/rite/serialization/csv/csv_write.py +110 -0
- rite-0.3.0/src/rite/serialization/ini/ini_get.py +75 -0
- rite-0.3.0/src/rite/serialization/ini/ini_read.py +68 -0
- rite-0.3.0/src/rite/serialization/ini/ini_set.py +75 -0
- rite-0.3.0/src/rite/serialization/ini/ini_write.py +74 -0
- rite-0.3.0/src/rite/serialization/json/__init__.py +51 -0
- rite-0.3.0/src/rite/serialization/json/json_canonical.py +74 -0
- rite-0.3.0/src/rite/serialization/json/json_canonical_hash.py +72 -0
- rite-0.3.0/src/rite/serialization/json/json_dump.py +108 -0
- rite-0.3.0/src/rite/serialization/json/json_dumps.py +87 -0
- rite-0.3.0/src/rite/serialization/json/json_encoder.py +135 -0
- rite-0.3.0/src/rite/serialization/json/json_extract.py +179 -0
- rite-0.3.0/src/rite/serialization/json/json_load.py +59 -0
- rite-0.3.0/src/rite/serialization/json/json_repair.py +146 -0
- rite-0.3.0/src/rite/serialization/json/json_validate.py +67 -0
- rite-0.3.0/src/rite/serialization/json/jsonl_read.py +69 -0
- rite-0.3.0/src/rite/serialization/json/jsonl_write.py +82 -0
- rite-0.3.0/src/rite/serialization/pickle/pickle_dumps.py +59 -0
- rite-0.3.0/src/rite/serialization/pickle/pickle_loads.py +59 -0
- rite-0.3.0/src/rite/serialization/toml/toml_loads.py +68 -0
- rite-0.3.0/src/rite/system/__init__.py +104 -0
- rite-0.3.0/src/rite/system/environment/__init__.py +53 -0
- rite-0.3.0/src/rite/system/environment/env_bool.py +95 -0
- rite-0.3.0/src/rite/system/environment/env_get.py +91 -0
- rite-0.3.0/src/rite/system/environment/env_int.py +91 -0
- rite-0.3.0/src/rite/system/environment/env_list.py +56 -0
- rite-0.3.0/src/rite/system/environment/env_read_dotenv.py +93 -0
- rite-0.3.0/src/rite/system/environment/env_split.py +75 -0
- rite-0.3.0/src/rite/system/path/__init__.py +40 -0
- rite-0.3.0/src/rite/system/process/__init__.py +47 -0
- rite-0.3.0/src/rite/system/process/process_cgroup_bytes.py +81 -0
- rite-0.3.0/src/rite/system/process/process_check_output.py +75 -0
- rite-0.3.0/src/rite/system/process/process_limit_memory.py +77 -0
- rite-0.3.0/src/rite/system/process/process_rss_mb.py +101 -0
- rite-0.3.0/src/rite/system/process/process_run.py +102 -0
- rite-0.3.0/src/rite/temporal/__init__.py +143 -0
- rite-0.3.0/src/rite/temporal/calendar/__init__.py +61 -0
- rite-0.3.0/src/rite/temporal/calendar/_business_day.py +87 -0
- rite-0.3.0/src/rite/temporal/calendar/calendar_add_business_days.py +115 -0
- rite-0.3.0/src/rite/temporal/calendar/calendar_add_months.py +94 -0
- rite-0.3.0/src/rite/temporal/calendar/calendar_business_days_between.py +111 -0
- rite-0.3.0/src/rite/temporal/calendar/calendar_doy_to_month_day.py +80 -0
- rite-0.3.0/src/rite/temporal/calendar/calendar_easter_sunday.py +77 -0
- rite-0.3.0/src/rite/temporal/calendar/calendar_is_business_day.py +74 -0
- rite-0.3.0/src/rite/temporal/calendar/calendar_month_bounds.py +60 -0
- rite-0.3.0/src/rite/temporal/calendar/calendar_quarter.py +59 -0
- rite-0.3.0/src/rite/temporal/datetime/__init__.py +51 -0
- rite-0.3.0/src/rite/temporal/datetime/date_parse_iso.py +104 -0
- rite-0.3.0/src/rite/temporal/datetime/datetime_from_timestamp.py +65 -0
- rite-0.3.0/src/rite/temporal/datetime/datetime_now.py +63 -0
- rite-0.3.0/src/rite/temporal/datetime/datetime_parse_iso.py +141 -0
- rite-0.3.0/src/rite/temporal/datetime/datetime_to_timestamp.py +102 -0
- rite-0.3.0/src/rite/temporal/duration/__init__.py +58 -0
- rite-0.3.0/src/rite/temporal/duration/duration_format.py +116 -0
- rite-0.3.0/src/rite/temporal/duration/duration_format_clock.py +98 -0
- rite-0.3.0/src/rite/temporal/duration/duration_format_compact.py +104 -0
- rite-0.3.0/src/rite/temporal/duration/duration_format_minutes.py +86 -0
- rite-0.3.0/src/rite/temporal/duration/duration_parse.py +216 -0
- rite-0.3.0/src/rite/temporal/formatting/__init__.py +45 -0
- rite-0.3.0/src/rite/temporal/formatting/format_human_readable.py +86 -0
- rite-0.3.0/src/rite/temporal/formatting/format_iso8601.py +101 -0
- rite-0.3.0/src/rite/temporal/formatting/format_iso8601_utc.py +101 -0
- rite-0.3.0/src/rite/temporal/formatting/format_rfc3339.py +90 -0
- rite-0.3.0/src/rite/temporal/range/__init__.py +34 -0
- rite-0.3.0/src/rite/temporal/range/range_clamp_dates.py +99 -0
- rite-0.3.0/src/rite/temporal/timezone/__init__.py +49 -0
- rite-0.3.0/src/rite/temporal/timezone/timezone_as_utc_instant.py +77 -0
- rite-0.3.0/src/rite/temporal/timezone/timezone_convert.py +69 -0
- rite-0.3.0/src/rite/temporal/timezone/timezone_format_offset.py +85 -0
- rite-0.3.0/src/rite/temporal/timezone/timezone_normalize_wall_time.py +76 -0
- rite-0.3.0/src/rite/text/__init__.py +143 -0
- rite-0.3.0/src/rite/text/analysis/average_word_length.py +54 -0
- rite-0.3.0/src/rite/text/analysis/char_frequency.py +51 -0
- rite-0.3.0/src/rite/text/analysis/is_palindrome.py +62 -0
- rite-0.3.0/src/rite/text/analysis/longest_word.py +54 -0
- rite-0.3.0/src/rite/text/analysis/shortest_word.py +54 -0
- rite-0.3.0/src/rite/text/analysis/word_count.py +52 -0
- rite-0.3.0/src/rite/text/case/__init__.py +51 -0
- rite-0.3.0/src/rite/text/case/case_to_acronym.py +12 -0
- rite-0.3.0/src/rite/text/case/case_to_alphabet_position.py +14 -0
- rite-0.3.0/src/rite/text/case/case_to_alternate_character_deletion.py +12 -0
- rite-0.3.0/src/rite/text/case/case_to_alternate_uppercase_lowercase.py +15 -0
- rite-0.3.0/src/rite/text/case/case_to_diagonal_text.py +13 -0
- rite-0.3.0/src/rite/text/case/case_to_first_letter_of_each_word.py +12 -0
- rite-0.3.0/src/rite/text/case/case_to_leet_speak.py +22 -0
- rite-0.3.0/src/rite/text/case/case_to_pig_latin.py +18 -0
- rite-0.3.0/src/rite/text/case/case_to_random.py +18 -0
- rite-0.3.0/src/rite/text/case/case_to_slug.py +16 -0
- rite-0.3.0/src/rite/text/case/case_to_spinal.py +14 -0
- rite-0.3.0/src/rite/text/case/case_to_spongebob_meme.py +15 -0
- rite-0.3.0/src/rite/text/case/case_to_spongebob_mocking.py +14 -0
- rite-0.3.0/src/rite/text/case/case_to_swap.py +12 -0
- rite-0.3.0/src/rite/text/case/case_to_upper_consonant.py +15 -0
- rite-0.3.0/src/rite/text/case/case_to_upper_first_letter.py +16 -0
- rite-0.3.0/src/rite/text/case/case_to_upper_vowel.py +15 -0
- rite-0.3.0/src/rite/text/case/case_to_upside_down.py +107 -0
- rite-0.3.0/src/rite/text/case/case_to_zalgo_text.py +19 -0
- rite-0.3.0/src/rite/text/case/split_words.py +87 -0
- rite-0.3.0/src/rite/text/case/to_camel_case.py +65 -0
- rite-0.3.0/src/rite/text/case/to_constant_case.py +59 -0
- rite-0.3.0/src/rite/text/case/to_dot_case.py +57 -0
- rite-0.3.0/src/rite/text/case/to_kebab_case.py +59 -0
- rite-0.3.0/src/rite/text/case/to_lower_case.py +48 -0
- rite-0.3.0/src/rite/text/case/to_pascal_case.py +60 -0
- rite-0.3.0/src/rite/text/case/to_path_case.py +57 -0
- rite-0.3.0/src/rite/text/case/to_sentence_case.py +60 -0
- rite-0.3.0/src/rite/text/case/to_snake_case.py +61 -0
- rite-0.3.0/src/rite/text/case/to_title_case.py +68 -0
- rite-0.3.0/src/rite/text/case/to_upper_case.py +48 -0
- rite-0.3.0/src/rite/text/converters/__init__.py +35 -0
- rite-0.3.0/src/rite/text/converters/case_to_abbreviation.py +50 -0
- rite-0.3.0/src/rite/text/converters/case_to_ascii_value.py +48 -0
- rite-0.3.0/src/rite/text/converters/case_to_braille_transcription.py +51 -0
- rite-0.3.0/src/rite/text/converters/case_to_double_every_second_word.py +52 -0
- rite-0.3.0/src/rite/text/converters/case_to_emoji.py +58 -0
- rite-0.3.0/src/rite/text/converters/case_to_hexadecimal.py +48 -0
- rite-0.3.0/src/rite/text/converters/case_to_nato_phonetic_alphabet.py +77 -0
- rite-0.3.0/src/rite/text/converters/case_to_numeric_words_to_numbers.py +60 -0
- rite-0.3.0/src/rite/text/converters/case_to_numeronym.py +50 -0
- rite-0.3.0/src/rite/text/converters/case_to_rainbow.py +54 -0
- rite-0.3.0/src/rite/text/converters/case_to_substitute_numbers_with_words.py +60 -0
- rite-0.3.0/src/rite/text/converters/case_to_vowel_concatenation.py +49 -0
- rite-0.3.0/src/rite/text/converters/case_to_vowel_removal.py +49 -0
- rite-0.3.0/src/rite/text/converters/converter_string_to_binary.py +48 -0
- rite-0.3.0/src/rite/text/converters/string_clean.py +55 -0
- rite-0.3.0/src/rite/text/manipulation/__init__.py +53 -0
- rite-0.3.0/src/rite/text/manipulation/text_clip.py +60 -0
- rite-0.3.0/src/rite/text/manipulation/text_excerpt.py +62 -0
- rite-0.3.0/src/rite/text/manipulation/text_truncate.py +87 -0
- rite-0.3.0/src/rite/text/manipulation/text_truncate_bytes.py +61 -0
- rite-0.3.0/src/rite/text/manipulation/text_wrap.py +84 -0
- rite-0.3.0/src/rite/text/morse/morse_decode.py +98 -0
- rite-0.3.0/src/rite/text/morse/morse_encode.py +93 -0
- rite-0.3.0/src/rite/text/normalize/__init__.py +31 -0
- rite-0.3.0/src/rite/text/normalize/text_fold.py +83 -0
- rite-0.3.0/src/rite/text/normalize/text_strip_accents.py +62 -0
- rite-0.3.0/src/rite/text/random/random_alphanumeric.py +70 -0
- rite-0.3.0/src/rite/text/random/random_hex.py +53 -0
- rite-0.3.0/src/rite/text/random/random_string.py +56 -0
- rite-0.3.0/src/rite/text/sanitize/__init__.py +37 -0
- rite-0.3.0/src/rite/text/sanitize/sanitize_ensure_str.py +52 -0
- rite-0.3.0/src/rite/text/sanitize/sanitize_one_line.py +79 -0
- rite-0.3.0/src/rite/text/sanitize/sanitize_strip_nul.py +73 -0
- rite-0.3.0/src/rite/text/sanitize/sanitize_text.py +74 -0
- rite-0.3.0/src/rite/text/slug/__init__.py +40 -0
- rite-0.3.0/src/rite/text/slug/slug_add_prefix.py +52 -0
- rite-0.3.0/src/rite/text/slug/slug_add_suffix.py +52 -0
- rite-0.3.0/src/rite/text/slug/slug_hash.py +88 -0
- rite-0.3.0/src/rite/text/slug/slug_is_valid.py +62 -0
- rite-0.3.0/src/rite/text/slug/slug_unique.py +102 -0
- rite-0.3.0/src/rite/text/slug/slugify.py +160 -0
- rite-0.3.0/src/rite/text/validation/__init__.py +42 -0
- rite-0.2.2/PKG-INFO +0 -299
- rite-0.2.2/README.md +0 -274
- rite-0.2.2/pyproject.toml +0 -187
- rite-0.2.2/src/rite/__init__.py +0 -91
- rite-0.2.2/src/rite/__main__.py +0 -46
- rite-0.2.2/src/rite/__version__.py +0 -40
- rite-0.2.2/src/rite/collections/__init__.py +0 -136
- rite-0.2.2/src/rite/collections/buffer/__init__.py +0 -45
- rite-0.2.2/src/rite/collections/buffer/bounded_buffer.py +0 -187
- rite-0.2.2/src/rite/collections/buffer/circular_buffer.py +0 -225
- rite-0.2.2/src/rite/collections/buffer/ring_buffer.py +0 -38
- rite-0.2.2/src/rite/collections/buffer/sliding_window.py +0 -205
- rite-0.2.2/src/rite/collections/cache/__init__.py +0 -42
- rite-0.2.2/src/rite/collections/cache/lfu_cache.py +0 -181
- rite-0.2.2/src/rite/collections/cache/lru_cache.py +0 -174
- rite-0.2.2/src/rite/collections/cache/ttl_cache.py +0 -192
- rite-0.2.2/src/rite/collections/dict/__init__.py +0 -52
- rite-0.2.2/src/rite/collections/dict/dict_deep_get.py +0 -78
- rite-0.2.2/src/rite/collections/dict/dict_deep_set.py +0 -77
- rite-0.2.2/src/rite/collections/dict/dict_merge.py +0 -100
- rite-0.2.2/src/rite/collections/list/__init__.py +0 -55
- rite-0.2.2/src/rite/collections/list/list_chunk.py +0 -79
- rite-0.2.2/src/rite/collections/list/list_flatten.py +0 -89
- rite-0.2.2/src/rite/collections/list/list_group_by.py +0 -94
- rite-0.2.2/src/rite/collections/list/list_interleave.py +0 -65
- rite-0.2.2/src/rite/collections/list/list_partition.py +0 -81
- rite-0.2.2/src/rite/collections/list/list_unique.py +0 -81
- rite-0.2.2/src/rite/collections/pattern/__init__.py +0 -43
- rite-0.2.2/src/rite/collections/pattern/object_pool.py +0 -165
- rite-0.2.2/src/rite/collections/pattern/observer.py +0 -125
- rite-0.2.2/src/rite/collections/pattern/singleton.py +0 -152
- rite-0.2.2/src/rite/collections/queue/__init__.py +0 -42
- rite-0.2.2/src/rite/collections/queue/circular_queue.py +0 -134
- rite-0.2.2/src/rite/collections/queue/deque_wrapper.py +0 -128
- rite-0.2.2/src/rite/collections/queue/priority_queue.py +0 -114
- rite-0.2.2/src/rite/collections/set/__init__.py +0 -145
- rite-0.2.2/src/rite/collections/tree/__init__.py +0 -45
- rite-0.2.2/src/rite/collections/tree/binary_tree_node.py +0 -193
- rite-0.2.2/src/rite/collections/tree/nested_set.py +0 -146
- rite-0.2.2/src/rite/collections/tree/tree_node.py +0 -236
- rite-0.2.2/src/rite/collections/tree/trie.py +0 -270
- rite-0.2.2/src/rite/conversion/__init__.py +0 -182
- rite-0.2.2/src/rite/conversion/formats/__init__.py +0 -64
- rite-0.2.2/src/rite/conversion/formats/formats_base64_decode.py +0 -68
- rite-0.2.2/src/rite/conversion/formats/formats_hex_decode.py +0 -65
- rite-0.2.2/src/rite/conversion/formats/formats_hex_encode.py +0 -62
- rite-0.2.2/src/rite/conversion/formats/formats_json_encode.py +0 -79
- rite-0.2.2/src/rite/conversion/is_protected_type.py +0 -82
- rite-0.2.2/src/rite/conversion/to_bool.py +0 -97
- rite-0.2.2/src/rite/conversion/to_bytes.py +0 -112
- rite-0.2.2/src/rite/conversion/to_number.py +0 -76
- rite-0.2.2/src/rite/conversion/to_percentage.py +0 -73
- rite-0.2.2/src/rite/conversion/types/__init__.py +0 -74
- rite-0.2.2/src/rite/conversion/types/types_to_bool.py +0 -99
- rite-0.2.2/src/rite/conversion/types/types_to_bytes.py +0 -122
- rite-0.2.2/src/rite/conversion/types/types_to_float.py +0 -85
- rite-0.2.2/src/rite/conversion/types/types_to_int.py +0 -86
- rite-0.2.2/src/rite/conversion/types/types_to_list.py +0 -82
- rite-0.2.2/src/rite/conversion/types/types_to_number.py +0 -88
- rite-0.2.2/src/rite/conversion/types/types_to_percentage.py +0 -104
- rite-0.2.2/src/rite/conversion/types/types_to_str.py +0 -82
- rite-0.2.2/src/rite/conversion/units/__init__.py +0 -112
- rite-0.2.2/src/rite/conversion/units/units_length.py +0 -198
- rite-0.2.2/src/rite/conversion/units/units_weight.py +0 -158
- rite-0.2.2/src/rite/crypto/__init__.py +0 -188
- rite-0.2.2/src/rite/crypto/cipher/cipher_atbash.py +0 -94
- rite-0.2.2/src/rite/crypto/cipher/cipher_autokey.py +0 -129
- rite-0.2.2/src/rite/crypto/cipher/cipher_baconian.py +0 -119
- rite-0.2.2/src/rite/crypto/cipher/cipher_caesar.py +0 -88
- rite-0.2.2/src/rite/crypto/cipher/cipher_four_square.py +0 -208
- rite-0.2.2/src/rite/crypto/cipher/cipher_playfair.py +0 -208
- rite-0.2.2/src/rite/crypto/cipher/cipher_rail_fence.py +0 -119
- rite-0.2.2/src/rite/crypto/cipher/cipher_rot13.py +0 -82
- rite-0.2.2/src/rite/crypto/cipher/cipher_scytale.py +0 -101
- rite-0.2.2/src/rite/crypto/cipher/cipher_transposition.py +0 -104
- rite-0.2.2/src/rite/crypto/cipher/cipher_vigenere.py +0 -103
- rite-0.2.2/src/rite/crypto/cipher/cipher_xor.py +0 -82
- rite-0.2.2/src/rite/crypto/hash/__init__.py +0 -63
- rite-0.2.2/src/rite/crypto/hash/hash_blake2b.py +0 -72
- rite-0.2.2/src/rite/crypto/hash/hash_blake2s.py +0 -72
- rite-0.2.2/src/rite/crypto/hash/hash_md5.py +0 -65
- rite-0.2.2/src/rite/crypto/hash/hash_sha1.py +0 -65
- rite-0.2.2/src/rite/crypto/hash/hash_sha256.py +0 -96
- rite-0.2.2/src/rite/crypto/hash/hash_sha384.py +0 -61
- rite-0.2.2/src/rite/crypto/hash/hash_sha3_256.py +0 -61
- rite-0.2.2/src/rite/crypto/hash/hash_sha3_512.py +0 -61
- rite-0.2.2/src/rite/crypto/hash/hash_sha512.py +0 -96
- rite-0.2.2/src/rite/crypto/random/__init__.py +0 -48
- rite-0.2.2/src/rite/crypto/random/random_int.py +0 -64
- rite-0.2.2/src/rite/crypto/random/random_urlsafe.py +0 -65
- rite-0.2.2/src/rite/crypto/uuid/__init__.py +0 -51
- rite-0.2.2/src/rite/crypto/uuid/uuid_from_name.py +0 -40
- rite-0.2.2/src/rite/crypto/uuid/uuid_get_version.py +0 -36
- rite-0.2.2/src/rite/crypto/uuid/uuid_hex.py +0 -49
- rite-0.2.2/src/rite/crypto/uuid/uuid_is_random.py +0 -37
- rite-0.2.2/src/rite/crypto/uuid/uuid_is_valid.py +0 -63
- rite-0.2.2/src/rite/crypto/uuid/uuid_random.py +0 -49
- rite-0.2.2/src/rite/crypto/uuid/uuid_string.py +0 -51
- rite-0.2.2/src/rite/diagnostics/__init__.py +0 -128
- rite-0.2.2/src/rite/diagnostics/debugging/debugging_inspect.py +0 -85
- rite-0.2.2/src/rite/diagnostics/debugging/debugging_trace.py +0 -99
- rite-0.2.2/src/rite/diagnostics/error_handler.py +0 -185
- rite-0.2.2/src/rite/diagnostics/errors/__init__.py +0 -48
- rite-0.2.2/src/rite/diagnostics/errors/errors_format_traceback.py +0 -85
- rite-0.2.2/src/rite/diagnostics/errors/errors_get_chain.py +0 -71
- rite-0.2.2/src/rite/diagnostics/errors/errors_retry.py +0 -99
- rite-0.2.2/src/rite/diagnostics/logger.py +0 -227
- rite-0.2.2/src/rite/diagnostics/logging/__init__.py +0 -50
- rite-0.2.2/src/rite/diagnostics/logging/logging_structured.py +0 -171
- rite-0.2.2/src/rite/diagnostics/logging/logging_to_console.py +0 -109
- rite-0.2.2/src/rite/diagnostics/metrics/metrics_counter.py +0 -98
- rite-0.2.2/src/rite/diagnostics/metrics/metrics_gauge.py +0 -112
- rite-0.2.2/src/rite/diagnostics/metrics/metrics_histogram.py +0 -138
- rite-0.2.2/src/rite/diagnostics/metrics/metrics_timer.py +0 -113
- rite-0.2.2/src/rite/diagnostics/profiling/profiling_count_calls.py +0 -93
- rite-0.2.2/src/rite/diagnostics/profiling/profiling_memory.py +0 -104
- rite-0.2.2/src/rite/filesystem/__init__.py +0 -115
- rite-0.2.2/src/rite/filesystem/compress/__init__.py +0 -10
- rite-0.2.2/src/rite/filesystem/compress/gzip_compress.py +0 -71
- rite-0.2.2/src/rite/filesystem/compress/gzip_settings.py +0 -53
- rite-0.2.2/src/rite/filesystem/compress/gzip_uncompress.py +0 -69
- rite-0.2.2/src/rite/filesystem/file/__init__.py +0 -28
- rite-0.2.2/src/rite/filesystem/file/file_copy.py +0 -73
- rite-0.2.2/src/rite/filesystem/file/file_copy_multiple.py +0 -85
- rite-0.2.2/src/rite/filesystem/file/file_delete.py +0 -62
- rite-0.2.2/src/rite/filesystem/file/file_move.py +0 -72
- rite-0.2.2/src/rite/filesystem/file/file_read_bytes.py +0 -51
- rite-0.2.2/src/rite/filesystem/file/file_read_text.py +0 -52
- rite-0.2.2/src/rite/filesystem/file/file_rename.py +0 -64
- rite-0.2.2/src/rite/filesystem/file/file_size_to_string.py +0 -114
- rite-0.2.2/src/rite/filesystem/file/file_spooled.py +0 -86
- rite-0.2.2/src/rite/filesystem/file/file_spooled_settings.py +0 -45
- rite-0.2.2/src/rite/filesystem/file/file_write_bytes.py +0 -49
- rite-0.2.2/src/rite/filesystem/file/file_write_text.py +0 -54
- rite-0.2.2/src/rite/filesystem/file_extension/__init__.py +0 -12
- rite-0.2.2/src/rite/filesystem/file_extension/extension_construct.py +0 -119
- rite-0.2.2/src/rite/filesystem/file_extension/extension_normalize.py +0 -71
- rite-0.2.2/src/rite/filesystem/file_extension/extension_regex.py +0 -37
- rite-0.2.2/src/rite/filesystem/file_extension/extension_validate.py +0 -99
- rite-0.2.2/src/rite/filesystem/file_name/filename_sanitize.py +0 -88
- rite-0.2.2/src/rite/filesystem/file_name/filename_to_date.py +0 -35
- rite-0.2.2/src/rite/filesystem/file_name/filename_to_datestring.py +0 -86
- rite-0.2.2/src/rite/filesystem/folder/__init__.py +0 -35
- rite-0.2.2/src/rite/filesystem/folder/folder_content_delete.py +0 -81
- rite-0.2.2/src/rite/filesystem/folder/folder_create.py +0 -67
- rite-0.2.2/src/rite/filesystem/folder/folder_ensure_exists.py +0 -44
- rite-0.2.2/src/rite/filesystem/folder/folder_list_files.py +0 -67
- rite-0.2.2/src/rite/filesystem/folder/folder_list_folders.py +0 -72
- rite-0.2.2/src/rite/filesystem/folder/folder_size_get.py +0 -58
- rite-0.2.2/src/rite/filesystem/folder/folder_size_to_string.py +0 -99
- rite-0.2.2/src/rite/filesystem/mimetype/__init__.py +0 -49
- rite-0.2.2/src/rite/filesystem/mimetype/mimetype_guess.py +0 -108
- rite-0.2.2/src/rite/filesystem/mimetype/mimetype_guess_from_path.py +0 -54
- rite-0.2.2/src/rite/filesystem/mimetype/mimetype_match.py +0 -43
- rite-0.2.2/src/rite/filesystem/mimetype/mimetype_read_head_bytes.py +0 -102
- rite-0.2.2/src/rite/filesystem/mimetype/mimetype_sniff.py +0 -635
- rite-0.2.2/src/rite/filesystem/mimetype/mimetype_validate.py +0 -76
- rite-0.2.2/src/rite/filesystem/mimetype/mimetype_verify.py +0 -74
- rite-0.2.2/src/rite/filesystem/path/__init__.py +0 -20
- rite-0.2.2/src/rite/filesystem/path/path_clean.py +0 -57
- rite-0.2.2/src/rite/filesystem/path/path_exists.py +0 -40
- rite-0.2.2/src/rite/filesystem/path/path_is_dir.py +0 -40
- rite-0.2.2/src/rite/filesystem/path/path_is_file.py +0 -40
- rite-0.2.2/src/rite/filesystem/path/path_leaf.py +0 -54
- rite-0.2.2/src/rite/filesystem/path/path_safe_join.py +0 -95
- rite-0.2.2/src/rite/filesystem/path/path_secure.py +0 -64
- rite-0.2.2/src/rite/functional/__init__.py +0 -111
- rite-0.2.2/src/rite/functional/currying/currying_curry.py +0 -93
- rite-0.2.2/src/rite/functional/decorators/decorators_debounce.py +0 -83
- rite-0.2.2/src/rite/functional/decorators/decorators_once.py +0 -89
- rite-0.2.2/src/rite/functional/decorators/decorators_throttle.py +0 -93
- rite-0.2.2/src/rite/functional/memoization/memoization_memoize.py +0 -92
- rite-0.2.2/src/rite/functional/partial/__init__.py +0 -46
- rite-0.2.2/src/rite/markup/__init__.py +0 -93
- rite-0.2.2/src/rite/markup/entities/__init__.py +0 -43
- rite-0.2.2/src/rite/markup/entities/entities_decode.py +0 -61
- rite-0.2.2/src/rite/markup/entities/entities_encode.py +0 -61
- rite-0.2.2/src/rite/markup/html/__init__.py +0 -48
- rite-0.2.2/src/rite/markup/html/html_clean.py +0 -67
- rite-0.2.2/src/rite/markup/html/html_escape.py +0 -61
- rite-0.2.2/src/rite/markup/html/html_strip_tags.py +0 -72
- rite-0.2.2/src/rite/markup/markdown/__init__.py +0 -43
- rite-0.2.2/src/rite/markup/markdown/markdown_escape.py +0 -62
- rite-0.2.2/src/rite/markup/markdown/markdown_to_html.py +0 -80
- rite-0.2.2/src/rite/markup/sanitize/__init__.py +0 -46
- rite-0.2.2/src/rite/markup/sanitize/sanitize_filename.py +0 -73
- rite-0.2.2/src/rite/markup/sanitize/sanitize_html.py +0 -91
- rite-0.2.2/src/rite/markup/sanitize/sanitize_url.py +0 -77
- rite-0.2.2/src/rite/markup/xml/__init__.py +0 -45
- rite-0.2.2/src/rite/markup/xml/xml_escape.py +0 -61
- rite-0.2.2/src/rite/markup/xml/xml_format.py +0 -68
- rite-0.2.2/src/rite/markup/xml/xml_unescape.py +0 -61
- rite-0.2.2/src/rite/net/__init__.py +0 -114
- rite-0.2.2/src/rite/net/http/__init__.py +0 -46
- rite-0.2.2/src/rite/net/http/http_is_method.py +0 -68
- rite-0.2.2/src/rite/net/http/http_parse_headers.py +0 -71
- rite-0.2.2/src/rite/net/http/http_status_code.py +0 -65
- rite-0.2.2/src/rite/net/mime/__init__.py +0 -44
- rite-0.2.2/src/rite/net/mime/mime_guess_extension.py +0 -63
- rite-0.2.2/src/rite/net/mime/mime_guess_type.py +0 -64
- rite-0.2.2/src/rite/net/mime/mime_parse.py +0 -68
- rite-0.2.2/src/rite/net/request/__init__.py +0 -39
- rite-0.2.2/src/rite/net/request/request_get.py +0 -79
- rite-0.2.2/src/rite/net/request/request_post.py +0 -91
- rite-0.2.2/src/rite/net/servers/server_http.py +0 -199
- rite-0.2.2/src/rite/net/servers/server_sqlite.py +0 -251
- rite-0.2.2/src/rite/net/url/__init__.py +0 -50
- rite-0.2.2/src/rite/net/url/url_build.py +0 -76
- rite-0.2.2/src/rite/net/url/url_parse_query.py +0 -61
- rite-0.2.2/src/rite/net/validation/__init__.py +0 -47
- rite-0.2.2/src/rite/net/validation/validation_is_email.py +0 -64
- rite-0.2.2/src/rite/net/validation/validation_is_ipv4.py +0 -67
- rite-0.2.2/src/rite/net/validation/validation_is_port.py +0 -62
- rite-0.2.2/src/rite/net/validation/validation_is_url.py +0 -84
- rite-0.2.2/src/rite/numeric/__init__.py +0 -125
- rite-0.2.2/src/rite/numeric/clamp.py +0 -62
- rite-0.2.2/src/rite/numeric/conversion/conversion_to_decimal.py +0 -66
- rite-0.2.2/src/rite/numeric/coordinates/coordinates_from_degree_minute_second.py +0 -69
- rite-0.2.2/src/rite/numeric/coordinates/coordinates_to_degree_minute.py +0 -74
- rite-0.2.2/src/rite/numeric/coordinates/coordinates_to_degree_minute_second.py +0 -78
- rite-0.2.2/src/rite/numeric/float_to_degree_minute.py +0 -67
- rite-0.2.2/src/rite/numeric/float_to_degree_minute_second.py +0 -64
- rite-0.2.2/src/rite/numeric/math/math_clamp.py +0 -61
- rite-0.2.2/src/rite/numeric/math/math_pow.py +0 -61
- rite-0.2.2/src/rite/numeric/math/math_sign.py +0 -64
- rite-0.2.2/src/rite/numeric/statistics/__init__.py +0 -50
- rite-0.2.2/src/rite/numeric/statistics/statistics_mean.py +0 -65
- rite-0.2.2/src/rite/numeric/statistics/statistics_median.py +0 -74
- rite-0.2.2/src/rite/numeric/value_to_decimal.py +0 -67
- rite-0.2.2/src/rite/reflection/__init__.py +0 -127
- rite-0.2.2/src/rite/reflection/attributes/attributes_del_attr.py +0 -68
- rite-0.2.2/src/rite/reflection/importing/importing_load_class.py +0 -95
- rite-0.2.2/src/rite/reflection/importing/importing_load_function.py +0 -77
- rite-0.2.2/src/rite/reflection/inspection/inspection_get_methods.py +0 -65
- rite-0.2.2/src/rite/serialization/__init__.py +0 -83
- rite-0.2.2/src/rite/serialization/csv/__init__.py +0 -42
- rite-0.2.2/src/rite/serialization/csv/csv_detect_delimiter.py +0 -61
- rite-0.2.2/src/rite/serialization/csv/csv_read.py +0 -71
- rite-0.2.2/src/rite/serialization/csv/csv_write.py +0 -79
- rite-0.2.2/src/rite/serialization/ini/ini_get.py +0 -74
- rite-0.2.2/src/rite/serialization/ini/ini_read.py +0 -67
- rite-0.2.2/src/rite/serialization/ini/ini_set.py +0 -74
- rite-0.2.2/src/rite/serialization/ini/ini_write.py +0 -72
- rite-0.2.2/src/rite/serialization/json/__init__.py +0 -46
- rite-0.2.2/src/rite/serialization/json/json_dump.py +0 -66
- rite-0.2.2/src/rite/serialization/json/json_dumps.py +0 -62
- rite-0.2.2/src/rite/serialization/json/json_load.py +0 -65
- rite-0.2.2/src/rite/serialization/json/json_validate.py +0 -66
- rite-0.2.2/src/rite/serialization/pickle/pickle_dumps.py +0 -59
- rite-0.2.2/src/rite/serialization/pickle/pickle_loads.py +0 -59
- rite-0.2.2/src/rite/serialization/toml/toml_loads.py +0 -68
- rite-0.2.2/src/rite/system/__init__.py +0 -99
- rite-0.2.2/src/rite/system/environment/__init__.py +0 -45
- rite-0.2.2/src/rite/system/environment/env_get.py +0 -60
- rite-0.2.2/src/rite/system/environment/env_list.py +0 -54
- rite-0.2.2/src/rite/system/get_escaped_command_arg.py +0 -48
- rite-0.2.2/src/rite/system/path/__init__.py +0 -48
- rite-0.2.2/src/rite/system/path/path_exists.py +0 -60
- rite-0.2.2/src/rite/system/path/path_is_dir.py +0 -60
- rite-0.2.2/src/rite/system/path/path_is_file.py +0 -60
- rite-0.2.2/src/rite/system/process/__init__.py +0 -41
- rite-0.2.2/src/rite/system/process/process_check_output.py +0 -69
- rite-0.2.2/src/rite/system/process/process_run.py +0 -83
- rite-0.2.2/src/rite/system/run_command.py +0 -82
- rite-0.2.2/src/rite/temporal/__init__.py +0 -100
- rite-0.2.2/src/rite/temporal/calendar/__init__.py +0 -45
- rite-0.2.2/src/rite/temporal/datetime/__init__.py +0 -49
- rite-0.2.2/src/rite/temporal/datetime/datetime_from_timestamp.py +0 -64
- rite-0.2.2/src/rite/temporal/datetime/datetime_now.py +0 -62
- rite-0.2.2/src/rite/temporal/datetime/datetime_to_iso.py +0 -61
- rite-0.2.2/src/rite/temporal/datetime/datetime_to_timestamp.py +0 -61
- rite-0.2.2/src/rite/temporal/duration/__init__.py +0 -48
- rite-0.2.2/src/rite/temporal/formatting/__init__.py +0 -43
- rite-0.2.2/src/rite/temporal/formatting/format_human_readable.py +0 -61
- rite-0.2.2/src/rite/temporal/formatting/format_iso8601.py +0 -60
- rite-0.2.2/src/rite/temporal/formatting/format_rfc3339.py +0 -61
- rite-0.2.2/src/rite/temporal/timezone/__init__.py +0 -43
- rite-0.2.2/src/rite/temporal/timezone/timezone_convert.py +0 -64
- rite-0.2.2/src/rite/text/__init__.py +0 -132
- rite-0.2.2/src/rite/text/analysis/average_word_length.py +0 -55
- rite-0.2.2/src/rite/text/analysis/char_frequency.py +0 -52
- rite-0.2.2/src/rite/text/analysis/is_palindrome.py +0 -63
- rite-0.2.2/src/rite/text/analysis/longest_word.py +0 -55
- rite-0.2.2/src/rite/text/analysis/shortest_word.py +0 -55
- rite-0.2.2/src/rite/text/analysis/word_count.py +0 -51
- rite-0.2.2/src/rite/text/case/__init__.py +0 -50
- rite-0.2.2/src/rite/text/case/case_to_acronym.py +0 -13
- rite-0.2.2/src/rite/text/case/case_to_alphabet_position.py +0 -15
- rite-0.2.2/src/rite/text/case/case_to_alternate_character_deletion.py +0 -13
- rite-0.2.2/src/rite/text/case/case_to_alternate_uppercase_lowercase.py +0 -16
- rite-0.2.2/src/rite/text/case/case_to_diagonal_text.py +0 -14
- rite-0.2.2/src/rite/text/case/case_to_first_letter_of_each_word.py +0 -13
- rite-0.2.2/src/rite/text/case/case_to_leet_speak.py +0 -23
- rite-0.2.2/src/rite/text/case/case_to_pig_latin.py +0 -19
- rite-0.2.2/src/rite/text/case/case_to_random.py +0 -19
- rite-0.2.2/src/rite/text/case/case_to_slug.py +0 -14
- rite-0.2.2/src/rite/text/case/case_to_spinal.py +0 -15
- rite-0.2.2/src/rite/text/case/case_to_spongebob_meme.py +0 -16
- rite-0.2.2/src/rite/text/case/case_to_spongebob_mocking.py +0 -15
- rite-0.2.2/src/rite/text/case/case_to_swap.py +0 -13
- rite-0.2.2/src/rite/text/case/case_to_upper_consonant.py +0 -16
- rite-0.2.2/src/rite/text/case/case_to_upper_first_letter.py +0 -17
- rite-0.2.2/src/rite/text/case/case_to_upper_vowel.py +0 -16
- rite-0.2.2/src/rite/text/case/case_to_upside_down.py +0 -109
- rite-0.2.2/src/rite/text/case/case_to_zalgo_text.py +0 -20
- rite-0.2.2/src/rite/text/case/to_camel_case.py +0 -66
- rite-0.2.2/src/rite/text/case/to_constant_case.py +0 -63
- rite-0.2.2/src/rite/text/case/to_dot_case.py +0 -62
- rite-0.2.2/src/rite/text/case/to_kebab_case.py +0 -62
- rite-0.2.2/src/rite/text/case/to_lower_case.py +0 -49
- rite-0.2.2/src/rite/text/case/to_pascal_case.py +0 -61
- rite-0.2.2/src/rite/text/case/to_path_case.py +0 -62
- rite-0.2.2/src/rite/text/case/to_sentence_case.py +0 -56
- rite-0.2.2/src/rite/text/case/to_snake_case.py +0 -62
- rite-0.2.2/src/rite/text/case/to_title_case.py +0 -54
- rite-0.2.2/src/rite/text/case/to_upper_case.py +0 -49
- rite-0.2.2/src/rite/text/converters/__init__.py +0 -40
- rite-0.2.2/src/rite/text/converters/case_to_abbreviation.py +0 -51
- rite-0.2.2/src/rite/text/converters/case_to_ascii_value.py +0 -49
- rite-0.2.2/src/rite/text/converters/case_to_braille_transcription.py +0 -52
- rite-0.2.2/src/rite/text/converters/case_to_double_every_second_word.py +0 -53
- rite-0.2.2/src/rite/text/converters/case_to_emoji.py +0 -59
- rite-0.2.2/src/rite/text/converters/case_to_hexadecimal.py +0 -49
- rite-0.2.2/src/rite/text/converters/case_to_nato_phonetic_alphabet.py +0 -78
- rite-0.2.2/src/rite/text/converters/case_to_numeric_words_to_numbers.py +0 -61
- rite-0.2.2/src/rite/text/converters/case_to_numeronym.py +0 -51
- rite-0.2.2/src/rite/text/converters/case_to_rainbow.py +0 -55
- rite-0.2.2/src/rite/text/converters/case_to_substitute_numbers_with_words.py +0 -61
- rite-0.2.2/src/rite/text/converters/case_to_vowel_concatenation.py +0 -50
- rite-0.2.2/src/rite/text/converters/case_to_vowel_removal.py +0 -50
- rite-0.2.2/src/rite/text/converters/converter_string_to_binary.py +0 -50
- rite-0.2.2/src/rite/text/converters/converter_string_to_bool.py +0 -73
- rite-0.2.2/src/rite/text/converters/converter_string_to_datetime.py +0 -75
- rite-0.2.2/src/rite/text/converters/converter_string_to_decimal.py +0 -73
- rite-0.2.2/src/rite/text/converters/converter_string_to_float.py +0 -49
- rite-0.2.2/src/rite/text/converters/converter_string_to_int.py +0 -49
- rite-0.2.2/src/rite/text/converters/string_clean.py +0 -56
- rite-0.2.2/src/rite/text/manipulation/__init__.py +0 -46
- rite-0.2.2/src/rite/text/manipulation/text_truncate.py +0 -66
- rite-0.2.2/src/rite/text/manipulation/text_wrap.py +0 -61
- rite-0.2.2/src/rite/text/morse/morse_decode.py +0 -99
- rite-0.2.2/src/rite/text/morse/morse_encode.py +0 -94
- rite-0.2.2/src/rite/text/random/random_alphanumeric.py +0 -71
- rite-0.2.2/src/rite/text/random/random_hex.py +0 -54
- rite-0.2.2/src/rite/text/random/random_string.py +0 -57
- rite-0.2.2/src/rite/text/sanitize/__init__.py +0 -8
- rite-0.2.2/src/rite/text/sanitize/sanitize_clean.py +0 -52
- rite-0.2.2/src/rite/text/sanitize/sanitize_text.py +0 -76
- rite-0.2.2/src/rite/text/slug/__init__.py +0 -38
- rite-0.2.2/src/rite/text/slug/slug_add_prefix.py +0 -53
- rite-0.2.2/src/rite/text/slug/slug_add_suffix.py +0 -53
- rite-0.2.2/src/rite/text/slug/slug_is_valid.py +0 -63
- rite-0.2.2/src/rite/text/slug/slug_unique.py +0 -77
- rite-0.2.2/src/rite/text/slug/slugify.py +0 -103
- rite-0.2.2/src/rite/text/validation/__init__.py +0 -46
- rite-0.2.2/src/rite/text/validation/text_is_email.py +0 -62
- {rite-0.2.2 → rite-0.3.0}/LICENSE +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/collections/dict/dict_filter.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/collections/dict/dict_invert.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/conversion/formats/formats_base64_encode.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/conversion/formats/formats_json_decode.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/conversion/formats/formats_url_decode.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/conversion/formats/formats_url_encode.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/conversion/types/types_to_dict.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/conversion/types/types_to_set.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/conversion/types/types_to_tuple.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/conversion/units/units_temperature.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/conversion/units/units_time.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/crypto/cipher/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/crypto/random/random_bytes.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/crypto/random/random_choice.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/crypto/random/random_hex.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/diagnostics/debugging/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/diagnostics/debugging/debugging_dump.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/diagnostics/debugging/debugging_locals.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/diagnostics/errors/errors_catch.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/diagnostics/logging/logging_to_file.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/diagnostics/logging/logging_with_context.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/diagnostics/metrics/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/diagnostics/profiling/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/diagnostics/profiling/profiling_stopwatch.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/diagnostics/profiling/profiling_timer.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/functional/composition/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/functional/composition/composition_chain.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/functional/composition/composition_compose.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/functional/composition/composition_pipe.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/functional/currying/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/functional/currying/currying_uncurry.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/functional/decorators/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/functional/decorators/decorators_deprecated.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/functional/memoization/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/functional/memoization/memoization_lru_cache.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/functional/partial/partial_apply.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/functional/partial/partial_right.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/functional/predicates/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/functional/predicates/predicates_constant.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/functional/predicates/predicates_identity.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/functional/predicates/predicates_negate.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/markup/html/html_unescape.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/net/servers/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/net/url/url_decode.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/net/url/url_encode.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/net/url/url_parse.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/numeric/conversion/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/numeric/conversion/conversion_from_percentage.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/numeric/conversion/conversion_to_percentage.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/numeric/coordinates/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/numeric/math/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/numeric/math/math_abs.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/numeric/range/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/numeric/range/range_in_range.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/numeric/range/range_normalize.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/numeric/range/range_scale.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/numeric/rounding/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/numeric/rounding/rounding_ceil.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/numeric/rounding/rounding_floor.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/numeric/rounding/rounding_round.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/numeric/rounding/rounding_trunc.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/numeric/statistics/statistics_min_max.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/numeric/statistics/statistics_sum.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/py.typed +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/attributes/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/attributes/attributes_get_attr.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/attributes/attributes_has_attr.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/attributes/attributes_set_attr.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/documentation/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/documentation/documentation_get_comments.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/documentation/documentation_get_docstring.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/documentation/documentation_get_file.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/importing/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/importing/importing_load_module.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/inspection/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/inspection/inspection_get_functions.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/inspection/inspection_get_members.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/inspection/inspection_get_source.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/signature/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/signature/signature_get_parameters.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/signature/signature_get_return_annotation.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/signature/signature_get_signature.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/types/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/types/types_is_class.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/types/types_is_function.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/types/types_is_method.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/reflection/types/types_is_module.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/serialization/ini/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/serialization/json/json_loads.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/serialization/pickle/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/serialization/pickle/pickle_dump.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/serialization/pickle/pickle_load.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/serialization/toml/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/serialization/toml/toml_load.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/system/environment/env_delete.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/system/environment/env_set.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/system/path/path_absolute.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/system/path/path_join.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/system/platform/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/system/platform/platform_architecture.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/system/platform/platform_is_linux.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/system/platform/platform_is_macos.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/system/platform/platform_is_windows.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/system/platform/platform_name.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/system/platform/platform_python_version.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/system/process/process_call.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/system/shell/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/system/shell/shell_escape.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/system/shell/shell_join.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/system/shell/shell_split.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/temporal/calendar/calendar_is_leap_year.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/temporal/calendar/calendar_month_days.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/temporal/calendar/calendar_weekday.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/temporal/datetime/datetime_format.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/temporal/datetime/datetime_parse.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/temporal/duration/duration_from_days.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/temporal/duration/duration_from_hours.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/temporal/duration/duration_from_minutes.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/temporal/duration/duration_from_seconds.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/temporal/duration/duration_to_seconds.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/temporal/timezone/timezone_get.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/temporal/timezone/timezone_list.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/text/analysis/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/text/manipulation/text_pad_left.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/text/manipulation/text_pad_right.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/text/morse/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/text/random/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/text/search/__init__.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/text/search/text_contains.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/text/search/text_count.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/text/search/text_ends_with.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/text/search/text_find.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/text/search/text_starts_with.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/text/validation/text_is_alpha.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/text/validation/text_is_alphanumeric.py +0 -0
- {rite-0.2.2 → rite-0.3.0}/src/rite/text/validation/text_is_numeric.py +0 -0
rite-0.3.0/.gitignore
ADDED
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
.DS_Store
|
|
2
|
+
tmp/
|
|
3
|
+
|
|
4
|
+
# Python
|
|
5
|
+
*.pyc
|
|
6
|
+
*.pyo
|
|
7
|
+
__pycache__/
|
|
8
|
+
*.py[cod]
|
|
9
|
+
*$py.class
|
|
10
|
+
|
|
11
|
+
# C extensions
|
|
12
|
+
*.so
|
|
13
|
+
|
|
14
|
+
# Distribution / packaging
|
|
15
|
+
.Python
|
|
16
|
+
build/
|
|
17
|
+
develop-eggs/
|
|
18
|
+
dist/
|
|
19
|
+
downloads/
|
|
20
|
+
eggs/
|
|
21
|
+
.eggs/
|
|
22
|
+
lib/
|
|
23
|
+
lib64/
|
|
24
|
+
parts/
|
|
25
|
+
sdist/
|
|
26
|
+
var/
|
|
27
|
+
wheels/
|
|
28
|
+
*.egg-info/
|
|
29
|
+
.installed.cfg
|
|
30
|
+
*.egg
|
|
31
|
+
MANIFEST
|
|
32
|
+
|
|
33
|
+
# PyInstaller
|
|
34
|
+
*.manifest
|
|
35
|
+
*.spec
|
|
36
|
+
|
|
37
|
+
# Unit test / coverage reports
|
|
38
|
+
htmlcov/
|
|
39
|
+
.tox/
|
|
40
|
+
.nox/
|
|
41
|
+
.coverage
|
|
42
|
+
.coverage.*
|
|
43
|
+
coverage.json
|
|
44
|
+
.cache
|
|
45
|
+
nosetests.xml
|
|
46
|
+
coverage.xml
|
|
47
|
+
*.cover
|
|
48
|
+
.hypothesis/
|
|
49
|
+
.pytest_cache/
|
|
50
|
+
.mypy_cache/
|
|
51
|
+
.dmypy.json
|
|
52
|
+
dmypy.json
|
|
53
|
+
.ruff_cache/
|
|
54
|
+
|
|
55
|
+
# Environments
|
|
56
|
+
.env
|
|
57
|
+
.venv
|
|
58
|
+
env/
|
|
59
|
+
venv/
|
|
60
|
+
ENV/
|
|
61
|
+
env.bak/
|
|
62
|
+
venv.bak/
|
|
63
|
+
.python-version
|
|
64
|
+
|
|
65
|
+
# IDEs - Keep .vscode/ for project settings
|
|
66
|
+
.idea/
|
|
67
|
+
*.swp
|
|
68
|
+
*.swo
|
|
69
|
+
*~
|
|
70
|
+
.project
|
|
71
|
+
.pydevproject
|
|
72
|
+
.settings/
|
|
73
|
+
.vscode/*
|
|
74
|
+
!.vscode/settings.json
|
|
75
|
+
!.vscode/extensions.json
|
|
76
|
+
!.vscode/launch.json
|
|
77
|
+
!.vscode/tasks.json
|
|
78
|
+
|
|
79
|
+
# Logs
|
|
80
|
+
logs
|
|
81
|
+
*.log
|
|
82
|
+
npm-debug.log*
|
|
83
|
+
yarn-debug.log*
|
|
84
|
+
yarn-error.log*
|
|
85
|
+
lerna-debug.log*
|
|
86
|
+
.pnpm-debug.log*
|
|
87
|
+
|
|
88
|
+
# Diagnostic reports (https://nodejs.org/api/report.html)
|
|
89
|
+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
|
90
|
+
|
|
91
|
+
# Runtime data
|
|
92
|
+
pids
|
|
93
|
+
*.pid
|
|
94
|
+
*.seed
|
|
95
|
+
*.pid.lock
|
|
96
|
+
|
|
97
|
+
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
98
|
+
lib-cov
|
|
99
|
+
|
|
100
|
+
# Coverage directory used by tools like istanbul
|
|
101
|
+
coverage
|
|
102
|
+
*.lcov
|
|
103
|
+
|
|
104
|
+
# nyc test coverage
|
|
105
|
+
.nyc_output
|
|
106
|
+
|
|
107
|
+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
|
108
|
+
.grunt
|
|
109
|
+
|
|
110
|
+
# Bower dependency directory (https://bower.io/)
|
|
111
|
+
bower_components
|
|
112
|
+
|
|
113
|
+
# node-waf configuration
|
|
114
|
+
.lock-wscript
|
|
115
|
+
|
|
116
|
+
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
117
|
+
build/Release
|
|
118
|
+
|
|
119
|
+
# Dependency directories
|
|
120
|
+
node_modules/
|
|
121
|
+
jspm_packages/
|
|
122
|
+
|
|
123
|
+
# Snowpack dependency directory (https://snowpack.dev/)
|
|
124
|
+
web_modules/
|
|
125
|
+
|
|
126
|
+
# TypeScript cache
|
|
127
|
+
*.tsbuildinfo
|
|
128
|
+
|
|
129
|
+
# Optional npm cache directory
|
|
130
|
+
.npm
|
|
131
|
+
|
|
132
|
+
# Optional eslint cache
|
|
133
|
+
.eslintcache
|
|
134
|
+
|
|
135
|
+
# Optional stylelint cache
|
|
136
|
+
.stylelintcache
|
|
137
|
+
|
|
138
|
+
# Microbundle cache
|
|
139
|
+
.rpt2_cache/
|
|
140
|
+
.rts2_cache_cjs/
|
|
141
|
+
.rts2_cache_es/
|
|
142
|
+
.rts2_cache_umd/
|
|
143
|
+
|
|
144
|
+
# Optional REPL history
|
|
145
|
+
.node_repl_history
|
|
146
|
+
|
|
147
|
+
# Output of 'npm pack'
|
|
148
|
+
*.tgz
|
|
149
|
+
|
|
150
|
+
# Yarn Integrity file
|
|
151
|
+
.yarn-integrity
|
|
152
|
+
|
|
153
|
+
# dotenv environment variable files
|
|
154
|
+
.env
|
|
155
|
+
.env.development.local
|
|
156
|
+
.env.test.local
|
|
157
|
+
.env.production.local
|
|
158
|
+
.env.local
|
|
159
|
+
|
|
160
|
+
# parcel-bundler cache (https://parceljs.org/)
|
|
161
|
+
.cache
|
|
162
|
+
.parcel-cache
|
|
163
|
+
|
|
164
|
+
# Next.js build output
|
|
165
|
+
.next
|
|
166
|
+
out
|
|
167
|
+
|
|
168
|
+
# Nuxt.js build / generate output
|
|
169
|
+
.nuxt
|
|
170
|
+
dist
|
|
171
|
+
|
|
172
|
+
# Gatsby files
|
|
173
|
+
.cache/
|
|
174
|
+
# Comment in the public line in if your project uses Gatsby and not Next.js
|
|
175
|
+
# https://nextjs.org/blog/next-9-1#public-directory-support
|
|
176
|
+
# public
|
|
177
|
+
|
|
178
|
+
# vuepress build output
|
|
179
|
+
.vuepress/dist
|
|
180
|
+
|
|
181
|
+
# vuepress v2.x temp and cache directory
|
|
182
|
+
.temp
|
|
183
|
+
.cache
|
|
184
|
+
|
|
185
|
+
# Docusaurus cache and generated files
|
|
186
|
+
.docusaurus
|
|
187
|
+
|
|
188
|
+
# MkDocs build output
|
|
189
|
+
site/
|
|
190
|
+
|
|
191
|
+
# Serverless directories
|
|
192
|
+
.serverless/
|
|
193
|
+
|
|
194
|
+
# FuseBox cache
|
|
195
|
+
.fusebox/
|
|
196
|
+
|
|
197
|
+
# DynamoDB Local files
|
|
198
|
+
.dynamodb/
|
|
199
|
+
|
|
200
|
+
# TernJS port file
|
|
201
|
+
.tern-port
|
|
202
|
+
|
|
203
|
+
# Stores VSCode versions used for testing VSCode extensions
|
|
204
|
+
.vscode-test
|
|
205
|
+
|
|
206
|
+
# yarn v2
|
|
207
|
+
.yarn/cache
|
|
208
|
+
.yarn/unplugged
|
|
209
|
+
.yarn/build-state.yml
|
|
210
|
+
.yarn/install-state.gz
|
|
211
|
+
.pnp.*
|
|
212
|
+
|
|
213
|
+
# Sphinx documentation build output
|
|
214
|
+
doc/_build/
|
rite-0.3.0/PKG-INFO
ADDED
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: rite
|
|
3
|
+
Version: 0.3.0
|
|
4
|
+
Summary: Python Utility Package
|
|
5
|
+
Project-URL: Homepage, https://www.pyrites.dev
|
|
6
|
+
Project-URL: Repository, https://github.com/scape-agency/rite
|
|
7
|
+
Project-URL: Documentation, https://github.com/scape-agency/rite/docs
|
|
8
|
+
Author-email: Scape Agency <info@scape.agency>
|
|
9
|
+
License-Expression: MIT
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Keywords: rite
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
|
+
Classifier: Typing :: Typed
|
|
21
|
+
Requires-Python: >=3.11
|
|
22
|
+
Requires-Dist: tzdata>=2024.1; sys_platform == 'win32'
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
|
|
25
|
+
<header>
|
|
26
|
+
<p align="center">
|
|
27
|
+
<img src="res/logo/rite_logo.svg" width="20%" height="20%" alt="rite Logo">
|
|
28
|
+
</p>
|
|
29
|
+
|
|
30
|
+
<h3 align='center'>Python Utility Package</h3>
|
|
31
|
+
<p align="center"><code>rites to write py right</code></p>
|
|
32
|
+
|
|
33
|
+
</header>
|
|
34
|
+
|
|
35
|
+
<br/>
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
<div align="center">
|
|
40
|
+
<a href="https://github.com/scape-agency/rite/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=bug_report.yml">Report a Bug</a>
|
|
41
|
+
|
|
|
42
|
+
<a href="https://github.com/scape-agency/rite/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Afeature-request%2CHelp+wanted+%F0%9F%AA%A7&template=feature_request.yml">Request a Feature</a>
|
|
43
|
+
|
|
|
44
|
+
<a href="https://github.com/scape-agency/rite/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Aquestion&template=question.yml">Ask a Question</a>
|
|
45
|
+
|
|
|
46
|
+
<a href="https://github.com/scape-agency/rite/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Aenhancement&template=suggestion.yml">Make a Suggestion</a>
|
|
47
|
+
|
|
|
48
|
+
<a href="https://github.com/scape-agency/rite/discussions">Start a Discussion</a>
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
<br/>
|
|
52
|
+
|
|
53
|
+
<div align="center">
|
|
54
|
+
|
|
55
|
+
[](LICENSE.txt)
|
|
56
|
+
[](https://www.pyrites.dev)
|
|
57
|
+

|
|
58
|
+

|
|
59
|
+
|
|
60
|
+

|
|
61
|
+

|
|
62
|
+

|
|
63
|
+

|
|
64
|
+

|
|
65
|
+

|
|
66
|
+
|
|
67
|
+
</div>
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
<br/>
|
|
72
|
+
|
|
73
|
+
<details open="open">
|
|
74
|
+
<summary>Table of Contents</summary>
|
|
75
|
+
|
|
76
|
+
- [About](#about)
|
|
77
|
+
- [Features](#features)
|
|
78
|
+
- [Quick Start](#quick-start)
|
|
79
|
+
- [Installation](#installation)
|
|
80
|
+
- [Basic Usage](#basic-usage)
|
|
81
|
+
- [Documentation](#documentation)
|
|
82
|
+
- [Contributing](#contributing)
|
|
83
|
+
- [Authors](#authors)
|
|
84
|
+
- [License](#license)
|
|
85
|
+
- [Disclaimer](#disclaimer)
|
|
86
|
+
|
|
87
|
+
</details>
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## About
|
|
92
|
+
|
|
93
|
+
**rite** is a modern Python utility library with zero external runtime dependencies. Supports Python 3.11 and newer, it provides a comprehensive collection of utilities for cryptography, filesystem operations, text processing, collections, conversions, networking, and more.
|
|
94
|
+
|
|
95
|
+
### Key Features
|
|
96
|
+
|
|
97
|
+
- **Zero Dependencies**: No external runtime dependencies
|
|
98
|
+
- **Type Safe**: Comprehensive type hints, checked with mypy
|
|
99
|
+
- **Well Tested**: 100% line and branch coverage
|
|
100
|
+
- **Modern Python**: Supports Python 3.11, 3.12, 3.13 and 3.14
|
|
101
|
+
- **Modular Design**: Clear module organization with consistent structure
|
|
102
|
+
- **Fully Documented**: Extensive documentation and practical examples
|
|
103
|
+
|
|
104
|
+
### Module Overview
|
|
105
|
+
|
|
106
|
+
| Module | Description |
|
|
107
|
+
| ----------------- | --------------------------------------------------------------------- |
|
|
108
|
+
| **collections** | Buffers, caches (LRU/LFU/TTL), dict/list/set utilities, queues, trees |
|
|
109
|
+
| **conversion** | Type conversions, format transformations, unit conversions |
|
|
110
|
+
| **crypto** | UUID generation, hashing (SHA-256, MD5, BLAKE2), ciphers, random |
|
|
111
|
+
| **diagnostics** | Debugging, error handling, logging, metrics, profiling |
|
|
112
|
+
| **filesystem** | File/folder operations, compression, path utilities, MIME types |
|
|
113
|
+
| **functional** | Composition, currying, decorators, memoization, predicates |
|
|
114
|
+
| **markup** | HTML/XML/Markdown/SVG/iCalendar processing and sanitization |
|
|
115
|
+
| **net** | URLs, HTTP headers, IP checks, SSRF-safe requests, MIME, validation |
|
|
116
|
+
| **numeric** | Math operations, statistics, number formatting |
|
|
117
|
+
| **reflection** | Attributes, inspection, signatures, type checking |
|
|
118
|
+
| **serialization** | JSON, CSV, INI, TOML, pickle serialization |
|
|
119
|
+
| **system** | Environment, platform detection, process management, shell |
|
|
120
|
+
| **temporal** | Date/time utilities, timestamp operations, formatting |
|
|
121
|
+
| **text** | Slug generation, case conversion, sanitization, analysis, search |
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## Quick Start
|
|
126
|
+
|
|
127
|
+
### Installation
|
|
128
|
+
|
|
129
|
+
**From PyPI:**
|
|
130
|
+
|
|
131
|
+
```sh
|
|
132
|
+
pip install rite
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
**Using uv:**
|
|
136
|
+
|
|
137
|
+
```sh
|
|
138
|
+
uv add rite
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
**From Source:**
|
|
142
|
+
|
|
143
|
+
```sh
|
|
144
|
+
git clone https://github.com/scape-agency/rite.git
|
|
145
|
+
cd rite
|
|
146
|
+
uv sync
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
[View on PyPI](https://pypi.org/project/rite/)
|
|
150
|
+
|
|
151
|
+
### Basic Usage
|
|
152
|
+
|
|
153
|
+
```python
|
|
154
|
+
# Cryptography
|
|
155
|
+
from rite.crypto.uuid import uuid_hex
|
|
156
|
+
from rite.crypto.hash import hash_sha256
|
|
157
|
+
|
|
158
|
+
user_id = uuid_hex()
|
|
159
|
+
password_hash = hash_sha256("secure_password")
|
|
160
|
+
|
|
161
|
+
# Filesystem
|
|
162
|
+
from pathlib import Path
|
|
163
|
+
|
|
164
|
+
from rite.filesystem import path_exists
|
|
165
|
+
from rite.filesystem.file import copy_file
|
|
166
|
+
|
|
167
|
+
if path_exists("config.json"):
|
|
168
|
+
copy_file(Path("config.json"), Path("config.backup.json"))
|
|
169
|
+
|
|
170
|
+
# Text Processing
|
|
171
|
+
from rite.text.slug import slugify
|
|
172
|
+
from rite.text.case import to_snake_case
|
|
173
|
+
|
|
174
|
+
slug = slugify("Hello World!") # 'hello-world'
|
|
175
|
+
snake = to_snake_case("helloWorld") # 'hello_world'
|
|
176
|
+
|
|
177
|
+
# Security helpers
|
|
178
|
+
from rite.markup import sanitize_html, sanitize_url
|
|
179
|
+
|
|
180
|
+
safe = sanitize_html('<a href="javascript:x()" onclick="y()">hi</a>')
|
|
181
|
+
href = sanitize_url("https://example.com/a") # '' for unsafe URLs
|
|
182
|
+
|
|
183
|
+
# Collections
|
|
184
|
+
from rite.collections.list import list_unique, list_flatten
|
|
185
|
+
|
|
186
|
+
unique = list_unique([1, 2, 2, 3]) # [1, 2, 3]
|
|
187
|
+
flat = list_flatten([[1, 2], [3, 4]]) # [1, 2, 3, 4]
|
|
188
|
+
|
|
189
|
+
# Serialization
|
|
190
|
+
from rite.serialization.json import json_load, json_dump
|
|
191
|
+
|
|
192
|
+
data = json_load("config.json")
|
|
193
|
+
json_dump("output.json", data, indent=2)
|
|
194
|
+
|
|
195
|
+
# Functional
|
|
196
|
+
from rite.functional.composition import composition_pipe
|
|
197
|
+
|
|
198
|
+
pipeline = composition_pipe(str.strip, str.lower, str.title)
|
|
199
|
+
result = pipeline(" hello world ") # 'Hello World'
|
|
200
|
+
|
|
201
|
+
# System
|
|
202
|
+
from rite.system.platform import platform_is_linux, platform_name
|
|
203
|
+
|
|
204
|
+
if platform_is_linux():
|
|
205
|
+
print(f"Running on {platform_name()}")
|
|
206
|
+
|
|
207
|
+
# Diagnostics
|
|
208
|
+
from rite.diagnostics.profiling import profiling_stopwatch
|
|
209
|
+
|
|
210
|
+
with profiling_stopwatch() as timer:
|
|
211
|
+
# ... your code ...
|
|
212
|
+
pass
|
|
213
|
+
print(f"Elapsed: {timer.elapsed:.3f}s")
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
---
|
|
217
|
+
|
|
218
|
+
## Documentation
|
|
219
|
+
|
|
220
|
+
### User Documentation
|
|
221
|
+
|
|
222
|
+
- **[Getting Started](doc/getting-started.md)** - Quick introduction and module overview
|
|
223
|
+
- **[Installation Guide](doc/installation.md)** - Detailed installation instructions
|
|
224
|
+
- **[Usage Examples](doc/examples.md)** - Practical examples for all modules
|
|
225
|
+
- **[API Reference](https://www.pyrites.dev)** - Complete API documentation
|
|
226
|
+
|
|
227
|
+
### Developer Documentation
|
|
228
|
+
|
|
229
|
+
- **[Contributing Guide](doc/contributing.md)** - How to contribute to Rite
|
|
230
|
+
- **[Development Setup](doc/development/setup.md)** - Set up your development environment
|
|
231
|
+
- **[Code Style Guide](doc/development/code-style.md)** - Code standards and conventions
|
|
232
|
+
- **[Testing Guide](doc/development/testing.md)** - Testing practices and patterns
|
|
233
|
+
- **[Configuration Reference](doc/development/configuration.md)** - Configuration files and settings
|
|
234
|
+
|
|
235
|
+
### AI Agent Documentation
|
|
236
|
+
|
|
237
|
+
- **[AI Instructions](doc/development/ai-instructions.md)** - Guidelines for AI agents and GitHub Copilot
|
|
238
|
+
|
|
239
|
+
### Additional Resources
|
|
240
|
+
|
|
241
|
+
- **[Changelog](CHANGELOG.md)** - Version history and release notes
|
|
242
|
+
- **[Architecture](ARCHITECTURE.txt)** - System architecture overview
|
|
243
|
+
- **[Security Policy](SECURITY.md)** - Security guidelines and reporting
|
|
244
|
+
- **[License](LICENSE)** - MIT License details
|
|
245
|
+
|
|
246
|
+
---
|
|
247
|
+
|
|
248
|
+
## Authors
|
|
249
|
+
|
|
250
|
+
**rite** is an open-source project by **[Scape Agency](https://www.scape.agency "Scape Agency website")**.
|
|
251
|
+
|
|
252
|
+
Scape Agency is a spatial innovation collective that dreams, discovers and designs the everyday of tomorrow. We blend design thinking with emerging technologies to create a brighter perspective for people and planet. Our products and services naturalise technology in liveable and sustainable –scapes that spark the imagination and inspire future generations.
|
|
253
|
+
|
|
254
|
+
- website: [scape.agency](https://www.scape.agency "Scape Agency website")
|
|
255
|
+
- github: [github.com/scape-agency](https://github.com/scape-agency "Scape Agency Github")
|
|
256
|
+
|
|
257
|
+
---
|
|
258
|
+
|
|
259
|
+
## Contributing
|
|
260
|
+
|
|
261
|
+
We'd love for you to contribute and to make **rite** even better than it is today!
|
|
262
|
+
Please refer to the [contribution guidelines](CONTRIBUTING.md) for details on:
|
|
263
|
+
|
|
264
|
+
- Code of conduct
|
|
265
|
+
- Development workflow
|
|
266
|
+
- Code standards
|
|
267
|
+
- Testing requirements
|
|
268
|
+
- Pull request process
|
|
269
|
+
|
|
270
|
+
> Quick start for contributors:
|
|
271
|
+
|
|
272
|
+
```bash
|
|
273
|
+
# Clone the repository
|
|
274
|
+
git clone https://github.com/scape-agency/rite.git
|
|
275
|
+
cd rite
|
|
276
|
+
|
|
277
|
+
# Install dependencies (dev and doc groups)
|
|
278
|
+
uv sync
|
|
279
|
+
|
|
280
|
+
# Install pre-commit hooks
|
|
281
|
+
uv run pre-commit install
|
|
282
|
+
|
|
283
|
+
# Run tests
|
|
284
|
+
make test
|
|
285
|
+
|
|
286
|
+
# Run all checks
|
|
287
|
+
make check
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
---
|
|
291
|
+
|
|
292
|
+
## License
|
|
293
|
+
|
|
294
|
+
Except where otherwise noted, **rite** is licensed under the terms of the [MIT License](https://opensource.org/licenses/MIT "MIT License").
|
|
295
|
+
|
|
296
|
+
---
|
|
297
|
+
|
|
298
|
+
## Disclaimer
|
|
299
|
+
|
|
300
|
+
**THIS SOFTWARE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
|
|
301
|
+
|
|
302
|
+
---
|
|
303
|
+
|
|
304
|
+
<p align="center">
|
|
305
|
+
<b>Made with ♥ by <a href="https://www.scape.agency" target="blank">Scape Agency</a></b><br/>
|
|
306
|
+
<sub>Copyright 2025 Scape Agency. All Rights Reserved</sub>
|
|
307
|
+
</p>
|