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
Python script to get some stats on nodes in a Blender material nodetree

Python script to get some stats on nodes in a Blender material nodetree. It counts the nodes, the node types and the max deep level for group nodes.

Alek Mugnozzo 2 Sep 03, 2022
Writing Alfred copy/paste scripts in Python

Writing Alfred copy/paste scripts in Python This repository shows how to create Alfred scripts in Python. It assumes that you using pyenv for Python v

Will Fitzgerald 2 Oct 26, 2021
More routines for operating on iterables, beyond itertools

More Itertools Python's itertools library is a gem - you can compose elegant solutions for a variety of problems with the functions it provides. In mo

2.9k Jan 06, 2023
Python tool to check a web applications compliance with OWASP HTTP response headers best practices

Check Your Head A quick and easy way to check a web applications response headers!

Zak 6 Nov 09, 2021
Link-tree - Script that iterate over the links found in each page

link-tree Script that iterate over the links found in each page, recursively fin

Rodrigo Stramantinoli 2 Jan 05, 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

12 Dec 12, 2022
Simple integer-valued time series bit packing

Smahat allows to encode a sequence of integer values using a fixed (for all values) number of bits but minimal with regards to the data range. For example: for a series of boolean values only one bit

Ghiles Meddour 7 Aug 27, 2021
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
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 01, 2022
Finger is a function symbol recognition engine for binary programs

Finger is a function symbol recognition engine for binary programs

332 Jan 01, 2023
Similar looking domain detection using python fuzzywuzzy

Major cause of phishing and BEC incident is similar looking domain, if you detect it early, you can prevent incidents early, python fuzzywuzzy module let you do that

2 Nov 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
A hashtag from string extract python module

A hashtag from string extract python module

Fayas Noushad 3 Aug 10, 2022
A simulator for xkcd 2529's weirdly concrete problem

What is this? This is a quick hack implementation of a simulator for xkcd 2529's weirdly concrete problem. This is barely tested and I suck at computa

Reuben Steenekamp 6 Oct 27, 2021
Utility to add/remove licenses to/from source files

Utility to add/remove licenses to/from source files. Supports processing any combination of globs, files, and directories (recurse). Pruning options allow skipping non-licensing files.

Eduardo Ponce Mojica 2 Jan 29, 2022
Minimal Windows system information tool written in Python

wfetch wfetch is a Minimal Windows system information tool written in Python (Only works on Windows) Installation First of all have python installed.

zJairO 3 Jan 24, 2022
A simple python implementation of Decision Tree.

DecisionTree A simple python implementation of Decision Tree, using Gini index. Usage: import DecisionTree node = DecisionTree.trainDecisionTree(lab

1 Nov 12, 2021
A fixture that allows runtime xfail

pytest-runtime-xfail pytest plugin, providing a runtime_xfail fixture, which is callable as runtime_xfail(), to allow runtime decisions to mark a test

Brian Okken 4 Apr 06, 2022
.bvh to .mcfunction file converter.

bvh-to-mcf .bvh file to .mcfunction converter

Hanmin Kim 28 Nov 21, 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