Ncert-learn

Latest version: v5.5.7

Safety actively analyzes 723144 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

4.9.0

Added

Mathematical Functions
- **trigonometric_sine**: Computes the sine of a given angle.
- **trigonometric_cosine**: Computes the cosine of a given angle.
- **trigonometric_tangent**: Computes the tangent of a given angle.
- **trigonometric_inverse_sine**: Computes the inverse sine (arcsin) of a given value.
- **trigonometric_inverse_cosine**: Computes the inverse cosine (arccos) of a given value.
- **trigonometric_inverse_tangent**: Computes the inverse tangent (arctan) of a given value.
- **quadratic_roots**: Solves a quadratic equation \(ax^2 + bx + c = 0\) and returns its roots.
- **power**: Computes the power of a number raised to the given exponent.
- **logarithm**: Computes the logarithm of a number with a given base.
- **factorial**: Computes the factorial of a number.
- **gcd**: Computes the greatest common divisor of two numbers.
- **lcm**: Computes the least common multiple of two numbers.
- **binomial_coefficient**: Computes the binomial coefficient (n choose k).
- **derivative**: Computes the derivative of a given function.
- **definite_integral**: Computes the definite integral of a given function.
- **series_sum**: Computes the sum of a series.
- **area_of_circle**: Computes the area of a circle given its radius.
- **area_of_triangle**: Computes the area of a triangle given its base and height.
- **area_of_rectangle**: Computes the area of a rectangle given its length and width.
- **volume_of_sphere**: Computes the volume of a sphere given its radius.
- **volume_of_cylinder**: Computes the volume of a cylinder given its radius and height.

Number Theory Functions
- **is_prime**: Checks if a number is prime.
- **prime_factors**: Computes the prime factors of a number.
- **fibonacci**: Computes the Fibonacci sequence up to a given number.
- **perfect_number**: Checks if a number is a perfect number.
- **is_palindrome**: Checks if a number is a palindrome.
- **sum_of_divisors**: Computes the sum of divisors of a given number.
- **is_abundant**: Checks if a number is an abundant number.
- **is_deficient**: Checks if a number is a deficient number.
- **triangular_number**: Checks if a number is a triangular number.
- **is_square_number**: Checks if a number is a perfect square.
- **mean**: Computes the mean (average) of a list of numbers.
- **median**: Computes the median of a list of numbers.
- **variance**: Computes the variance of a list of numbers.
- **standard_deviation**: Computes the standard deviation of a list of numbers.
- **harmonic_mean**: Computes the harmonic mean of a list of numbers.

Trigonometric Functions
- **trigonometric_secant**: Computes the secant of a given angle.
- **trigonometric_cosecant**: Computes the cosecant of a given angle.
- **trigonometric_cotangent**: Computes the cotangent of a given angle.
- **trigonometric_inverse_secant**: Computes the inverse secant (arcsec) of a given value.
- **trigonometric_inverse_cosecant**: Computes the inverse cosecant (arccsc) of a given value.
- **trigonometric_inverse_cotangent**: Computes the inverse cotangent (arccot) of a given value.

Advanced Mathematical Functions
- **cube_root**: Computes the cube root of a number.
- **nth_root**: Computes the nth root of a number.
- **exponential**: Computes the exponential of a number.
- **mod_inverse**: Computes the modular inverse of a number.
- **absolute**: Computes the absolute value of a number.
- **round_to_decimal**: Rounds a number to a specified number of decimal places.
- **ceil**: Computes the ceiling value of a number (rounds up).
- **floor**: Computes the floor value of a number (rounds down).

Data Science Functions
- **handle_missing_values**: Handles missing values in a dataset.
- **normalize_data**: Normalizes the dataset.
- **standardize_data**: Standardizes the dataset.
- **encode_categorical_columns**: Encodes categorical columns in a dataset.
- **split_dataset**: Splits a dataset into training and testing sets.
- **linear_regression_model**: Creates a linear regression model.
- **evaluate_regression_model**: Evaluates a regression model's performance.
- **evaluate_classification_model**: Evaluates a classification model's performance.
- **shuffle_data**: Shuffles the data.
- **cross_validation**: Performs cross-validation for model evaluation.
- **feature_importance**: Computes the feature importance of a model.
- **plot_feature_importance**: Plots the feature importance of a model.
- **save_model**: Saves a trained model to a file.
- **load_model**: Loads a trained model from a file.

Machine Learning Functions
- **plot_data**: Plots a given dataset.
- **plot_decision_boundary**: Plots the decision boundary of a classifier.
- **polynomial_features**: Generates polynomial features for a dataset.
- **logistic_regression_model**: Creates a logistic regression model.
- **decision_tree_model**: Creates a decision tree model.
- **random_forest_model**: Creates a random forest model.
- **mean_squared_error**: Computes the mean squared error of a model.
- **train_test_split**: Splits data into training and testing sets.
- **accuracy_score**: Computes the accuracy score of a classification model.

Algorithm Functions
- **binary_search**: Performs binary search on a sorted list.
- **linear_search**: Performs linear search on a list.
- **jump_search**: Performs jump search on a sorted list.
- **exponential_search**: Performs exponential search on a sorted list.
- **ternary_search**: Performs ternary search on a sorted list.
- **interpolation_search**: Performs interpolation search on a sorted list.

4.8.0

