Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cool-utils

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cool-utils

This is Cool Utility tools that you can use in python.

  • 1.3.2
  • PyPI
  • Socket score

Maintainers
1

Cool Utils

Documentation <https://github.com/Senarc-Studios/Cool-Utils/wiki/Documentation>_

This is Cool Utility tools that you can use in python. There are a few tools that you might find very useful, you can use this on pretty much any project and some utils might help you a lot and save so much time since it’s a simple function. We hope you like our utils. Have a nice day!

Badges

|Discord| |PyPi| |Python Version| |License| |Issues| |Forks| |Stars|

Installation

PyPi Installation

Windows:

.. code:: sh

$ pip install -U cool-utils

Linux/MacOS:

.. code:: sh

$ python3 -m pip install -U cool-utils

..

Development Installation

Windows:

.. code:: sh

$ pip install git+https://github.com/Senarc-Studios/Cool-Utils

Linux/MacOS:

.. code:: sh

$ python3 -m pip install -U git+https://github.com/Senarc-Studios/Cool-Utils

Examples

Compile:

.. code:: python

from cool_utils import Compile

strings = ["This", "Is", "A", "String"] num_list = [9, 4, 2] print(Compile.string(strings, startswith="Hey, ", endswith=".", joints=" ")) print(Compile.numbers(num_list, startswith=6, endswith=0))

Hey, This Is A String. 69420

JSON:

.. code:: python

import cool_utils

json = cool_utils.JSON.open("sample") json.register_value(variable="foo", value="bar") # This creates a JSON file. data = json.get_data(variable="foo") invalid_data = json.get_data("non-existant value") # You can do this instead of doing the variable's name. print(data) print(invalid_data)

bar None

GlobalJSON:

.. code:: python

import cool_utils

cool_utils.GlobalJSON.open("sample")
cool_utils.GlobalJSON.register_value(variable="foo", value="bar")
data = cool_utils.GlobalJSON.get_data(variable="foo")
invalid_data = cool_utils.GlobalJSON.get_data("non-existant value")
print(data)
print(invalid_data)
>> bar
>> None

Collaborators

This wouldn’t be made possible without these people

  1. BenitzCoding <https://github.com/BenitzCoding>__
  2. JDJG Inc. Official <https://github.com/JDJGInc>__
  3. P3ter
  4. Proguy <https://github.com/proguy914629bot>__

.. |Discord| image:: https://discord.com/api/guilds/886543799843688498/embed.png :target: https://discord.gg/5YY3W83YWg .. |PyPi| image:: https://img.shields.io/pypi/v/cool-utils.svg :target: https://pypi.python.org/pypi/cool-utils .. |Python Version| image:: https://img.shields.io/pypi/pyversions/cool-utils.svg :target: https://pypi.python.org/pypi/cool-utils .. |License| image:: https://img.shields.io/github/license/Senarc-Studios/Cool-Utils?style=plastic :target: https://github.com/Senarc-Studios/Cool-Utils/blob/master/LICENSE .. |Issues| image:: https://img.shields.io/github/issues/Senarc-Studios/Cool-Utils?style=plastic :target: https://github.com/Senarc-Studios/Cool-Utils/issues .. |Forks| image:: https://img.shields.io/github/forks/Senarc-Studios/Cool-Utils?style=plastic :target: https://github.com/Senarc-Studios/Cool-Utils/network .. |Stars| image:: https://img.shields.io/github/stars/Senarc-Studios/Cool-Utils?style=plastic :target: https://github.com/Senarc-Studios/Cool-Utils/stargazers

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc