sakthiselvan


Namesakthiselvan JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummaryA utility module for string manipulation, character encoding, sorting, and list operations.
upload_time2024-09-29 03:30:09
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseMIT
keywords string-manipulation sorting character-encoding utilities
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# `sakthi_library`

`sakthi_library` is a Python module that provides a collection of utility functions for string manipulation, character encoding, conversions, sorting, and list operations. It contains various custom functions designed to simplify common tasks.

## Features

### 1. String Manipulation Functions
- **`sakthi_show_it(*args, sep=' ', end='\n', file=None, flush=False)`**: Custom print function with adjustable separators, file output, and flushing.
- **`sakthi_clean_front_and_back(string)`**: Removes leading and trailing whitespace from a string.
- **`sakthi_clean_left(string)`**: Removes leading whitespace from a string.
- **`sakthi_clean_right(string)`**: Removes trailing whitespace from a string.
- **`sakthi_remove_prefix(string, prefix)`**: Removes the specified prefix from a string.
- **`sakthi_remove_suffix(string, suffix)`**: Removes the specified suffix from a string.
- **`sakthi_it_starts_with(string, prefix)`**: Checks if the string starts with a given prefix.
- **`it_ends_with(string, suffix)`**: Checks if the string ends with a given suffix.
- **`make_title(string)`**: Converts the string to title case by capitalizing the first letter of each word.

### 2. Character Encoding Functions
- **`sakthi_unicode_character(code_point)`**: Retrieves the Unicode character for a given code point.
- **`sakthi_character_to_ascii_code(character)`**: Converts a character to its ASCII or UTF-8 encoded value.

### 3. Case Conversion Functions
- **`sakthi_change_capital_A_B_C_D(string)`**: Converts lowercase letters to uppercase.
- **`sakthi_change_to_lowercase(string)`**: Converts uppercase letters to lowercase.

### 4. Number and Character Conversion Functions
- **`sakthi_to_ascii_values(string)`**: Converts characters in a string to their ASCII values.
- **`sakthi_to_hexadecimal_values(string)`**: Converts characters in a string to their hexadecimal values.
- **`sakthi_to_binary_values(string)`**: Converts characters in a string to binary values.
- **`sakthi_to_decimal_values(string)`**: Converts characters in a string to decimal values.
- **`sakthi_to_octal_values(string)`**: Converts characters in a string to octal values.
- **`sakthi_decimal_to_binary(decimal)`**: Converts a decimal number to binary.
- **`sakthi_decimal_to_octal(decimal)`**: Converts a decimal number to octal.
- **`sakthi_decimal_to_hexadecimal(decimal)`**: Converts a decimal number to hexadecimal.
- **`sakthi_binary_to_decimal(binary)`**: Converts a binary number to decimal.

### 5. Sorting Functions
- **`sakthi_arrange_ascending_order(arr)`**: Sorts an array in ascending order using Timsort.
- **`sakthi_arrange_descending_order(arr)`**: Sorts an array in descending order using Timsort.

### 6. List and Range Functions
- **`i_need_number_list(start, stop, step)`**: Generates a list of numbers within a specified range and step.
- **`how_many_elements_present(iterable)`**: Returns the number of elements in an iterable.
- **`sakthi_total_of_list(iterable, start=0)`**: Calculates the sum of elements in a list with an optional starting value.
- **`sakthi_min(list)`**: Custom function to find the minimum value in a list.
- **`sakthi_max(list)`**: Custom function to find the maximum value in a list.

### 7. Print Formatting Utilities
- **`sakthi_add_newline(string)`**: Adds a newline after "sakthi" in a string.
- **`sakthi_add_tab_space(string)`**: Adds a tab space after "sakthi".
- **`sakthi_backspace(string)`**: Adds a backspace after "sakthi".
- **`sakthi_add_vertical_tab(string)`**: Adds a vertical tab after "sakthi".
- **`sakthi_add_form_newline(string)`**: Adds a form feed after "sakthi".
- **`sakthi_sart_from_first(string)`**: Starts from the first character of a string.

## Installation

To install `mymodule`, clone the repository and use it in your Python projects.