Added
- **New Cryptographic Functions**:
- **Encoding/Decoding Methods**:
- `encode_ascii`, `decode_ascii`, `encode_utf8`, `decode_utf8`, `encode_utf16`, `decode_utf16`, `encode_utf32`, `decode_utf32`
- `encode_base64`, `decode_base64`, `encode_hex`, `decode_hex`, `encode_url`, `decode_url`, `encode_html`, `decode_html`
- `encode_morse`, `decode_morse`, `encode_binary`, `decode_binary`
- `encode_zlib`, `decode_zlib`, `encode_gzip`, `decode_gzip`, `encode_base58`, `decode_base58`
- `encode_deflate`, `decode_deflate`, `encode_brotli`, `decode_brotli`, `encode_lzma`, `decode_lzma`
- `encode_rot13`, `decode_rot13`, `encode_base32`, `decode_base32`, `encode_base16`, `decode_base16`
- `encode_caesar_cipher`, `decode_caesar_cipher`, `encode_url_safe_base64`, `decode_url_safe_base64`

- **New Functionality for Extracting Functions from Python Files**:
- `get_function_names_from_python_file_list`: Extracts function names from a Python file and returns them as a list.
- `get_function_names_from_python_file_str`: Extracts function names from a string of Python code and returns them as a list.

4.7.0

Added
- **API Functions**:
- `api_create_item`, `api_read_item`, `api_update_item`, `api_delete_item`
- `api_create_user`, `api_read_user`, `api_delete_user`
- `api_authenticate_user`, `api_upload_file`, `api_download_file`
- `api_bulk_insert_items`, `api_filter_items`, `api_export_data`
- `api_user_interface`

4.6.0

Added
- **Numerical Functions**:
- `numerical_add`, `numerical_subtract`, `numerical_multiply`, `numerical_divide`, `numerical_zeros`, `numerical_ones`, `numerical_reshape`, `numerical_dot`, `numerical_inv`, `numerical_det`, `numerical_randint`, `numerical_randn`, `numerical_mean`, `numerical_median`, `numerical_variance`, `numerical_std`, `numerical_string_length`, `numerical_string_upper`, `numerical_string_lower`, `numerical_svd`
- **Plotting Functions**:
- `plot_histogram`, `plot_line`, `plot_scatter`, `plot_bar`, `plot_pie`, `plot_box`, `plot_heatmap`, `plot_stacked_bar`, `plot_area`, `plot_violin`, `plot_pair`, `plot_3d`, `plot_subplots`, `plot_hexbin`, `plot_contour`

Changed
- **General Improvements**: Updated functions to enhance the performance of numerical and plotting functionalities.

---

4.5.11

Fixed
- **Avoided Dependency Issue**: Resolved Numpy dependency issue.
- **Avoided Automatic Checking**: Closed automatic checking of the engine on startup.

---

4.5.7

Added
- **Advanced Mathematical Functions**:
- `adv_gcd`, `adv_lcm`, `adv_prime_factors`, `adv_is_prime`, `adv_modular_exponentiation`, `adv_is_perfect_square`, `adv_fast_fourier_transform`, `adv_hash_string`, `adv_fast_modular_inverse`, `adv_fibonacci`, `adv_sieve_of_eratosthenes`, `adv_modular_square_root`, `adv_random_prime`, `adv_sum_of_squares`, `adv_calculate_modular_power`, `adv_combinations`, `adv_permutations`.
- **File Operations**:
- `get_function_names_from_python_file`, `install_and_setup_nmap`, `check_file_existence`, `create_directory`, `download_file`, `get_file_size`, `get_file_last_modified`, `rename_file`, `delete_file`, `move_file`, `extract_zip`, `compress_files`, `get_url_status`, `fetch_url_content`, `download_files_from_urls`, `get_files_in_directory`, `count_lines_in_file`, `get_current_datetime`, `get_extension`, `get_file_name_without_extension`, `get_file_type`, `move_files_to_directory`.
- **String Operations**:
- `str_reverse`, `str_to_upper`, `str_to_lower`, `str_is_palindrome`, `str_count_occurrences`, `str_is_alpha`, `str_is_digit`, `str_find_substring`, `str_replace_substring`, `str_split_words`, `str_strip_spaces`, `str_startswith`, `str_endswith`, `str_isalnum`, `str_isdigit`, `str_title_case`, `str_concat`, `str_join`.
- **List Operations**:
- `list_append_item`, `list_remove_item`, `list_insert_item`, `list_pop_item`, `list_find_index`, `list_contains_item`, `list_sort`, `list_reverse`, `list_clear`, `list_copy`, `list_extend`, `list_count`, `list_min`, `list_max`, `list_sum`, `list_mean`, `list_unique`, `list_combine`, `list_difference`, `list_intersection`, `list_is_empty`.
- **Dictionary Operations**:
- `dict_add_key_value`, `dict_remove_key`, `dict_get_value`, `dict_update_value`, `dict_contains_key`, `dict_get_all_keys`, `dict_get_all_values`, `dict_clear`, `dict_copy`, `dict_items`, `dict_pop_item`, `dict_update`, `dict_setdefault`, `dict_fromkeys`, `dict_get_key_with_max_value`, `dict_get_key_with_min_value`.
- **Advanced System Utilities**: New utilities for system tasks, including advanced file and system interactions.
- **Advanced MySQL**:
- `mysql_execute_advanced_mode` for optimized database query handling.

Changed
- **Enhanced Performance**: Optimized mathematical and system utility functions for better performance.
- **File Handling**: Improved file extraction, compression, and download capabilities with error handling and added optimizations.
- **System Utilities**: Enhanced features for managing system processes, checking file types, and system info retrieval.

Fixed
- **Bug Fixes**: Fixed several issues related to file handling, string operations, and database interactions.
- **Error Handling**: Improved error handling for file operations, network requests, and system commands.

---

Page 3 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.