rite 0.2.1__tar.gz → 0.2.2__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.2.1 → rite-0.2.2}/PKG-INFO +88 -54
- {rite-0.2.1 → rite-0.2.2}/README.md +86 -53
- {rite-0.2.1 → rite-0.2.2}/pyproject.toml +6 -5
- {rite-0.2.1 → rite-0.2.2}/src/rite/__init__.py +3 -2
- rite-0.2.2/src/rite/__version__.py +40 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/buffer/sliding_window.py +2 -2
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/tree/tree_node.py +1 -1
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/tree/trie.py +4 -12
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/to_bytes.py +4 -8
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/types/types_to_float.py +1 -13
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/types/types_to_int.py +2 -14
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/cipher/cipher_autokey.py +1 -1
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/cipher/cipher_four_square.py +2 -1
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/cipher/cipher_playfair.py +24 -11
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/compress/gzip_uncompress.py +3 -1
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/file/file_size_to_string.py +5 -3
- rite-0.2.2/src/rite/filesystem/file_extension/extension_construct.py +119 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/file_extension/extension_validate.py +15 -5
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/folder/folder_size_to_string.py +2 -2
- rite-0.2.2/src/rite/filesystem/mimetype/mimetype_sniff.py +635 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/mimetype/mimetype_verify.py +15 -4
- {rite-0.2.1 → rite-0.2.2}/src/rite/markup/sanitize/sanitize_url.py +1 -1
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/servers/server_http.py +0 -15
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/servers/server_sqlite.py +4 -24
- rite-0.2.1/src/rite/filesystem/mimetype/mimetype_sniff.py +0 -146
- {rite-0.2.1 → rite-0.2.2}/LICENSE +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/__main__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/buffer/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/buffer/bounded_buffer.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/buffer/circular_buffer.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/buffer/ring_buffer.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/cache/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/cache/lfu_cache.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/cache/lru_cache.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/cache/ttl_cache.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/dict/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/dict/dict_deep_get.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/dict/dict_deep_set.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/dict/dict_filter.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/dict/dict_invert.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/dict/dict_merge.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/list/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/list/list_chunk.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/list/list_flatten.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/list/list_group_by.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/list/list_interleave.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/list/list_partition.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/list/list_unique.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/pattern/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/pattern/object_pool.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/pattern/observer.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/pattern/singleton.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/queue/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/queue/circular_queue.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/queue/deque_wrapper.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/queue/priority_queue.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/set/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/tree/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/tree/binary_tree_node.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/collections/tree/nested_set.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/formats/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/formats/formats_base64_decode.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/formats/formats_base64_encode.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/formats/formats_hex_decode.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/formats/formats_hex_encode.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/formats/formats_json_decode.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/formats/formats_json_encode.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/formats/formats_url_decode.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/formats/formats_url_encode.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/is_protected_type.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/to_bool.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/to_number.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/to_percentage.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/types/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/types/types_to_bool.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/types/types_to_bytes.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/types/types_to_dict.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/types/types_to_list.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/types/types_to_number.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/types/types_to_percentage.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/types/types_to_set.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/types/types_to_str.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/types/types_to_tuple.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/units/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/units/units_length.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/units/units_temperature.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/units/units_time.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/conversion/units/units_weight.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/cipher/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/cipher/cipher_atbash.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/cipher/cipher_baconian.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/cipher/cipher_caesar.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/cipher/cipher_rail_fence.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/cipher/cipher_rot13.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/cipher/cipher_scytale.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/cipher/cipher_transposition.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/cipher/cipher_vigenere.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/cipher/cipher_xor.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/hash/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/hash/hash_blake2b.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/hash/hash_blake2s.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/hash/hash_md5.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/hash/hash_sha1.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/hash/hash_sha256.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/hash/hash_sha384.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/hash/hash_sha3_256.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/hash/hash_sha3_512.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/hash/hash_sha512.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/random/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/random/random_bytes.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/random/random_choice.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/random/random_hex.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/random/random_int.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/random/random_urlsafe.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/uuid/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/uuid/uuid_from_name.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/uuid/uuid_get_version.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/uuid/uuid_hex.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/uuid/uuid_is_random.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/uuid/uuid_is_valid.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/uuid/uuid_random.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/crypto/uuid/uuid_string.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/debugging/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/debugging/debugging_dump.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/debugging/debugging_inspect.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/debugging/debugging_locals.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/debugging/debugging_trace.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/error_handler.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/errors/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/errors/errors_catch.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/errors/errors_format_traceback.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/errors/errors_get_chain.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/errors/errors_retry.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/logger.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/logging/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/logging/logging_structured.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/logging/logging_to_console.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/logging/logging_to_file.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/logging/logging_with_context.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/metrics/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/metrics/metrics_counter.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/metrics/metrics_gauge.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/metrics/metrics_histogram.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/metrics/metrics_timer.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/profiling/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/profiling/profiling_count_calls.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/profiling/profiling_memory.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/profiling/profiling_stopwatch.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/diagnostics/profiling/profiling_timer.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/compress/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/compress/gzip_compress.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/compress/gzip_settings.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/file/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/file/file_copy.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/file/file_copy_multiple.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/file/file_delete.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/file/file_move.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/file/file_read_bytes.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/file/file_read_text.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/file/file_rename.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/file/file_spooled.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/file/file_spooled_settings.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/file/file_write_bytes.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/file/file_write_text.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/file_extension/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/file_extension/extension_normalize.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/file_extension/extension_regex.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/file_name/filename_sanitize.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/file_name/filename_to_date.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/file_name/filename_to_datestring.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/folder/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/folder/folder_content_delete.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/folder/folder_create.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/folder/folder_ensure_exists.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/folder/folder_list_files.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/folder/folder_list_folders.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/folder/folder_size_get.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/mimetype/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/mimetype/mimetype_guess.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/mimetype/mimetype_guess_from_path.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/mimetype/mimetype_match.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/mimetype/mimetype_read_head_bytes.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/mimetype/mimetype_validate.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/path/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/path/path_clean.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/path/path_exists.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/path/path_is_dir.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/path/path_is_file.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/path/path_leaf.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/path/path_safe_join.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/filesystem/path/path_secure.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/composition/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/composition/composition_chain.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/composition/composition_compose.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/composition/composition_pipe.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/currying/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/currying/currying_curry.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/currying/currying_uncurry.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/decorators/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/decorators/decorators_debounce.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/decorators/decorators_deprecated.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/decorators/decorators_once.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/decorators/decorators_throttle.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/memoization/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/memoization/memoization_lru_cache.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/memoization/memoization_memoize.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/partial/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/partial/partial_apply.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/partial/partial_right.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/predicates/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/predicates/predicates_constant.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/predicates/predicates_identity.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/functional/predicates/predicates_negate.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/markup/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/markup/entities/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/markup/entities/entities_decode.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/markup/entities/entities_encode.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/markup/html/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/markup/html/html_clean.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/markup/html/html_escape.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/markup/html/html_strip_tags.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/markup/html/html_unescape.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/markup/markdown/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/markup/markdown/markdown_escape.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/markup/markdown/markdown_to_html.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/markup/sanitize/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/markup/sanitize/sanitize_filename.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/markup/sanitize/sanitize_html.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/markup/xml/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/markup/xml/xml_escape.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/markup/xml/xml_format.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/markup/xml/xml_unescape.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/http/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/http/http_is_method.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/http/http_parse_headers.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/http/http_status_code.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/mime/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/mime/mime_guess_extension.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/mime/mime_guess_type.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/mime/mime_parse.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/request/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/request/request_get.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/request/request_post.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/servers/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/url/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/url/url_build.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/url/url_decode.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/url/url_encode.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/url/url_parse.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/url/url_parse_query.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/validation/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/validation/validation_is_email.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/validation/validation_is_ipv4.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/validation/validation_is_port.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/net/validation/validation_is_url.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/clamp.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/conversion/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/conversion/conversion_from_percentage.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/conversion/conversion_to_decimal.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/conversion/conversion_to_percentage.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/coordinates/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/coordinates/coordinates_from_degree_minute_second.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/coordinates/coordinates_to_degree_minute.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/coordinates/coordinates_to_degree_minute_second.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/float_to_degree_minute.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/float_to_degree_minute_second.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/math/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/math/math_abs.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/math/math_clamp.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/math/math_pow.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/math/math_sign.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/range/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/range/range_in_range.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/range/range_normalize.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/range/range_scale.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/rounding/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/rounding/rounding_ceil.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/rounding/rounding_floor.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/rounding/rounding_round.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/rounding/rounding_trunc.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/statistics/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/statistics/statistics_mean.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/statistics/statistics_median.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/statistics/statistics_min_max.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/statistics/statistics_sum.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/numeric/value_to_decimal.py +0 -0
- /rite-0.2.1/src/rite/__version__.py → /rite-0.2.2/src/rite/py.typed +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/attributes/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/attributes/attributes_del_attr.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/attributes/attributes_get_attr.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/attributes/attributes_has_attr.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/attributes/attributes_set_attr.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/documentation/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/documentation/documentation_get_comments.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/documentation/documentation_get_docstring.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/documentation/documentation_get_file.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/importing/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/importing/importing_load_class.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/importing/importing_load_function.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/importing/importing_load_module.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/inspection/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/inspection/inspection_get_functions.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/inspection/inspection_get_members.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/inspection/inspection_get_methods.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/inspection/inspection_get_source.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/signature/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/signature/signature_get_parameters.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/signature/signature_get_return_annotation.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/signature/signature_get_signature.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/types/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/types/types_is_class.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/types/types_is_function.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/types/types_is_method.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/reflection/types/types_is_module.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/csv/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/csv/csv_detect_delimiter.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/csv/csv_read.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/csv/csv_write.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/ini/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/ini/ini_get.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/ini/ini_read.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/ini/ini_set.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/ini/ini_write.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/json/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/json/json_dump.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/json/json_dumps.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/json/json_load.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/json/json_loads.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/json/json_validate.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/pickle/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/pickle/pickle_dump.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/pickle/pickle_dumps.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/pickle/pickle_load.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/pickle/pickle_loads.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/toml/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/toml/toml_load.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/serialization/toml/toml_loads.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/environment/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/environment/env_delete.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/environment/env_get.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/environment/env_list.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/environment/env_set.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/get_escaped_command_arg.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/path/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/path/path_absolute.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/path/path_exists.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/path/path_is_dir.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/path/path_is_file.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/path/path_join.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/platform/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/platform/platform_architecture.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/platform/platform_is_linux.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/platform/platform_is_macos.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/platform/platform_is_windows.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/platform/platform_name.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/platform/platform_python_version.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/process/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/process/process_call.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/process/process_check_output.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/process/process_run.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/run_command.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/shell/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/shell/shell_escape.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/shell/shell_join.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/system/shell/shell_split.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/calendar/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/calendar/calendar_is_leap_year.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/calendar/calendar_month_days.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/calendar/calendar_weekday.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/datetime/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/datetime/datetime_format.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/datetime/datetime_from_timestamp.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/datetime/datetime_now.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/datetime/datetime_parse.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/datetime/datetime_to_iso.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/datetime/datetime_to_timestamp.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/duration/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/duration/duration_from_days.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/duration/duration_from_hours.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/duration/duration_from_minutes.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/duration/duration_from_seconds.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/duration/duration_to_seconds.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/formatting/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/formatting/format_human_readable.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/formatting/format_iso8601.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/formatting/format_rfc3339.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/timezone/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/timezone/timezone_convert.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/timezone/timezone_get.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/temporal/timezone/timezone_list.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/analysis/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/analysis/average_word_length.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/analysis/char_frequency.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/analysis/is_palindrome.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/analysis/longest_word.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/analysis/shortest_word.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/analysis/word_count.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/case_to_acronym.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/case_to_alphabet_position.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/case_to_alternate_character_deletion.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/case_to_alternate_uppercase_lowercase.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/case_to_diagonal_text.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/case_to_first_letter_of_each_word.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/case_to_leet_speak.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/case_to_pig_latin.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/case_to_random.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/case_to_slug.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/case_to_spinal.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/case_to_spongebob_meme.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/case_to_spongebob_mocking.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/case_to_swap.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/case_to_upper_consonant.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/case_to_upper_first_letter.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/case_to_upper_vowel.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/case_to_upside_down.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/case_to_zalgo_text.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/to_camel_case.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/to_constant_case.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/to_dot_case.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/to_kebab_case.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/to_lower_case.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/to_pascal_case.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/to_path_case.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/to_sentence_case.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/to_snake_case.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/to_title_case.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/case/to_upper_case.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/case_to_abbreviation.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/case_to_ascii_value.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/case_to_braille_transcription.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/case_to_double_every_second_word.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/case_to_emoji.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/case_to_hexadecimal.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/case_to_nato_phonetic_alphabet.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/case_to_numeric_words_to_numbers.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/case_to_numeronym.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/case_to_rainbow.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/case_to_substitute_numbers_with_words.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/case_to_vowel_concatenation.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/case_to_vowel_removal.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/converter_string_to_binary.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/converter_string_to_bool.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/converter_string_to_datetime.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/converter_string_to_decimal.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/converter_string_to_float.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/converter_string_to_int.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/converters/string_clean.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/manipulation/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/manipulation/text_pad_left.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/manipulation/text_pad_right.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/manipulation/text_truncate.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/manipulation/text_wrap.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/morse/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/morse/morse_decode.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/morse/morse_encode.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/random/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/random/random_alphanumeric.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/random/random_hex.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/random/random_string.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/sanitize/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/sanitize/sanitize_clean.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/sanitize/sanitize_text.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/search/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/search/text_contains.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/search/text_count.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/search/text_ends_with.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/search/text_find.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/search/text_starts_with.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/slug/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/slug/slug_add_prefix.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/slug/slug_add_suffix.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/slug/slug_is_valid.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/slug/slug_unique.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/slug/slugify.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/validation/__init__.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/validation/text_is_alpha.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/validation/text_is_alphanumeric.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/validation/text_is_email.py +0 -0
- {rite-0.2.1 → rite-0.2.2}/src/rite/text/validation/text_is_numeric.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rite
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Python Utility Package
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -16,6 +16,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.14
|
|
18
18
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
|
+
Classifier: Typing :: Typed
|
|
19
20
|
Project-URL: Documentation, https://github.com/scape-agency/rite/docs
|
|
20
21
|
Project-URL: Homepage, https://www.pyrites.dev
|
|
21
22
|
Project-URL: Repository, https://github.com/scape-agency/rite
|
|
@@ -42,7 +43,7 @@ Description-Content-Type: text/markdown
|
|
|
42
43
|
|
|
|
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>
|
|
44
45
|
|
|
|
45
|
-
<a href="https://github.com/scape-agency/rite/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Aenhancement&template=suggestion.yml">Make a
|
|
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>
|
|
46
47
|
|
|
|
47
48
|
<a href="https://github.com/scape-agency/rite/discussions">Start a Discussion</a>
|
|
48
49
|
</div>
|
|
@@ -72,16 +73,16 @@ Description-Content-Type: text/markdown
|
|
|
72
73
|
<details open="open">
|
|
73
74
|
<summary>Table of Contents</summary>
|
|
74
75
|
|
|
75
|
-
-
|
|
76
|
-
-
|
|
77
|
-
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
-
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
-
|
|
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)
|
|
85
86
|
|
|
86
87
|
</details>
|
|
87
88
|
|
|
@@ -89,28 +90,35 @@ Description-Content-Type: text/markdown
|
|
|
89
90
|
|
|
90
91
|
## About
|
|
91
92
|
|
|
92
|
-
**rite** is a modern Python utility library with zero external runtime dependencies. Built with Python 3.
|
|
93
|
+
**rite** is a modern Python utility library with zero external runtime dependencies. Built with Python 3.12+ in mind, it provides a comprehensive collection of utilities for cryptography, filesystem operations, text processing, collections, conversions, networking, and more.
|
|
93
94
|
|
|
94
95
|
### Key Features
|
|
95
96
|
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
100
|
-
-
|
|
101
|
-
-
|
|
97
|
+
- **Zero Dependencies**: No external runtime dependencies
|
|
98
|
+
- **Type Safe**: Comprehensive type hints with Python 3.12+ syntax
|
|
99
|
+
- **Well Tested**: >99% code coverage with extensive test suite
|
|
100
|
+
- **Modern Python**: Supports Python 3.12, 3.13
|
|
101
|
+
- **Modular Design**: Clear module organization with consistent structure
|
|
102
|
+
- **Fully Documented**: Extensive documentation and practical examples
|
|
102
103
|
|
|
103
104
|
### Module Overview
|
|
104
105
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
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 processing, entity encoding, sanitization |
|
|
115
|
+
| **net** | HTTP utilities, MIME types, URL encoding, request helpers |
|
|
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 |
|
|
114
122
|
|
|
115
123
|
---
|
|
116
124
|
|
|
@@ -161,13 +169,39 @@ from rite.text.slug import slug_generate
|
|
|
161
169
|
from rite.text.case import case_to_snake
|
|
162
170
|
|
|
163
171
|
slug = slug_generate("Hello World!") # 'hello-world'
|
|
164
|
-
snake = case_to_snake("helloWorld")
|
|
172
|
+
snake = case_to_snake("helloWorld") # 'hello_world'
|
|
165
173
|
|
|
166
174
|
# Collections
|
|
167
175
|
from rite.collections.list import list_unique, list_flatten
|
|
168
176
|
|
|
169
|
-
unique = list_unique([1, 2, 2, 3])
|
|
170
|
-
flat = list_flatten([[1, 2], [3, 4]])
|
|
177
|
+
unique = list_unique([1, 2, 2, 3]) # [1, 2, 3]
|
|
178
|
+
flat = list_flatten([[1, 2], [3, 4]]) # [1, 2, 3, 4]
|
|
179
|
+
|
|
180
|
+
# Serialization
|
|
181
|
+
from rite.serialization.json import json_load, json_dump
|
|
182
|
+
|
|
183
|
+
data = json_load("config.json")
|
|
184
|
+
json_dump(data, "output.json", indent=2)
|
|
185
|
+
|
|
186
|
+
# Functional
|
|
187
|
+
from rite.functional.composition import composition_pipe
|
|
188
|
+
|
|
189
|
+
pipeline = composition_pipe(str.strip, str.lower, str.title)
|
|
190
|
+
result = pipeline(" hello world ") # 'Hello World'
|
|
191
|
+
|
|
192
|
+
# System
|
|
193
|
+
from rite.system.platform import platform_is_linux, platform_name
|
|
194
|
+
|
|
195
|
+
if platform_is_linux():
|
|
196
|
+
print(f"Running on {platform_name()}")
|
|
197
|
+
|
|
198
|
+
# Diagnostics
|
|
199
|
+
from rite.diagnostics.profiling import profiling_stopwatch
|
|
200
|
+
|
|
201
|
+
with profiling_stopwatch() as timer:
|
|
202
|
+
# ... your code ...
|
|
203
|
+
pass
|
|
204
|
+
print(f"Elapsed: {timer.elapsed:.3f}s")
|
|
171
205
|
```
|
|
172
206
|
|
|
173
207
|
---
|
|
@@ -176,29 +210,29 @@ flat = list_flatten([[1, 2], [3, 4]]) # [1, 2, 3, 4]
|
|
|
176
210
|
|
|
177
211
|
### User Documentation
|
|
178
212
|
|
|
179
|
-
-
|
|
180
|
-
-
|
|
181
|
-
-
|
|
182
|
-
-
|
|
213
|
+
- **[Getting Started](doc/getting-started.md)** - Quick introduction and module overview
|
|
214
|
+
- **[Installation Guide](doc/installation.md)** - Detailed installation instructions
|
|
215
|
+
- **[Usage Examples](doc/examples.md)** - Practical examples for all modules
|
|
216
|
+
- **[API Reference](https://www.pyrites.dev)** - Complete API documentation
|
|
183
217
|
|
|
184
218
|
### Developer Documentation
|
|
185
219
|
|
|
186
|
-
-
|
|
187
|
-
-
|
|
188
|
-
-
|
|
189
|
-
-
|
|
190
|
-
-
|
|
220
|
+
- **[Contributing Guide](doc/contributing.md)** - How to contribute to Rite
|
|
221
|
+
- **[Development Setup](doc/development/setup.md)** - Set up your development environment
|
|
222
|
+
- **[Code Style Guide](doc/development/code-style.md)** - Code standards and conventions
|
|
223
|
+
- **[Testing Guide](doc/development/testing.md)** - Testing practices and patterns
|
|
224
|
+
- **[Configuration Reference](doc/development/configuration.md)** - Configuration files and settings
|
|
191
225
|
|
|
192
226
|
### AI Agent Documentation
|
|
193
227
|
|
|
194
|
-
-
|
|
228
|
+
- **[AI Instructions](doc/development/ai-instructions.md)** - Guidelines for AI agents and GitHub Copilot
|
|
195
229
|
|
|
196
230
|
### Additional Resources
|
|
197
231
|
|
|
198
|
-
-
|
|
199
|
-
-
|
|
200
|
-
-
|
|
201
|
-
-
|
|
232
|
+
- **[Changelog](CHANGELOG.md)** - Version history and release notes
|
|
233
|
+
- **[Architecture](ARCHITECTURE.txt)** - System architecture overview
|
|
234
|
+
- **[Security Policy](SECURITY.md)** - Security guidelines and reporting
|
|
235
|
+
- **[License](LICENSE)** - MIT License details
|
|
202
236
|
|
|
203
237
|
---
|
|
204
238
|
|
|
@@ -208,8 +242,8 @@ flat = list_flatten([[1, 2], [3, 4]]) # [1, 2, 3, 4]
|
|
|
208
242
|
|
|
209
243
|
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.
|
|
210
244
|
|
|
211
|
-
-
|
|
212
|
-
-
|
|
245
|
+
- website: [scape.agency](https://www.scape.agency "Scape Agency website")
|
|
246
|
+
- github: [github.com/scape-agency](https://github.com/scape-agency "Scape Agency Github")
|
|
213
247
|
|
|
214
248
|
---
|
|
215
249
|
|
|
@@ -218,11 +252,11 @@ Scape Agency is a spatial innovation collective that dreams, discovers and desig
|
|
|
218
252
|
We'd love for you to contribute and to make **rite** even better than it is today!
|
|
219
253
|
Please refer to the [contribution guidelines](CONTRIBUTING.md) for details on:
|
|
220
254
|
|
|
221
|
-
-
|
|
222
|
-
-
|
|
223
|
-
-
|
|
224
|
-
-
|
|
225
|
-
-
|
|
255
|
+
- Code of conduct
|
|
256
|
+
- Development workflow
|
|
257
|
+
- Code standards
|
|
258
|
+
- Testing requirements
|
|
259
|
+
- Pull request process
|
|
226
260
|
|
|
227
261
|
> Quick start for contributors:
|
|
228
262
|
|
|
@@ -259,7 +293,7 @@ Except where otherwise noted, **rite** is licensed under the terms of the [MIT L
|
|
|
259
293
|
---
|
|
260
294
|
|
|
261
295
|
<p align="center">
|
|
262
|
-
<b>Made with ♥ by <a href="https://www.scape.agency" target="
|
|
263
|
-
<sub>Copyright
|
|
296
|
+
<b>Made with ♥ by <a href="https://www.scape.agency" target="blank">Scape Agency</a></b><br/>
|
|
297
|
+
<sub>Copyright 2025 Scape Agency. All Rights Reserved</sub>
|
|
264
298
|
</p>
|
|
265
299
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
|
20
20
|
<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>
|
|
21
21
|
|
|
|
22
|
-
<a href="https://github.com/scape-agency/rite/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Aenhancement&template=suggestion.yml">Make a
|
|
22
|
+
<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>
|
|
23
23
|
|
|
|
24
24
|
<a href="https://github.com/scape-agency/rite/discussions">Start a Discussion</a>
|
|
25
25
|
</div>
|
|
@@ -49,16 +49,16 @@
|
|
|
49
49
|
<details open="open">
|
|
50
50
|
<summary>Table of Contents</summary>
|
|
51
51
|
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
-
|
|
61
|
-
-
|
|
52
|
+
- [About](#about)
|
|
53
|
+
- [Features](#features)
|
|
54
|
+
- [Quick Start](#quick-start)
|
|
55
|
+
- [Installation](#installation)
|
|
56
|
+
- [Basic Usage](#basic-usage)
|
|
57
|
+
- [Documentation](#documentation)
|
|
58
|
+
- [Contributing](#contributing)
|
|
59
|
+
- [Authors](#authors)
|
|
60
|
+
- [License](#license)
|
|
61
|
+
- [Disclaimer](#disclaimer)
|
|
62
62
|
|
|
63
63
|
</details>
|
|
64
64
|
|
|
@@ -66,28 +66,35 @@
|
|
|
66
66
|
|
|
67
67
|
## About
|
|
68
68
|
|
|
69
|
-
**rite** is a modern Python utility library with zero external runtime dependencies. Built with Python 3.
|
|
69
|
+
**rite** is a modern Python utility library with zero external runtime dependencies. Built with Python 3.12+ in mind, it provides a comprehensive collection of utilities for cryptography, filesystem operations, text processing, collections, conversions, networking, and more.
|
|
70
70
|
|
|
71
71
|
### Key Features
|
|
72
72
|
|
|
73
|
-
-
|
|
74
|
-
-
|
|
75
|
-
-
|
|
76
|
-
-
|
|
77
|
-
-
|
|
78
|
-
-
|
|
73
|
+
- **Zero Dependencies**: No external runtime dependencies
|
|
74
|
+
- **Type Safe**: Comprehensive type hints with Python 3.12+ syntax
|
|
75
|
+
- **Well Tested**: >99% code coverage with extensive test suite
|
|
76
|
+
- **Modern Python**: Supports Python 3.12, 3.13
|
|
77
|
+
- **Modular Design**: Clear module organization with consistent structure
|
|
78
|
+
- **Fully Documented**: Extensive documentation and practical examples
|
|
79
79
|
|
|
80
80
|
### Module Overview
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
82
|
+
| Module | Description |
|
|
83
|
+
|--------|-------------|
|
|
84
|
+
| **collections** | Buffers, caches (LRU/LFU/TTL), dict/list/set utilities, queues, trees |
|
|
85
|
+
| **conversion** | Type conversions, format transformations, unit conversions |
|
|
86
|
+
| **crypto** | UUID generation, hashing (SHA-256, MD5, BLAKE2), ciphers, random |
|
|
87
|
+
| **diagnostics** | Debugging, error handling, logging, metrics, profiling |
|
|
88
|
+
| **filesystem** | File/folder operations, compression, path utilities, MIME types |
|
|
89
|
+
| **functional** | Composition, currying, decorators, memoization, predicates |
|
|
90
|
+
| **markup** | HTML/XML/Markdown processing, entity encoding, sanitization |
|
|
91
|
+
| **net** | HTTP utilities, MIME types, URL encoding, request helpers |
|
|
92
|
+
| **numeric** | Math operations, statistics, number formatting |
|
|
93
|
+
| **reflection** | Attributes, inspection, signatures, type checking |
|
|
94
|
+
| **serialization** | JSON, CSV, INI, TOML, pickle serialization |
|
|
95
|
+
| **system** | Environment, platform detection, process management, shell |
|
|
96
|
+
| **temporal** | Date/time utilities, timestamp operations, formatting |
|
|
97
|
+
| **text** | Slug generation, case conversion, sanitization, analysis, search |
|
|
91
98
|
|
|
92
99
|
---
|
|
93
100
|
|
|
@@ -138,13 +145,39 @@ from rite.text.slug import slug_generate
|
|
|
138
145
|
from rite.text.case import case_to_snake
|
|
139
146
|
|
|
140
147
|
slug = slug_generate("Hello World!") # 'hello-world'
|
|
141
|
-
snake = case_to_snake("helloWorld")
|
|
148
|
+
snake = case_to_snake("helloWorld") # 'hello_world'
|
|
142
149
|
|
|
143
150
|
# Collections
|
|
144
151
|
from rite.collections.list import list_unique, list_flatten
|
|
145
152
|
|
|
146
|
-
unique = list_unique([1, 2, 2, 3])
|
|
147
|
-
flat = list_flatten([[1, 2], [3, 4]])
|
|
153
|
+
unique = list_unique([1, 2, 2, 3]) # [1, 2, 3]
|
|
154
|
+
flat = list_flatten([[1, 2], [3, 4]]) # [1, 2, 3, 4]
|
|
155
|
+
|
|
156
|
+
# Serialization
|
|
157
|
+
from rite.serialization.json import json_load, json_dump
|
|
158
|
+
|
|
159
|
+
data = json_load("config.json")
|
|
160
|
+
json_dump(data, "output.json", indent=2)
|
|
161
|
+
|
|
162
|
+
# Functional
|
|
163
|
+
from rite.functional.composition import composition_pipe
|
|
164
|
+
|
|
165
|
+
pipeline = composition_pipe(str.strip, str.lower, str.title)
|
|
166
|
+
result = pipeline(" hello world ") # 'Hello World'
|
|
167
|
+
|
|
168
|
+
# System
|
|
169
|
+
from rite.system.platform import platform_is_linux, platform_name
|
|
170
|
+
|
|
171
|
+
if platform_is_linux():
|
|
172
|
+
print(f"Running on {platform_name()}")
|
|
173
|
+
|
|
174
|
+
# Diagnostics
|
|
175
|
+
from rite.diagnostics.profiling import profiling_stopwatch
|
|
176
|
+
|
|
177
|
+
with profiling_stopwatch() as timer:
|
|
178
|
+
# ... your code ...
|
|
179
|
+
pass
|
|
180
|
+
print(f"Elapsed: {timer.elapsed:.3f}s")
|
|
148
181
|
```
|
|
149
182
|
|
|
150
183
|
---
|
|
@@ -153,29 +186,29 @@ flat = list_flatten([[1, 2], [3, 4]]) # [1, 2, 3, 4]
|
|
|
153
186
|
|
|
154
187
|
### User Documentation
|
|
155
188
|
|
|
156
|
-
-
|
|
157
|
-
-
|
|
158
|
-
-
|
|
159
|
-
-
|
|
189
|
+
- **[Getting Started](doc/getting-started.md)** - Quick introduction and module overview
|
|
190
|
+
- **[Installation Guide](doc/installation.md)** - Detailed installation instructions
|
|
191
|
+
- **[Usage Examples](doc/examples.md)** - Practical examples for all modules
|
|
192
|
+
- **[API Reference](https://www.pyrites.dev)** - Complete API documentation
|
|
160
193
|
|
|
161
194
|
### Developer Documentation
|
|
162
195
|
|
|
163
|
-
-
|
|
164
|
-
-
|
|
165
|
-
-
|
|
166
|
-
-
|
|
167
|
-
-
|
|
196
|
+
- **[Contributing Guide](doc/contributing.md)** - How to contribute to Rite
|
|
197
|
+
- **[Development Setup](doc/development/setup.md)** - Set up your development environment
|
|
198
|
+
- **[Code Style Guide](doc/development/code-style.md)** - Code standards and conventions
|
|
199
|
+
- **[Testing Guide](doc/development/testing.md)** - Testing practices and patterns
|
|
200
|
+
- **[Configuration Reference](doc/development/configuration.md)** - Configuration files and settings
|
|
168
201
|
|
|
169
202
|
### AI Agent Documentation
|
|
170
203
|
|
|
171
|
-
-
|
|
204
|
+
- **[AI Instructions](doc/development/ai-instructions.md)** - Guidelines for AI agents and GitHub Copilot
|
|
172
205
|
|
|
173
206
|
### Additional Resources
|
|
174
207
|
|
|
175
|
-
-
|
|
176
|
-
-
|
|
177
|
-
-
|
|
178
|
-
-
|
|
208
|
+
- **[Changelog](CHANGELOG.md)** - Version history and release notes
|
|
209
|
+
- **[Architecture](ARCHITECTURE.txt)** - System architecture overview
|
|
210
|
+
- **[Security Policy](SECURITY.md)** - Security guidelines and reporting
|
|
211
|
+
- **[License](LICENSE)** - MIT License details
|
|
179
212
|
|
|
180
213
|
---
|
|
181
214
|
|
|
@@ -185,8 +218,8 @@ flat = list_flatten([[1, 2], [3, 4]]) # [1, 2, 3, 4]
|
|
|
185
218
|
|
|
186
219
|
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.
|
|
187
220
|
|
|
188
|
-
-
|
|
189
|
-
-
|
|
221
|
+
- website: [scape.agency](https://www.scape.agency "Scape Agency website")
|
|
222
|
+
- github: [github.com/scape-agency](https://github.com/scape-agency "Scape Agency Github")
|
|
190
223
|
|
|
191
224
|
---
|
|
192
225
|
|
|
@@ -195,11 +228,11 @@ Scape Agency is a spatial innovation collective that dreams, discovers and desig
|
|
|
195
228
|
We'd love for you to contribute and to make **rite** even better than it is today!
|
|
196
229
|
Please refer to the [contribution guidelines](CONTRIBUTING.md) for details on:
|
|
197
230
|
|
|
198
|
-
-
|
|
199
|
-
-
|
|
200
|
-
-
|
|
201
|
-
-
|
|
202
|
-
-
|
|
231
|
+
- Code of conduct
|
|
232
|
+
- Development workflow
|
|
233
|
+
- Code standards
|
|
234
|
+
- Testing requirements
|
|
235
|
+
- Pull request process
|
|
203
236
|
|
|
204
237
|
> Quick start for contributors:
|
|
205
238
|
|
|
@@ -236,6 +269,6 @@ Except where otherwise noted, **rite** is licensed under the terms of the [MIT L
|
|
|
236
269
|
---
|
|
237
270
|
|
|
238
271
|
<p align="center">
|
|
239
|
-
<b>Made with ♥ by <a href="https://www.scape.agency" target="
|
|
240
|
-
<sub>Copyright
|
|
272
|
+
<b>Made with ♥ by <a href="https://www.scape.agency" target="blank">Scape Agency</a></b><br/>
|
|
273
|
+
<sub>Copyright 2025 Scape Agency. All Rights Reserved</sub>
|
|
241
274
|
</p>
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
[tool.poetry]
|
|
9
9
|
name = "rite"
|
|
10
|
-
version = "0.2.
|
|
10
|
+
version = "0.2.2"
|
|
11
11
|
description = "Python Utility Package"
|
|
12
12
|
authors = ["Scape Agency <info@scape.agency>"]
|
|
13
13
|
license = "MIT License"
|
|
@@ -21,13 +21,16 @@ classifiers = [
|
|
|
21
21
|
"Intended Audience :: Developers",
|
|
22
22
|
"License :: OSI Approved :: MIT License",
|
|
23
23
|
"Programming Language :: Python :: 3.12",
|
|
24
|
+
"Programming Language :: Python :: 3.13",
|
|
24
25
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
26
|
+
"Typing :: Typed",
|
|
25
27
|
]
|
|
26
28
|
include = [
|
|
27
29
|
"src/rite/**",
|
|
30
|
+
"src/rite/py.typed",
|
|
28
31
|
"README.md",
|
|
29
32
|
"LICENSE",
|
|
30
|
-
"docs/**",
|
|
33
|
+
"docs/**", # Include documentation in the package
|
|
31
34
|
]
|
|
32
35
|
packages = [{ include = "rite", from = "src" }]
|
|
33
36
|
|
|
@@ -159,10 +162,8 @@ commands = ["mypy src/"]
|
|
|
159
162
|
|
|
160
163
|
[tool.black]
|
|
161
164
|
line-length = 79
|
|
162
|
-
target-version = ["
|
|
165
|
+
target-version = ["py312", "py313"]
|
|
163
166
|
extend-exclude = '(\.eggs|\.git|\.hg|\.mypy_cache|\.tox|\.venv|_build|buck-out|build|dist|htmlcov|bup|wip)'
|
|
164
|
-
# Ensure files end with exactly one newline
|
|
165
|
-
ensure-newline = true
|
|
166
167
|
|
|
167
168
|
|
|
168
169
|
# =============================================================================
|
|
@@ -51,18 +51,18 @@ from . import (
|
|
|
51
51
|
temporal,
|
|
52
52
|
text,
|
|
53
53
|
)
|
|
54
|
+
from .__version__ import __version__
|
|
54
55
|
|
|
55
56
|
# =============================================================================
|
|
56
57
|
# Information
|
|
57
58
|
# =============================================================================
|
|
58
59
|
|
|
59
60
|
__author__ = "Lars van Vianen"
|
|
60
|
-
__copyright__ = "Copyright
|
|
61
|
+
__copyright__ = "Copyright 2025, Scape Agency"
|
|
61
62
|
__credits__ = [
|
|
62
63
|
"Lars van Vianen",
|
|
63
64
|
]
|
|
64
65
|
__license__ = "MIT License"
|
|
65
|
-
__version__ = "0.1.2"
|
|
66
66
|
__maintainer__ = "Scape Agency"
|
|
67
67
|
__email__ = "info@scape.agency"
|
|
68
68
|
__status__ = "Alpha"
|
|
@@ -73,6 +73,7 @@ __status__ = "Alpha"
|
|
|
73
73
|
# =============================================================================
|
|
74
74
|
|
|
75
75
|
__all__: list[str] = [
|
|
76
|
+
"__version__",
|
|
76
77
|
"text",
|
|
77
78
|
"numeric",
|
|
78
79
|
"temporal",
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# =============================================================================
|
|
2
|
+
# Docstring
|
|
3
|
+
# =============================================================================
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
Version Information
|
|
7
|
+
===================
|
|
8
|
+
|
|
9
|
+
Single source of truth for package version.
|
|
10
|
+
|
|
11
|
+
The version is read from package metadata when installed,
|
|
12
|
+
with a fallback for development environments.
|
|
13
|
+
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
# =============================================================================
|
|
17
|
+
# Imports
|
|
18
|
+
# =============================================================================
|
|
19
|
+
|
|
20
|
+
# Import | Future
|
|
21
|
+
from __future__ import annotations
|
|
22
|
+
|
|
23
|
+
# Import | Standard Library
|
|
24
|
+
from importlib.metadata import PackageNotFoundError, version
|
|
25
|
+
|
|
26
|
+
# =============================================================================
|
|
27
|
+
# Version
|
|
28
|
+
# =============================================================================
|
|
29
|
+
|
|
30
|
+
try:
|
|
31
|
+
__version__ = version("rite")
|
|
32
|
+
except PackageNotFoundError:
|
|
33
|
+
# Package is not installed (development mode)
|
|
34
|
+
__version__ = "0.2.2" # Keep in sync with pyproject.toml
|
|
35
|
+
|
|
36
|
+
# =============================================================================
|
|
37
|
+
# Exports
|
|
38
|
+
# =============================================================================
|
|
39
|
+
|
|
40
|
+
__all__: list[str] = ["__version__"]
|
|
@@ -146,7 +146,7 @@ class SlidingWindow:
|
|
|
146
146
|
"""
|
|
147
147
|
if not self._window:
|
|
148
148
|
return None
|
|
149
|
-
return sum(self._window) / len(self._window)
|
|
149
|
+
return float(sum(self._window)) / len(self._window)
|
|
150
150
|
|
|
151
151
|
def moving_sum(self) -> float | None:
|
|
152
152
|
"""
|
|
@@ -159,7 +159,7 @@ class SlidingWindow:
|
|
|
159
159
|
"""
|
|
160
160
|
if not self._window:
|
|
161
161
|
return None
|
|
162
|
-
return sum(self._window)
|
|
162
|
+
return float(sum(self._window))
|
|
163
163
|
|
|
164
164
|
def moving_max(self) -> Any | None:
|
|
165
165
|
"""
|
|
@@ -148,16 +148,13 @@ class Trie:
|
|
|
148
148
|
|
|
149
149
|
def _delete_helper(node: TrieNode, word: str, index: int) -> bool:
|
|
150
150
|
if index == len(word):
|
|
151
|
-
|
|
152
|
-
return False
|
|
151
|
+
# Word exists (verified by search() call below)
|
|
153
152
|
node.is_end_of_word = False
|
|
154
153
|
node.value = None
|
|
155
154
|
return len(node.children) == 0
|
|
156
155
|
|
|
157
156
|
char = word[index]
|
|
158
|
-
|
|
159
|
-
return False
|
|
160
|
-
|
|
157
|
+
# Character exists (verified by search() call below)
|
|
161
158
|
child = node.children[char]
|
|
162
159
|
should_delete_child = _delete_helper(child, word, index + 1)
|
|
163
160
|
|
|
@@ -190,7 +187,7 @@ class Trie:
|
|
|
190
187
|
if node is None:
|
|
191
188
|
return []
|
|
192
189
|
|
|
193
|
-
words = []
|
|
190
|
+
words: list[str] = []
|
|
194
191
|
self._collect_words(node, prefix, words)
|
|
195
192
|
return words
|
|
196
193
|
|
|
@@ -207,7 +204,7 @@ class Trie:
|
|
|
207
204
|
list[str]: All words in the trie.
|
|
208
205
|
|
|
209
206
|
"""
|
|
210
|
-
words = []
|
|
207
|
+
words: list[str] = []
|
|
211
208
|
self._collect_words(self.root, "", words)
|
|
212
209
|
return words
|
|
213
210
|
|
|
@@ -271,8 +268,3 @@ __all__: list[str] = [
|
|
|
271
268
|
"Trie",
|
|
272
269
|
"TrieNode",
|
|
273
270
|
]
|
|
274
|
-
|
|
275
|
-
__all__: list[str] = [
|
|
276
|
-
"Trie",
|
|
277
|
-
"TrieNode",
|
|
278
|
-
]
|
|
@@ -89,21 +89,17 @@ def to_bytes(
|
|
|
89
89
|
if callable(to_b):
|
|
90
90
|
return to_b()
|
|
91
91
|
|
|
92
|
-
# Paths:
|
|
92
|
+
# Paths and strings: os.fspath handles both PathLike and str
|
|
93
93
|
try:
|
|
94
94
|
fspath = os.fspath(content)
|
|
95
95
|
if isinstance(fspath, bytes):
|
|
96
96
|
return fspath
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
# fspath is str (either from PathLike or direct str input)
|
|
98
|
+
return fspath.encode(encoding, errors)
|
|
99
99
|
except TypeError:
|
|
100
|
-
# not PathLike;
|
|
100
|
+
# not PathLike or str; convert to string first
|
|
101
101
|
pass
|
|
102
102
|
|
|
103
|
-
# Strings & general objects
|
|
104
|
-
if isinstance(content, str):
|
|
105
|
-
return content.encode(encoding, errors)
|
|
106
|
-
|
|
107
103
|
return str(content).encode(encoding, errors)
|
|
108
104
|
|
|
109
105
|
|