```bash
git clone https://github.com/yourusername/mymodule.git
```

## Usage

Here's an example of how you can use some functions from `mymodule`:

```python
from mymodule import sakthi_show_it, sakthi_to_ascii_values

# Print using custom function
sakthi_show_it("Hello", "World", sep=", ")

# Convert string to ASCII values
ascii_values = sakthi_to_ascii_values("Hello")
print(ascii_values)
```

## Contributing

Contributions are welcome! Please submit a pull request or open an issue if you find any bugs or want to add new features.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "sakthiselvan",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "string-manipulation, sorting, character-encoding, utilities",
    "author": null,
    "author_email": "SakthiSelvan <ssakthitselvan7@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/a9/1b/f2f40a25f7c48fcd2835a0be100711d4ffbafd5edfd9f14e02782beaf612/sakthiselvan-0.1.0.tar.gz",
    "platform": null,
    "description": "\r\n# `sakthi_library`\r\n\r\n`sakthi_library` is a Python module that provides a collection of utility functions for string manipulation, character encoding, conversions, sorting, and list operations. It contains various custom functions designed to simplify common tasks.\r\n\r\n## Features\r\n\r\n### 1. String Manipulation Functions\r\n- **`sakthi_show_it(*args, sep=' ', end='\\n', file=None, flush=False)`**: Custom print function with adjustable separators, file output, and flushing.\r\n- **`sakthi_clean_front_and_back(string)`**: Removes leading and trailing whitespace from a string.\r\n- **`sakthi_clean_left(string)`**: Removes leading whitespace from a string.\r\n- **`sakthi_clean_right(string)`**: Removes trailing whitespace from a string.\r\n- **`sakthi_remove_prefix(string, prefix)`**: Removes the specified prefix from a string.\r\n- **`sakthi_remove_suffix(string, suffix)`**: Removes the specified suffix from a string.\r\n- **`sakthi_it_starts_with(string, prefix)`**: Checks if the string starts with a given prefix.\r\n- **`it_ends_with(string, suffix)`**: Checks if the string ends with a given suffix.\r\n- **`make_title(string)`**: Converts the string to title case by capitalizing the first letter of each word.\r\n\r\n### 2. Character Encoding Functions\r\n- **`sakthi_unicode_character(code_point)`**: Retrieves the Unicode character for a given code point.\r\n- **`sakthi_character_to_ascii_code(character)`**: Converts a character to its ASCII or UTF-8 encoded value.\r\n\r\n### 3. Case Conversion Functions\r\n- **`sakthi_change_capital_A_B_C_D(string)`**: Converts lowercase letters to uppercase.\r\n- **`sakthi_change_to_lowercase(string)`**: Converts uppercase letters to lowercase.\r\n\r\n### 4. Number and Character Conversion Functions\r\n- **`sakthi_to_ascii_values(string)`**: Converts characters in a string to their ASCII values.\r\n- **`sakthi_to_hexadecimal_values(string)`**: Converts characters in a string to their hexadecimal values.\r\n- **`sakthi_to_binary_values(string)`**: Converts characters in a string to binary values.\r\n- **`sakthi_to_decimal_values(string)`**: Converts characters in a string to decimal values.\r\n- **`sakthi_to_octal_values(string)`**: Converts characters in a string to octal values.\r\n- **`sakthi_decimal_to_binary(decimal)`**: Converts a decimal number to binary.\r\n- **`sakthi_decimal_to_octal(decimal)`**: Converts a decimal number to octal.\r\n- **`sakthi_decimal_to_hexadecimal(decimal)`**: Converts a decimal number to hexadecimal.\r\n- **`sakthi_binary_to_decimal(binary)`**: Converts a binary number to decimal.\r\n\r\n### 5. Sorting Functions\r\n- **`sakthi_arrange_ascending_order(arr)`**: Sorts an array in ascending order using Timsort.\r\n- **`sakthi_arrange_descending_order(arr)`**: Sorts an array in descending order using Timsort.\r\n\r\n### 6. List and Range Functions\r\n- **`i_need_number_list(start, stop, step)`**: Generates a list of numbers within a specified range and step.\r\n- **`how_many_elements_present(iterable)`**: Returns the number of elements in an iterable.\r\n- **`sakthi_total_of_list(iterable, start=0)`**: Calculates the sum of elements in a list with an optional starting value.\r\n- **`sakthi_min(list)`**: Custom function to find the minimum value in a list.\r\n- **`sakthi_max(list)`**: Custom function to find the maximum value in a list.\r\n\r\n### 7. Print Formatting Utilities\r\n- **`sakthi_add_newline(string)`**: Adds a newline after \"sakthi\" in a string.\r\n- **`sakthi_add_tab_space(string)`**: Adds a tab space after \"sakthi\".\r\n- **`sakthi_backspace(string)`**: Adds a backspace after \"sakthi\".\r\n- **`sakthi_add_vertical_tab(string)`**: Adds a vertical tab after \"sakthi\".\r\n- **`sakthi_add_form_newline(string)`**: Adds a form feed after \"sakthi\".\r\n- **`sakthi_sart_from_first(string)`**: Starts from the first character of a string.\r\n\r\n## Installation\r\n\r\nTo install `mymodule`, clone the repository and use it in your Python projects.\r\n\r\n```bash\r\ngit clone https://github.com/yourusername/mymodule.git\r\n```\r\n\r\n## Usage\r\n\r\nHere's an example of how you can use some functions from `mymodule`:\r\n\r\n```python\r\nfrom mymodule import sakthi_show_it, sakthi_to_ascii_values\r\n\r\n# Print using custom function\r\nsakthi_show_it(\"Hello\", \"World\", sep=\", \")\r\n\r\n# Convert string to ASCII values\r\nascii_values = sakthi_to_ascii_values(\"Hello\")\r\nprint(ascii_values)\r\n```\r\n\r\n## Contributing\r\n\r\nContributions are welcome! Please submit a pull request or open an issue if you find any bugs or want to add new features.\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A utility module for string manipulation, character encoding, sorting, and list operations.",
    "version": "0.1.0",
    "project_urls": {
        "Documentation": "https://github.com/yourusername/mymodule/docs",
        "Homepage": "https://github.com/yourusername/mymodule",
        "Issue Tracker": "https://github.com/yourusername/mymodule/issues"
    },
    "split_keywords": [
        "string-manipulation",
        " sorting",
        " character-encoding",
        " utilities"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9e4c7b2ec9a9511bd0b0fdbb505c52ec99d4df4b02d1538e57f55e81d9965b96",
                "md5": "ba34d587e7caaf0e83170fe55848d029",
                "sha256": "caf728c3315e18d00ce7d4490afe800b2f70b09391e8c8e5942a7dca2d281a6f"
            },
            "downloads": -1,
            "filename": "sakthiselvan-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ba34d587e7caaf0e83170fe55848d029",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 9204,
            "upload_time": "2024-09-29T03:30:07",
            "upload_time_iso_8601": "2024-09-29T03:30:07.117382Z",
            "url": "https://files.pythonhosted.org/packages/9e/4c/7b2ec9a9511bd0b0fdbb505c52ec99d4df4b02d1538e57f55e81d9965b96/sakthiselvan-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a91bf2f40a25f7c48fcd2835a0be100711d4ffbafd5edfd9f14e02782beaf612",
                "md5": "bc1fbf5aadfca84bcc4dbc0ad71b3d21",
                "sha256": "6fa465bea1c06548f7a873074e6a85b8008a4586cf2ca18d2b9f9a641e82b4ae"
            },
            "downloads": -1,
            "filename": "sakthiselvan-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "bc1fbf5aadfca84bcc4dbc0ad71b3d21",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 10372,
            "upload_time": "2024-09-29T03:30:09",
            "upload_time_iso_8601": "2024-09-29T03:30:09.571205Z",
            "url": "https://files.pythonhosted.org/packages/a9/1b/f2f40a25f7c48fcd2835a0be100711d4ffbafd5edfd9f14e02782beaf612/sakthiselvan-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-29 03:30:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "yourusername",
    "github_project": "mymodule",
    "github_not_found": true,
    "lcname": "sakthiselvan"
}
        
Elapsed time: 0.37707s