A python package containing all the basic functions and classes for python. From simple addition to advanced file encryption.

Overview

Logo

py_everything

A python module containing all the functions and classes from basic to advanced for Python. From simple calculations to advanced file encryption. Everything is included in this one package.

It allows you to use all of its functions and classes without having to write huge complex code. It is a very simple and easy to use library.

Downloads -

Downloads Downloads Downloads

PyPI -

PyPI - Implementation PyPI - Python Version PyPI PyPI - Wheel PyPI - Status PyPI - License

Status -

Libraries.io dependency status for latest release Libraries.io SourceRank GitHub issues GitHub pull requests GitHub branch checks state GitHub Workflow Status Documentation Status Codecov DeepSource LGTM Grade

GitHub -

GitHub forks GitHub Repo stars GitHub watchers GitHub repo size

Got Queries? Join our Discord!

Have questions? Or find docs boring to read through? Then join our discord to get help and chat with the devs!

Discord

Installation

py_everything is available on PyPi, and you can install it as follows:

$ python -m pip install py-everything

Features

  • You can make use of the huge number of functions and classes available to you.
  • Has an in-built CLI tool that generates a python package project structure for you. - setupPyGen
  • setupPyGen now comes with support for find_packages()
  • Now come with a second CLI tool - gitIt for generating GitHub friendly project structures
  • Good and Consistent Naming Convention. - Camel Case
  • Simple and easy to use.
  • You don't have to write all of that code yourself, just call the pre-made functions.
  • Now comes with usefull classes.

setupPyGen

Detailed documentation can be found on ReadTheDocs

Basic Usage:

$ ls
package/ new/ old/
$ cd package/
$ ls -a
. ..
$ setupPyGen -g True -t True --gitignore True
<--Follow the prompts(packages entered - new, old)-->
$ ls -A
.gitignore LICENSE README.md setup.py .git/ new/ old/ tests/
$ cat setup.py
from setuptools import setup

readme_file = open("README.md", "r").read()


setup(
    name="package-name",
    version="1.0.0",
    description="Given Project Description",
    long_description=readme_file,
    long_description_content_type="text/markdown",
    author="Author Name",
    author_email="[email protected]",
    packages=[new, old],
    install_requires=[],
    license="MIT License",
    url="https://github.com/play4Tutorials/py_everything/",
    python_requires='>=3.5'
)

NOTE: Currently setupPyGen doesn't support classifiers. But support will be added soon. find_packages() support has been added.

gitIt

Detailed documentation can be found on ReadTheDocs

Basic Usage:

$ ls
project1/ project2/
$ cd project1/
$ ls -a
. ..
$ gitIt -gh -s -i -c --greet
<--Follow the prompts(packages entered - new, old)-->
$ ls -A
.github/ .gitignore LICENSE README.md .git/ 
$ cd .github/
$ ls -A
SECURITY.md workflows/ ISSUE_TEMPLATE/
$ cd workflows/
$ ls -A
greet.yml
$ cd ..
$ cd ISSUE_TEMPLATE/
$ ls
bug-report.md feature-or-enhancement-request.md
$ cd ../..
$ echo "Note that all of these files also have data in it they are not empty!"
Note that all of these files also have data in it they are not empty!

Documentation and Usage

The documentation can be found on ReadTheDocs

The basic usage for this library is given below:

>>> import py_everything
>>> from py_everything import search
>>> search.search_files('python', 'C:\Programming\\')
C:\Programming\python.txt
C:\Programming\python_project.py
C:\Programming\python_py_everything.docx
>>> my_list = [2, 4, 5, 3, 7, 5, 6, 3 , 12 , 9, 6]
>>> py_everything.maths.avg(my_list)
5.636363636363637

Contributing

For details, on how to contribute, please read CONTRIBUTING.md

