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
Data Utilities e.g. for importing files to onetask

Use this repository to easily convert your source files (csv, txt, excel, json, html) into record-oriented JSON files that can be uploaded into onetask.

onetask.ai 1 Jul 18, 2022
Two fast AUC calculation implementations for python

fastauc Two fast AUC calculation implementations for python: python-based is approximately 5X faster than the default sklearn.metrics.roc_auc_score()

Vsevolod Kompantsev 26 Dec 11, 2022
Control-Alt-Delete - Help Tux Escape Beastie's Jail!

Control-Alt-Delete Help Tux escape Beastie's jail by completing the following challenges! Challenges Challenge 00: Drinks: Tux needs to drink less. Ch

NDLUG 8 Oct 31, 2021
NFT-Generator is the best way to generate thousands of NFTs quick and easily with Python.

NFT-Generator is the best way to generate thousands of NFTs quick and easily with Python. Just add your files, set your configuration and run the scri

78 Dec 27, 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
Small project to interact with python, C, HTML, JavaScript, PHP.

Micro Hidroponic Small project to interact with python, C, HTML, JavaScript, PHP. Table of Contents General Info Technologies Used Screenshots Usage P

Filipe Martins 1 Nov 10, 2021
A simple Python app that generates semi-random chord progressions.

chords-generator A simple Python app that generates semi-random chord progressions.

53 Sep 07, 2022
A tool to create the basics of a project

Project-Scheduler Instalação Para instalar o Project Maker, você necessita está em um ambiente de desenvolvimento Linux ou wsl com alguma distro debia

2 Dec 17, 2021
Creates a C array from a hex-string or a stream of binary data.

hex2array-c Creates a C array from a hex-string. Usage Usage: python3 hex2array_c.py HEX_STRING [-h|--help] Use '-' to read the hex string from STDIN.

John Doe 3 Nov 24, 2022
Every 2 minutes, check for visa slots at VFS website

vfs-visa-slot-germany Every 2 minutes, check for visa slots at VFS website. If there are any, send a call and a message of the format: Sent from your

12 Dec 15, 2022
Simplex using Jordan exchanges taught in 236A

Simplex for 236A Python script to solve LP using simplex by Jordan exchanges taught in 236A. You will need python installed along with the 'numpy' and

Kunal Kishore 1 Nov 30, 2021
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
A tiny Python library for generating public IDs from integers

pids Create short public identifiers based on integer IDs. Installation pip install pids Usage from pids import pid public_id = pid.from_int(1234) #

Simon Willison 7 Nov 11, 2021
A dictionary that can be flattened and re-inflated

deflatable-dict A dictionary that can be flattened and re-inflated. Particularly useful if you're interacting with yaml, for example. Installation wit

Lucas Sargent 2 Oct 18, 2021
Edit SRT files to delay subtitle time-stamps.

subtitle-delay A program written in Python that directly edits SRT file to delay the subtitles. Features: Will throw an error if delaying with negativ

8 Jul 17, 2022
About Library for extract infomation from thai personal identity card.

ThaiPersonalCardExtract Library for extract infomation from thai personal identity card. imprement from easyocr and tesseract New Feature v1.3.2 🎁 In

ggafiled 26 Nov 15, 2022
Experimental python optimistic rollup fraud-proof generation

Macula Experimental python optimistic rollup fraud-proof generation tech by @protolambda. Working on a python version for brevity and simplicity. See

Diederik Loerakker 30 Sep 01, 2022
Package that allows for validate and sanitize of string values.

py.validator A library of string validators and sanitizers Insipired by validator.js Strings only This library validates and sanitizes strings only. P

Sanel Hadzini 22 Nov 08, 2022
Genart - Generate random art to sell as nfts

Genart - Generate random art to sell as nfts Usage git clone

Will 13 Mar 17, 2022
Tools for binary data on cassette

Micro Manchester Tape Storage Tools for storing binary data on cassette Includes: Python script for encoding Arduino sketch for decoding Eagle CAD fil

Zack Nelson 28 Dec 25, 2022