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
This two python programs can convert km to miles and miles to km

km-to-miles These two little python programs can convert kilometers to miles and miles to kilometers Needed Python3 or a online python compiler with t

Chandula Janith 3 Jan 30, 2022
A small python library that helps you to generate localization strings for your mobile projects.

LocalizationUtiltiy A small python library that helps you to generate localization strings for your mobile projects. This small script aims to help yo

1 Nov 12, 2021
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
A python program to find binary, octal and hexadecimal of a decimal.

decimal-converter This little python program can convert a decimal in to, Binary Octal Hexadecimal Needed Python 3 or later or a online python compile

Chandula Janith 0 Nov 27, 2021
✨ Un DNS Resolver totalement fait en Python par moi, et en français

DNS Resolver ❗ Un DNS Resolver totalement fait en Python par moi, et en français. 🔮 Grâce a une adresse (url) vous pourrez avoir l'ip ainsi que le DN

MrGabin 3 Jun 06, 2021
Backup a folder to an another folder by using mirror update method.

Mirror Update Backup Backup a folder to an another folder by using mirror update method. How to use Install requirement pip install -r requirements.tx

1 Nov 21, 2022
Convert any-bit number to decimal number and vise versa.

2deci Convert any-bit number to decimal number and vise versa. --bit n to set bit to n --exp xxx to set expression to xxx --r to run reversely (from d

3 Sep 15, 2021
A Tool that provides automatic kerning for ligature based OpenType fonts in Microsoft Volt

Kerning A Tool that provides automatic kerning for ligature based OpenType fonts in Microsoft Volt There are three stages of the algorithm. The first

Sayed Zeeshan Asghar 6 Aug 01, 2022
Python based tool to extract forensic info from EventTranscript.db (Windows Diagnostic Data)

EventTranscriptParser EventTranscriptParser is python based tool to extract forensically useful details from EventTranscript.db (Windows Diagnostic Da

P. Abhiram Kumar 24 Nov 18, 2022
✨ Une calculatrice totalement faite en Python par moi, et en français.

Calculatrice ❗ Une calculatrice totalement faite en Python par moi, et en français. 🔮 Voici une calculatrice qui vous permet de faire vos additions,

MrGabin 3 Jun 06, 2021
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 06, 2023
Pass arguments by reference—in Python!

byref Pass arguments by reference—in Python! byrefis a decorator that allows Python functions to declare reference parameters, with similar semantics

9 Feb 10, 2022
Software to help automate collecting crowdsourced annotations using Mechanical Turk.

Video Crowdsourcing Software to help automate collecting crowdsourced annotations using Mechanical Turk. The goal of this project is to enable crowdso

Mike Peven 1 Oct 25, 2021
Group imports from Windows binaries

importsort This is a tool that I use to group imports from Windows binaries. Sometimes, you have a gigantic folder full of executables, and you want t

【☆ ゆう ☆ 】 15 Aug 27, 2022
ULID implementation for Python

What is this? This is a port of the original JavaScript ULID implementation to Python. A ULID is a universally unique lexicographically sortable ident

Martin Domke 158 Jan 04, 2023
一款不需要买代理来减少扫网站目录被封概率的扫描器,适用于中小规格字典。

PoorScanner使用说明书 -工具在不同环境下可能不怎么稳定,如果有什么问题恳请大家反馈。说明书有什么错误的地方也大家欢迎指正。 更新记录 2021.8.23 修复了云函数主程序 gitee上传文件接口写错了的BUG(之前把自己的上传地址写死进去了,没从配置文件里读) 更新了说明书 PoorS

14 Aug 02, 2022
Python Yeelight YLKG07YL/YLKG08YL dimmer handler

With this class you can receive, decrypt and handle Yeelight YLKG07YL/YLKG08YL dimmer bluetooth notifications in your python code.

12 Dec 26, 2022
MongoDB utility to inflate the contents of small collection to a new larger collection

MongoDB Data Inflater ("data-inflater") The data-inflater tool is a MongoDB utility to automate the creation of a new large database collection using

Paul Done 3 Nov 28, 2021
✨ Voici un code en Python par moi, et en français qui permet de générer du texte Lorem.

Lorem Gen ❗ Voici un code en Python par moi, et en français qui permet de générer du texte Lorem. Dépendences : pip install lorem_text 💖 Enjoy 🎫 Mon

MrGabin 3 Jun 07, 2021
A clock app, which helps you with routine tasks.

Clock This app helps you with routine tasks. Alarm Clock Timer Stop Watch World Time (Which city you want) About me Full name: Matin Ardestani Age: 14

Matin Ardestani 13 Jul 30, 2022