├── pyproject.toml ├── src └── bigbookpython │ ├── __main__.py │ └── __init__.py ├── Pipfile ├── README.md ├── setup.py └── .gitignore /pyproject.toml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/bigbookpython/__main__.py: -------------------------------------------------------------------------------- 1 | if __name__ == '__main__': 2 | import bigbookpython 3 | -------------------------------------------------------------------------------- /Pipfile: -------------------------------------------------------------------------------- 1 | [[source]] 2 | name = "pypi" 3 | url = "https://pypi.org/simple" 4 | verify_ssl = true 5 | 6 | [dev-packages] 7 | 8 | [packages] 9 | bigbookpython = {editable = true, path = "."} 10 | 11 | [requires] 12 | python_version = "3.9" 13 | -------------------------------------------------------------------------------- /src/bigbookpython/__init__.py: -------------------------------------------------------------------------------- 1 | """Big Book Python Modules 2 | By Al Sweigart al@inventwithpython.com 3 | 4 | A module to install the dependencies for the projects in The Big Book of Small Python Projects.""" 5 | 6 | __version__ = '0.1.1' 7 | 8 | import webbrowser 9 | webbrowser.open('https://inventwithpython.com/bigbookpython/') -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Big Book Python Modules 2 | ====== 3 | 4 | A module to install the dependencies for the projects in The Big Book of Small Python Projects. 5 | 6 | Installation 7 | ------------ 8 | 9 | To install with pip on Windows, run: 10 | 11 | pip install --user bigbookpython 12 | 13 | To install with pip on macOS/Linux, run: 14 | 15 | pip3 install --user bigbookpython 16 | 17 | Installing the bigbookpython module installs the pyperclip, bext, playsound, and pyttsx3 modules all at once. 18 | 19 | * https://pypi.org/project/pyperclip/ 20 | * https://pypi.org/project/bext/ 21 | * https://pypi.org/project/playsound/ 22 | * https://pypi.org/project/pyttsx3/ 23 | 24 | Contribute 25 | ---------- 26 | 27 | If you'd like to contribute to Big Book Python Modules, check out https://github.com/asweigart/bigbookpython 28 | 29 | Support 30 | ------- 31 | 32 | If you find this project helpful and would like to support its development, [consider donating to its creator on Patreon](https://www.patreon.com/AlSweigart). 33 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- 1 | import io 2 | import os 3 | import re 4 | from setuptools import setup, find_packages 5 | 6 | scriptFolder = os.path.dirname(os.path.realpath(__file__)) 7 | os.chdir(scriptFolder) 8 | 9 | # Find version info from module (without importing the module): 10 | with open("src/bigbookpython/__init__.py", "r") as fileObj: 11 | version = re.search( 12 | r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fileObj.read(), re.MULTILINE 13 | ).group(1) 14 | 15 | # Use the README.md content for the long description: 16 | with io.open("README.md", encoding="utf-8") as fileObj: 17 | long_description = fileObj.read() 18 | 19 | setup( 20 | name="BigBookPython", 21 | version=version, 22 | url="https://github.com/asweigart/bigbookpython", 23 | author="Al Sweigart", 24 | author_email="al@inventwithpython.com", 25 | description=("""A module to install the dependencies for the projects in The Big Book of Small Python Projects."""), 26 | long_description=long_description, 27 | long_description_content_type="text/markdown", 28 | license="MIT", 29 | packages=find_packages(where="src"), 30 | package_dir={"": "src"}, 31 | test_suite="tests", 32 | install_requires=['pyperclip', 'bext', 'playsound', 'pyttsx3'], 33 | keywords="", 34 | classifiers=[ 35 | "License :: OSI Approved :: MIT License", 36 | "Programming Language :: Python", 37 | "Programming Language :: Python :: 3", 38 | "Programming Language :: Python :: 3.5", 39 | "Programming Language :: Python :: 3.6", 40 | "Programming Language :: Python :: 3.7", 41 | "Programming Language :: Python :: 3.8", 42 | "Programming Language :: Python :: 3.9", 43 | ], 44 | ) 45 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | build/ 12 | develop-eggs/ 13 | dist/ 14 | downloads/ 15 | eggs/ 16 | .eggs/ 17 | lib/ 18 | lib64/ 19 | parts/ 20 | sdist/ 21 | var/ 22 | wheels/ 23 | pip-wheel-metadata/ 24 | share/python-wheels/ 25 | *.egg-info/ 26 | .installed.cfg 27 | *.egg 28 | MANIFEST 29 | 30 | # PyInstaller 31 | # Usually these files are written by a python script from a template 32 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 33 | *.manifest 34 | *.spec 35 | 36 | # Installer logs 37 | pip-log.txt 38 | pip-delete-this-directory.txt 39 | 40 | # Unit test / coverage reports 41 | htmlcov/ 42 | .tox/ 43 | .nox/ 44 | .coverage 45 | .coverage.* 46 | .cache 47 | nosetests.xml 48 | coverage.xml 49 | *.cover 50 | .hypothesis/ 51 | .pytest_cache/ 52 | 53 | # Translations 54 | *.mo 55 | *.pot 56 | 57 | # Django stuff: 58 | *.log 59 | local_settings.py 60 | db.sqlite3 61 | db.sqlite3-journal 62 | 63 | # Flask stuff: 64 | instance/ 65 | .webassets-cache 66 | 67 | # Scrapy stuff: 68 | .scrapy 69 | 70 | # Sphinx documentation 71 | docs/_build/ 72 | 73 | # PyBuilder 74 | target/ 75 | 76 | # Jupyter Notebook 77 | .ipynb_checkpoints 78 | 79 | # IPython 80 | profile_default/ 81 | ipython_config.py 82 | 83 | # pyenv 84 | .python-version 85 | 86 | # pipenv 87 | # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. 88 | # However, in case of collaboration, if having platform-specific dependencies or dependencies 89 | # having no cross-platform support, pipenv may install dependencies that don't work, or not 90 | # install all needed dependencies. 91 | #Pipfile.lock 92 | 93 | # celery beat schedule file 94 | celerybeat-schedule 95 | 96 | # SageMath parsed files 97 | *.sage.py 98 | 99 | # Environments 100 | .env 101 | .venv 102 | env/ 103 | venv/ 104 | ENV/ 105 | env.bak/ 106 | venv.bak/ 107 | 108 | # Spyder project settings 109 | .spyderproject 110 | .spyproject 111 | 112 | # Rope project settings 113 | .ropeproject 114 | 115 | # mkdocs documentation 116 | /site 117 | 118 | # mypy 119 | .mypy_cache/ 120 | .dmypy.json 121 | dmypy.json 122 | 123 | # Pyre type checker 124 | .pyre/ 125 | --------------------------------------------------------------------------------