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
Creating low-level foundations and abstractions for asynchronous programming in Python.

DIY Async I/O Creating low-level foundations and abstractions for asynchronous programming in Python (i.e., implementing concurrency without using thr

Doc Jones 4 Dec 11, 2021
Python lightweight dependency injection library

pythondi pythondi is a lightweight dependency injection library for python Support both sync and async functions Installation pip3 install pythondi Us

Hide 41 Dec 16, 2022
Use generator for range function

Use the generator for the range function! installation method: pip install yrange How to use: First import yrange in your application. You can then wo

1 Oct 28, 2021
Tool to produce system call tables from Linux source code.

Syscalls Tool to generate system call tables from the linux source tree. Example The following will produce a markdown (.md) file containing the table

7 Jul 30, 2022
PyHook is an offensive API hooking tool written in python designed to catch various credentials within the API call.

PyHook is the python implementation of my SharpHook project, It uses various API hooks in order to give us the desired credentials. PyHook Uses

Ilan Kalendarov 158 Dec 22, 2022
Entropy-controlled contexts in Python

Python module ordered ordered module is the opposite to random - it maintains order in the program. import random x = 5 def increase(): global x

HyperC 36 Nov 03, 2022
DUQ is a python package for working with physical Dimensions, Units, and Quantities.

DUQ is a python package for working with physical Dimensions, Units, and Quantities.

2 Nov 02, 2022
Python type-checker written in Rust

pravda Python type-checker written in Rust Features Fully typed with annotations and checked with mypy, PEP561 compatible Add yours! Installation pip

wemake.services 31 Oct 21, 2022
Backman is a random/fixed background image setter for wlroots based compositors

backman Backman is a random/fixed background image setter for wlroots based compositors Dependencies: The program depends on swaybg, python3-toml (or

Hemish 3 Mar 09, 2022
Find version automatically based on git tags and commit messages.

GIT-CONVENTIONAL-VERSION Find version automatically based on git tags and commit messages. The tool is very specific in its function, so it is very fl

0 Nov 07, 2021
Networkx with neo4j back-end

Dump networkx graph into nodes/relations TSV from neo4jnx.tsv import graph_to_tsv g = pklload('indranet_dir_graph.pkl') graph_to_tsv(g, 'docker/nodes.

Benjamin M. Gyori 1 Oct 27, 2021
cssOrganizer - organize a css file by grouping them into categories

This python project was created to scan through a CSS file and produce a more organized CSS file by grouping related CSS Properties within selectors. Created in my spare time for fun and my own utili

Andrew Espindola 0 Aug 31, 2022
Python program for Linux users to change any url to any domain name they want.

URLMask Python program for Linux users to change a URL to ANY domain. A program than can take any url and mask it to any domain name you like. E.g. ne

2 Jun 20, 2022
aws ec2.py companion script to generate sshconfigs with auto bastion host discovery

ec2-bastion-sshconfig This script will interate over instances found by ec2.py and if those instances are not publically accessible it will search the

Steve Melo 1 Sep 11, 2022
A string to hashtags module

A string to hashtags module

Fayas Noushad 4 Dec 01, 2021
Factoral Methods using two different method

Factoral-Methods-using-two-different-method Here, I am finding the factorial of a number by using two different method. The first method is by using f

Sachin Vinayak Dabhade 4 Sep 24, 2021
Python 3 script unpacking statically x86 CryptOne packer.

Python 3 script unpacking statically x86 CryptOne packer. CryptOne versions: 2021/08 until now (2021/12)

5 Feb 23, 2022
✨ Un code pour voir les disponibilités des vaccins contre le covid totalement fait en Python par moi, et en français.

Vaccine Notifier ❗ Un chois aléatoire d'un article sur Wikipedia totalement fait en Python par moi, et en français. 🔮 Grâce a une requète API, on peu

MrGabin 3 Jun 06, 2021
The git for the Python Story Utility Package library.

SUP The git for the Python Story Utility Package library. Installation: Install SUP by simply running pip install psup in your terminal. Check out our

Enoki 6 Nov 27, 2022
A quick username checker to see if a username is available on a list of assorted websites.

A quick username checker to see if a username is available on a list of assorted websites.

Maddie 4 Jan 04, 2022