Skip to content

Commit

Permalink
Meta update
Browse files Browse the repository at this point in the history
  • Loading branch information
BenitzCoding committed Jan 22, 2022
1 parent a9bc204 commit da6d3f6
Show file tree
Hide file tree
Showing 15 changed files with 901 additions and 901 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

*.pyc

*.pyc
16 changes: 8 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Contributors
------------

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](https://github.com/darkp3ter)
Contributors
------------

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](https://github.com/darkp3ter)
58 changes: 29 additions & 29 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
BSD 3-Clause License

Copyright (c) 2021-present, Benitz Original
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
BSD 3-Clause License
Copyright (c) 2021-present, Benitz Original
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
208 changes: 104 additions & 104 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,104 +1,104 @@
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, startwith="Hey, ", endwith=".", joints=" "))
print(Compile.numbers(num_list, startwith=6, endwith=0))
>> Hey, This Is A String.
>> 69420
**JSON:**

.. code:: python
import cool_utils
cool_utils.JSON.open("sample")
cool_utils.JSON.register_value(variable="foo", value="bar") # This creates a JSON file.
data = utils.JSON.get_data(variable="foo")
invalid_data = utils.JSON.get_data("non-existant value") # You can do this instead of doing the variable's name.
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 <https://github.com/darkp3ter>`__

.. |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
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, startwith="Hey, ", endwith=".", joints=" "))
print(Compile.numbers(num_list, startwith=6, endwith=0))
>> Hey, This Is A String.
>> 69420
**JSON:**

.. code:: python
import cool_utils
cool_utils.JSON.open("sample")
cool_utils.JSON.register_value(variable="foo", value="bar") # This creates a JSON file.
data = utils.JSON.get_data(variable="foo")
invalid_data = utils.JSON.get_data("non-existant value") # You can do this instead of doing the variable's name.
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 <https://github.com/darkp3ter>`__

.. |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
86 changes: 43 additions & 43 deletions cool_utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
"""
BSD 3-Clause License
Copyright (c) 2021-present, BenitzCoding
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""

__title__ = 'cool-utils'
__author__ = 'BenitzCoding'
__license__ = 'BSD'
__copyright__ = 'Copyright 2021-present BenitzCoding'
__version__ = '1.2.1.0.8'

from .compile import Compile
from .json_utils import JSON
from .os import Terminal, get_command
from .cache import Cache
from .links import Links
"""
BSD 3-Clause License
Copyright (c) 2021-present, BenitzCoding
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""

__title__ = 'cool-utils'
__author__ = 'BenitzCoding'
__license__ = 'BSD'
__copyright__ = 'Copyright 2021-present BenitzCoding'
__version__ = '1.2.1.0.8'

from .compile import Compile
from .json_utils import JSON
from .os import Terminal, get_command
from .cache import Cache
from .links import Links
from .mongo import Mongo

0 comments on commit da6d3f6

Please sign in to comment.