Comments
  • Added function that converts a roman numeral to its integer equivalent

    Added function that converts a roman numeral to its integer equivalent

    This creates a python function that converts any roman numeral to its integer equivalent.

    Function - convertRoman()

    Example:

    >>> print (convertRoman('MMXXI'))
    2021
    

    Closes issue #85

    Modified:

    • Added black library for text formatting to requirements file
    • Updated the gitignore file to ignore virtual environments
    • Created the function and test case
    enhancement dependencies conversion 
    opened by tosinolawore 9
  • (FLK-W293) Blank line contains whitespace

    (FLK-W293) Blank line contains whitespace

    opened by pybash1 9
  • htmlXml Result Hard To Match

    htmlXml Result Hard To Match

    The Result Returned By Any Function of htmlXml.py is hard to trace back to where it is in the html or XML file It Would be better if the result comes with line numbers too

    enhancement htmlXml 
    opened by Morgan-Phoenix 8
  • [FEATURE] Add function that converts any roman numeral to an integer

    [FEATURE] Add function that converts any roman numeral to an integer

    Conversion from roman numerals to an integer Create a python function that converts any roman numeral to an integer. Roman numerals could be confusing at times, a function that converts them to an easy to understand integer would be helpful.

    enhancement 
    opened by tosinolawore 4
  • Bump python-docs-theme from 2021.8 to 2021.11

    Bump python-docs-theme from 2021.8 to 2021.11

    Bumps python-docs-theme from 2021.8 to 2021.11.

    Changelog

    Sourced from python-docs-theme's changelog.

    2021.11 <https://github.com/python/python-docs-theme/releases/tag/v2021.1>_

    • Fix monospace on buggy Google Chrome (#85) Contributed by Tushar Sadhwani
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 3
  • Bump twine from 3.7.1 to 3.8.0

    Bump twine from 3.7.1 to 3.8.0

    Bumps twine from 3.7.1 to 3.8.0.

    Release notes

    Sourced from twine's releases.

    3.8.0

    https://pypi.org/project/twine/3.8.0/

    Changelog

    Changelog

    Sourced from twine's changelog.

    Twine 3.8.0 (2022-02-02)

    Features ^^^^^^^^

    • Add --verbose logging for querying keyring credentials. ([#849](https://github.com/pypa/twine/issues/849) <https://github.com/pypa/twine/issues/849>_)
    • Log all upload responses with --verbose. ([#859](https://github.com/pypa/twine/issues/859) <https://github.com/pypa/twine/issues/859>_)
    • Show more helpful error message for invalid metadata. ([#861](https://github.com/pypa/twine/issues/861) <https://github.com/pypa/twine/issues/861>_)

    Bugfixes ^^^^^^^^

    • Require a recent version of urllib3. ([#858](https://github.com/pypa/twine/issues/858) <https://github.com/pypa/twine/issues/858>_)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • Bump enrocrypt from 1.1.3 to 1.1.4

    Bump enrocrypt from 1.1.3 to 1.1.4

    Bumps enrocrypt from 1.1.3 to 1.1.4.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • Bump twine from 3.4.2 to 3.5.0

    Bump twine from 3.4.2 to 3.5.0

    Bumps twine from 3.4.2 to 3.5.0.

    Changelog

    Sourced from twine's changelog.

    Twine 3.5.0 (2021-11-02)

    Features ^^^^^^^^

    • Show more helpful messages for invalid passwords. ([#815](https://github.com/pypa/twine/issues/815) <https://github.com/pypa/twine/issues/815>_)
    • Allow the --skip-existing option to work with GCP Artifact Registry. ([#823](https://github.com/pypa/twine/issues/823) <https://github.com/pypa/twine/issues/823>_)

    Bugfixes ^^^^^^^^

    • Add a helpful error message when an upload fails due to missing a trailing slash in the URL. ([#812](https://github.com/pypa/twine/issues/812) <https://github.com/pypa/twine/issues/812>_)
    • Generalize --verbose suggestion when an upload fails. ([#817](https://github.com/pypa/twine/issues/817) <https://github.com/pypa/twine/issues/817>_)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • Bump python-docs-theme from 2021.8 to 2021.11.1

    Bump python-docs-theme from 2021.8 to 2021.11.1

    Bumps python-docs-theme from 2021.8 to 2021.11.1.

    Changelog

    Sourced from python-docs-theme's changelog.

    2021.11.1 <https://github.com/python/python-docs-theme/releases/tag/v2021.11.1>_

    • Fix monospace again, on buggy Google Chrome (#87) Contributed by Tushar Sadhwani

    2021.11 <https://github.com/python/python-docs-theme/releases/tag/v2021.11>_

    • Fix monospace on buggy Google Chrome (#85) Contributed by Tushar Sadhwani
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • (PTC-W0048) `if` statements can be merged

    (PTC-W0048) `if` statements can be merged

    Description

    Nested if statements can be collapsed into a single if statement by separating their condition using and operator. Merging collapsible if statements increases the code's readability.

    Not preferred:

    if condition1:
        if condition2:
            dosomething()
    

    Preferred:

    if condition1 and condition2:
           dosomething()
    

    Exception: DeepSource would not …

    Occurrences

    There is 1 occurrence of this issue in the repository.

    See all occurrences on DeepSource → deepsource.io/gh/pybash1/py_everything/issue/PTC-W0048/occurrences/

    bug enhancement good first issue 
    opened by pybash1 2
  • Path File Raises ModuleNotFound Error When Imported

    Path File Raises ModuleNotFound Error When Imported

    When I import something form the path file, it gives the error that a module named "error" is not found

    Steps to reproduce the behavior:

    1. from py_everything import path
    2. Run the code
    3. Error occurs The "error" module is not found as when the path file is imported the location of the call changes and hence no file named "error" is found

    Device:

    • OS: Windows
    • Python Version: 3.9.5
    • Package Version: 2.1.0
    bug fixed next release path 
    opened by Morgan-Phoenix 2
Releases(v2.3.0)
  • v2.3.0(Aug 28, 2021)

  • v2.2.0(Aug 1, 2021)

    2.2.0 (The Debug Update)

    • Lots of bug fixes
    • Security fix
    • Improved performance
    • Improved consistency
    • New functions
    • Enhanced functions
    • Added doc-strings to the full library
    • Simplified code
    • Fixed anti-pattern issues
    • Fixed style issues
    Source code(tar.gz)
    Source code(zip)
  • v2.1.0(Jul 16, 2021)

    Changes:

    • Added Type hints to the whole library
    • 2 new modules(path and bencrypt)
    • Better overall documentation
    • Better IDE Support
    • Added Type checking
    • Bug fixes
    • Remove bad code
    • Removed unnecessary deep dependencies
    • Fixed dependencies
    Source code(tar.gz)
    Source code(zip)
  • v2.0.0(May 20, 2021)

    Changes:

    • Fixed few bugs
    • Removed requestsLib Module
    • New Modules - conversion, error, htmlXml, mensuration, sencrypt, units
    • Renamed - date_utils -> dateUtils
    • Even more consistent naming and organization
    • All new documentation complete.
    • New CLI - gitIt
    • comes with setupPyGen v1.0.1
    Source code(tar.gz)
    Source code(zip)
  • v1.2.0(Mar 22, 2021)

    Changes:

    1. New CLI tool for generating setup.py and Python Package Project Structure
    2. Better Naming Convention and Consistency - Camel Case
    3. py_everything.automation.email_bot() is now py_everything.automation.sendEmail()
    4. Much more bug fixes.
    5. Much more patches and updates
    Source code(tar.gz)
    Source code(zip)
  • v1.1.1(Mar 3, 2021)

    This release is the first production/stable release of this project. v1.1.0, was the first one, but it has been changed to this one since v1.1.0 README was not PyPi friendly.

    Source code(tar.gz)
    Source code(zip)
Owner
PyBash
I develop little apps for desktop that help people in everyday life. Using @python programming.
PyBash
Cleaning-utils - a collection of small Python functions and classes which make cleaning pipelines shorter and easier

cleaning-utils [] [] [] cleaning-utils is a collection of small Python functions

null 4 Aug 31, 2022
Pyfunctools is a module that provides functions, methods and classes that help in the creation of projects in python

Pyfunctools Pyfunctools is a module that provides functions, methods and classes that help in the creation of projects in python, bringing functional

Natanael dos Santos Feitosa 5 Dec 22, 2022
Python @deprecat decorator to deprecate old python classes, functions or methods.

deprecat Decorator Python @deprecat decorator to deprecate old python classes, functions or methods. Installation pip install deprecat Usage To use th

null 12 Dec 12, 2022
A simple python script to generate an iCalendar file for the university classes.

iCal Generator This is a simple python script to generate an iCalendar file for the university classes. Installation Clone the repository git clone ht

Foad Rashidi 2 Sep 1, 2022
A Python utility belt containing simple tools, a stdlib like feel, and extra batteries. Hashing, Caching, Timing, Progress, and more made easy!

Ubelt is a small library of robust, tested, documented, and simple functions that extend the Python standard library. It has a flat API that all behav

Jon Crall 638 Dec 13, 2022
This script allows you to retrieve all functions / variables names of a Python code, and the variables values.

Memory Extractor This script allows you to retrieve all functions / variables names of a Python code, and the variables values. How to use it ? The si

Venax 2 Dec 26, 2021
A simple tool that updates your pubspec.yaml file, of a Flutter project, without altering the structure of your file.

A simple tool that updates your pubspec.yaml file, of a Flutter project, without altering the structure of your file.

null 3 Dec 10, 2021
A repository containing several general purpose Python scripts to automate daily and common tasks.

General Purpose Scripts Introduction This repository holds a curated list of Python scripts which aim to help us automate daily and common tasks. You

GDSC RCCIIT 46 Dec 25, 2022
Dill_tils is a package that has my commonly used functions inside it for ease of use.

DilllonB07 Utilities Dill_tils is a package that has my commonly used functions inside it for ease of use. Installation Anyone can use this package by

Dillon Barnes 2 Dec 5, 2021
A utility that makes it easy to work with Python projects containing lots of packages, of which you only want to develop some.

Mixed development source packages on top of stable constraints using pip mxdev [mɪks dɛv] is a utility that makes it easy to work with Python projects

BlueDynamics Alliance 6 Jun 8, 2022
A work in progress box containing various Python utilities

python-wipbox A set of modern Python libraries under development to simplify the execution of reusable routines by different projects. Table of Conten

Deepnox 2 Jan 20, 2022
Python Classes Without Boilerplate

attrs is the Python package that will bring back the joy of writing classes by relieving you from the drudgery of implementing object protocols (aka d

The attrs Cabal 4.6k Jan 6, 2023
Allows you to canibalize methods from classes effectively implementing trait-oriented programming

About This package enables code reuse in non-inheritance way from existing classes, effectively implementing traits-oriented programming pattern. Stor

null 1 Dec 13, 2021
extract gene TSS/TES site form gencode/ensembl/gencode database GTF file and export bed format file.

GetTsite python Package extract gene TSS/TES site form gencode/ensembl/gencode database GTF file and export bed format file. Install $ pip install Get

laojunjun 7 Nov 21, 2022
A simple and easy to use collection of random python functions.

A simple and easy to use collection of random python functions.

Diwan Mohamed Faheer 1 Nov 17, 2021
A simple example for calling C++ functions in Python by `ctypes`.

ctypes-example A simple example for calling C++ functions in Python by ctypes. Features call C++ function int bar(int* value, char* msg) with argumene

Yusu Pan 3 Nov 23, 2022
Python Libraries with functions and constants related to electrical engineering.

ElectricPy Electrical-Engineering-for-Python Python Libraries with functions and constants related to electrical engineering. The functions and consta

Joe Stanley 39 Dec 23, 2022
Astvuln is a simple AST scanner which recursively scans a directory, parses each file as AST and runs specified method.

Astvuln Astvuln is a simple AST scanner which recursively scans a directory, parses each file as AST and runs specified method. Some search methods ar

Bitstamp Security 7 May 29, 2022
SysInfo is an app developed in python which gives Basic System Info , and some detailed graphs of system performance .

SysInfo SysInfo is an app developed in python which gives Basic System Info , and some detailed graphs of system performance . Installation Download t

null 5 Nov 8, 2021