From 9b27ad8485264d3fc1436a9b22f9b71f73180b73 Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Sat, 16 Nov 2024 17:51:21 -0600 Subject: [PATCH] add old files --- gamev1.py | 167 +++++++++++++ original.txt | 147 ++++++++++++ poetry.lock | 641 +++++++++++++++++++++++++++++++++++++++++++++++++ pyproject.toml | 21 ++ 4 files changed, 976 insertions(+) create mode 100644 gamev1.py create mode 100644 original.txt create mode 100644 poetry.lock create mode 100644 pyproject.toml diff --git a/gamev1.py b/gamev1.py new file mode 100644 index 0000000..6cbd3a0 --- /dev/null +++ b/gamev1.py @@ -0,0 +1,167 @@ +from fkeycapture import getchars as gco +from fkeycapture import get as g +p, e = print, exit +def i(s): + print(s,end="",flush=True) +def gc(ch): + sel = gco(chars=ch).upper() + print(sel) + return sel +p("Start your adventure!\nPick a path:\nThe left path\nThe right path") +i("Left (L) or right (R)? ") +LR = gc(["L","l","R","r"]) +if LR == "L": + print("Walking down this path, you come across a house. Do you\nEnter the house\nWalk into the woods") + i("House (H) or Woods (W)? ") + house = gc(["H","h","W","w"]) + if house == "H": + p("""Well. Who knew there was a witch in there? + +Game Over! +Ending 1/16""") + e(1) + elif house == "W": + p("You decide not to trust the house made of candy, and walk into the woods...") + i("Continue ") + g() + p("\nIt's getting late... Do you:\nPush on\nGo to sleep") + i("Push on (P) or Sleep (S)? ") + woods = gc(["P","p","S","s"]) + if woods == "P": + p("""You eventually reach the house again, even though you were walking in a straight line. The witch throws a potion at you... + +Game Over! +Ending 2/16""") + e(2) + elif woods == "S": + p("""Good night... + +???? ????? +Ending 3/16""") + e(3) +elif LR == "R": + p("You choose the right path.\nDo you:\nWalk on the left side of the path\nWalk on the right side of the path") + i("Left (L) or right (R)? ") + side = gc(["L","l","R","r"]) + if side == "L": + p("""You walk into the void. + +Game Over! +Ending 4/16""") + e(4) + elif side == "R": + p("You see a Void on the left side of the path, good thing you didn't go that way!") + i("Continue ") + g() + p("\nYou reach a large castle. Do you:\nAsk nicely to be let in\nDemand to see their leader") + i("Ask (A) or Demand (D)? ") + castle = gc(["A","a","D","d"]) + if castle == "A": + p("""The soldiers laugh at you. Then they flip a switch which flings you into the moat of lava! + +Game Over! +Ending 5/16""") + e(5) + elif castle == "D": + p("The Aliens are surprised, but they let you in their castle.") + i("Continue") + g() + p("\nYou have reached the Aliens' leader. Do you:\nLeave\nTalk to their leader\nThird option go brr") + i("Leave (L), Talk (T) or Third (3)? ") + leader = gc(["L","l","T","t","3"]) + if leader == "L": + p("""You can't leave this place! + +Game Over! +Ending 6/16""") + e(6) + elif leader == "T": + p("""The cow moos at you. Apparently the Aliens think that means to put you in the moat, which they promptly do. + +Game Over! +Ending 7/16""") + e(7) + elif leader == "3": + p("You break the fourth wall, dragging the narrator into the game with you.") + i("Excuse me? ") + g() + p("\nWhy would you pull me in here?\nI'm sick of this\nI wanted to see what would happen") + i("Sick (S) or Curious (C)? ") + nar = gc(["S","s","C","c"]) + if nar == "S": + p("""Well. Have an ending then. + +Ending 8/16""") + e(8) + elif nar == "C": + p("Hmm. I suppose I can let that one go then.") + i("Continue ") + g() + p("\nI give you a rare and magical item. Use it wisely.") + i("Oh right, the Aliens.") + g() + p("\nI leave you to the aliens. What do you do?\nSmack their leader with the rare and magical item\nTelepop to a different dimension") + i("Smack (S) or Telepop (T)? ") + rare = gc(["S","s","T","t"]) + if rare == "S": + p("""Nothing happens. The Aliens throw you into space. + +Game Over! +Ending 9/16""") + e(9) + elif rare == "T": + p("Are you tobby?\nYes\nNo, but I need to get out of here!") + i("Yes (Y) or No (N)? ") + tobby = gc(["Y","y","N","n"]) + if tobby == "Y": + p("""Liar. You Telepop to the lava dimension. You die. + +Game Over! +Ending 10/16""") + e(10) + elif tobby == "N": + p("Fine. Just this once. You telepop to a dimension where you are the Aliens' leader. Do you:\nGo to space\nGet a cow\nGet the narrator\nGet a time machine\nDance off???") + i("Space (S), Cow (C), Narrator (N), Time machine (T) or DANCE OFF (D)? ") + big = gc(["S","s","C","c","N","n","T","t","D","d"]) + if big == "S": + p("""You suffocate. + +Game Over! +Ending 11/16""") + e(11) + elif big == "C": + p("""You make a cow the Aliens' leader. You leave. The cow moos. + +Game Over! +Ending 12/16""") + e(12) + elif big == "N": + p("""I said only that once. The universe collapses. + +Game Over! +Ending 13/16""") + e(13) + elif big == "T": + p("Where do you go?\nThe Past\nThe Future") + i("Past (P) or Future (F)? ") + time = gc(["P","p","F","f"]) + if time == "P": + p("""There is nothing. + +Game Over! +Ending 14/16""") + e(14) + elif time == "F": + p("""You emerge to find the universe is ruled by aliens. They see you come out of the machine and worship you. + +You Win! +Ending 15/16""") + e(15) + elif big == "D": + p("""No. You are crushed by a tank. + +Game Over! +Ending 16/16""") + e(16) + +e("You tried to break the game. Too bad.") \ No newline at end of file diff --git a/original.txt b/original.txt new file mode 100644 index 0000000..bebf122 --- /dev/null +++ b/original.txt @@ -0,0 +1,147 @@ +[details="Start your adventure!"] +Pick a path: +[details="The left path"] +Walking down this path, you come across a house. Do you: +[details="Enter the house"] +Well. Who knew there was a witch in there? + +Game Over! +Ending 1/16 +[/details] +[details="Walk into the woods"] +You decide not to trust the house made of candy, and walk into the woods... +[details="Continue"] +It's getting late... Do you: +[details="Push on"] +You eventually reach the house again, even though you were walking in a straight line. The witch throws a potion at you... + +Game Over! +Ending 2/16 +[/details] +[details="Go to sleep"] +Good night... + +???? ????? +Ending 3/16 +[/details] +[/details] +[/details] +[/details] +[details="The right path"] +You choose the right path. +Do you: +[details="Walk on the left side of the path"] +You walk into the void. + +Game Over! +Ending 4/16 +[/details] +[details="Walk on the right side of the path"] +You see a Void on the left side of the path, good thing you didn't go that way! +[details="Continue"] +You reach a large castle. Do you: +[details="Ask nicely to be let in"] +The soldiers laugh at you. Then they flip a switch which flings you into the moat of lava! + +Game Over! +Ending 5/16 +[/details] +[details="Demand to see their leader"] +The Aliens are surprised, but they let you in their castle. +[details="Continue"] +You have reached the Aliens' leader. Do you: +[details="Leave"] +You can't leave this place! + +Game Over! +Ending 6/16 +[/details] +[details="Talk to their leader"] +The cow moos at you. Apparently the Alien's think that means to put you in the moat, which they promptly do. + +Game Over! +Ending 7/16 +[/details] +[details="Third Option go brr"] +You break the fourth wall, dragging the narrator into the game with you. +[details="Excuse me?"] +Why would you pull me in here? +[details="I'm sick of this"] +Well. Have an ending then. + +Ending 8/16 +[/details] +[details="I wanted to see what would happen"] +Hmm. I suppose I can let that one go then. +[details="Continue"] +I give you a rare and magical item. Use it wisely. +[details="Oh right, the Aliens."] +I leave you to the aliens. What do you do? +[details="Smack their leader with the rare and magical item"] +Nothing happens. The Aliens throw you into space. + +Game Over! +Ending 9/16 +[/details] +[details="Telepop to a different dimension"] +Are you tobby? +[details="Yes"] +Liar. You Telepop to the lava dimension. You die. + +Game Over! +Ending 10/16 +[/details] +[details="No, but I need to get out of here!"] +Fine. Just this once. You telepop to a dimension where you are the Aliens' leader. Do you: +[details="Go to space"] +You suffocate. + +Game Over! +Ending 11/16 +[/details] +[details="Get a cow"] +You make a cow the Aliens' leader. You leave. The cow moos. + +Game Over! +Ending 12/16 +[/details] +[details="Get the narrator"] +I said only that once. The universe collapses. + +Game Over! +Ending 13/16 +[/details] +[details="Get a time machine"] +Where do you go? +[details="The past"] +There is nothing. + +Game Over! +Ending 14/16 +[/details] +[details="The future"] +You emerge to find the universe is ruled by aliens. They see you come out of the machine and worship you. + +You Win! +Ending 15/16 +[/details] +[/details] +[details="Dance off???"] +No. You are crushed by a tank. + +Game Over! +Ending 16/16 +[/details] +[/details] +[/details] +[/details] +[/details] +[/details] +[/details] +[/details] +[/details] +[/details] +[/details] +[/details] +[/details] +[/details] \ No newline at end of file diff --git a/poetry.lock b/poetry.lock new file mode 100644 index 0000000..2e62be7 --- /dev/null +++ b/poetry.lock @@ -0,0 +1,641 @@ +[[package]] +name = "aiohttp" +version = "3.8.4" +description = "Async http client/server framework (asyncio)" +category = "main" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +aiosignal = ">=1.1.2" +async-timeout = ">=4.0.0a3,<5.0" +attrs = ">=17.3.0" +charset-normalizer = ">=2.0,<4.0" +frozenlist = ">=1.1.1" +multidict = ">=4.5,<7.0" +yarl = ">=1.0,<2.0" + +[package.extras] +speedups = ["aiodns", "brotli", "cchardet"] + +[[package]] +name = "aiosignal" +version = "1.3.1" +description = "aiosignal: a list of registered asynchronous callbacks" +category = "main" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +frozenlist = ">=1.1.0" + +[[package]] +name = "argon2-cffi" +version = "21.3.0" +description = "The secure Argon2 password hashing algorithm." +category = "main" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +argon2-cffi-bindings = "*" + +[package.extras] +dev = ["pre-commit", "cogapp", "tomli", "coverage[toml] (>=5.0.2)", "hypothesis", "pytest", "sphinx", "sphinx-notfound-page", "furo"] +docs = ["sphinx", "sphinx-notfound-page", "furo"] +tests = ["coverage[toml] (>=5.0.2)", "hypothesis", "pytest"] + +[[package]] +name = "argon2-cffi-bindings" +version = "21.2.0" +description = "Low-level CFFI bindings for Argon2" +category = "main" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +cffi = ">=1.0.1" + +[package.extras] +dev = ["pytest", "cogapp", "pre-commit", "wheel"] +tests = ["pytest"] + +[[package]] +name = "async-timeout" +version = "4.0.2" +description = "Timeout context manager for asyncio programs" +category = "main" +optional = false +python-versions = ">=3.6" + +[[package]] +name = "attrs" +version = "22.2.0" +description = "Classes Without Boilerplate" +category = "main" +optional = false +python-versions = ">=3.6" + +[package.extras] +cov = ["attrs", "coverage-enable-subprocess", "coverage[toml] (>=5.3)"] +dev = ["attrs"] +docs = ["furo", "sphinx", "myst-parser", "zope.interface", "sphinx-notfound-page", "sphinxcontrib-towncrier", "towncrier"] +tests = ["attrs", "zope.interface"] +tests-no-zope = ["hypothesis", "pympler", "pytest (>=4.3.0)", "pytest-xdist", "cloudpickle", "mypy (>=0.971,<0.990)", "pytest-mypy-plugins"] +tests_no_zope = ["hypothesis", "pympler", "pytest (>=4.3.0)", "pytest-xdist", "cloudpickle", "mypy (>=0.971,<0.990)", "pytest-mypy-plugins"] + +[[package]] +name = "certifi" +version = "2022.12.7" +description = "Python package for providing Mozilla's CA Bundle." +category = "main" +optional = false +python-versions = ">=3.6" + +[[package]] +name = "cffi" +version = "1.15.1" +description = "Foreign Function Interface for Python calling C code." +category = "main" +optional = false +python-versions = "*" + +[package.dependencies] +pycparser = "*" + +[[package]] +name = "charset-normalizer" +version = "3.1.0" +description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." +category = "main" +optional = false +python-versions = ">=3.7.0" + +[[package]] +name = "click" +version = "8.1.3" +description = "Composable command line interface toolkit" +category = "main" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +colorama = {version = "*", markers = "platform_system == \"Windows\""} + +[[package]] +name = "colorama" +version = "0.4.6" +description = "Cross-platform colored terminal text." +category = "main" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" + +[[package]] +name = "cryptography" +version = "39.0.2" +description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers." +category = "main" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +cffi = ">=1.12" + +[package.extras] +docs = ["sphinx (>=5.3.0)", "sphinx-rtd-theme (>=1.1.1)"] +docstest = ["pyenchant (>=1.6.11)", "twine (>=1.12.0)", "sphinxcontrib-spelling (>=4.0.1)"] +pep8test = ["black", "ruff", "mypy", "types-pytz", "types-requests", "check-manifest"] +sdist = ["setuptools-rust (>=0.11.4)"] +ssh = ["bcrypt (>=3.1.5)"] +test = ["pytest (>=6.2.0)", "pytest-shard (>=0.1.2)", "pytest-benchmark", "pytest-cov", "pytest-subtests", "pytest-xdist", "pretend", "iso8601", "pytz", "hypothesis (>=1.11.4,!=3.79.2)"] +test-randomorder = ["pytest-randomly"] +tox = ["tox"] + +[[package]] +name = "debugpy" +version = "1.6.7" +description = "An implementation of the Debug Adapter Protocol for Python" +category = "dev" +optional = false +python-versions = ">=3.7" + +[[package]] +name = "fkeycapture" +version = "1.0.10" +description = "A way to capture keystrokes" +category = "main" +optional = false +python-versions = ">=3.6" + +[[package]] +name = "flask" +version = "2.2.3" +description = "A simple framework for building complex web applications." +category = "main" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +click = ">=8.0" +itsdangerous = ">=2.0" +Jinja2 = ">=3.0" +Werkzeug = ">=2.2.2" + +[package.extras] +async = ["asgiref (>=3.2)"] +dotenv = ["python-dotenv"] + +[[package]] +name = "frozenlist" +version = "1.3.3" +description = "A list-like structure which implements collections.abc.MutableSequence" +category = "main" +optional = false +python-versions = ">=3.7" + +[[package]] +name = "idna" +version = "3.4" +description = "Internationalized Domain Names in Applications (IDNA)" +category = "main" +optional = false +python-versions = ">=3.5" + +[[package]] +name = "iso8601" +version = "1.1.0" +description = "Simple module to parse ISO 8601 dates" +category = "main" +optional = false +python-versions = ">=3.6.2,<4.0" + +[[package]] +name = "itsdangerous" +version = "2.1.2" +description = "Safely pass data to untrusted environments and back." +category = "main" +optional = false +python-versions = ">=3.7" + +[[package]] +name = "jedi" +version = "0.18.2" +description = "An autocompletion tool for Python that can be used for text editors." +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +parso = ">=0.8.0,<0.9.0" + +[package.extras] +docs = ["Jinja2 (==2.11.3)", "MarkupSafe (==1.1.1)", "Pygments (==2.8.1)", "alabaster (==0.7.12)", "babel (==2.9.1)", "chardet (==4.0.0)", "commonmark (==0.8.1)", "docutils (==0.17.1)", "future (==0.18.2)", "idna (==2.10)", "imagesize (==1.2.0)", "mock (==1.0.1)", "packaging (==20.9)", "pyparsing (==2.4.7)", "pytz (==2021.1)", "readthedocs-sphinx-ext (==2.1.4)", "recommonmark (==0.5.0)", "requests (==2.25.1)", "six (==1.15.0)", "snowballstemmer (==2.1.0)", "sphinx-rtd-theme (==0.4.3)", "sphinx (==1.8.5)", "sphinxcontrib-serializinghtml (==1.1.4)", "sphinxcontrib-websupport (==1.2.4)", "urllib3 (==1.26.4)"] +qa = ["flake8 (==3.8.3)", "mypy (==0.782)"] +testing = ["Django (<3.1)", "attrs", "colorama", "docopt", "pytest (<7.0.0)"] + +[[package]] +name = "jinja2" +version = "3.1.2" +description = "A very fast and expressive template engine." +category = "main" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +MarkupSafe = ">=2.0" + +[package.extras] +i18n = ["Babel (>=2.7)"] + +[[package]] +name = "markupsafe" +version = "2.1.2" +description = "Safely add untrusted strings to HTML/XML markup." +category = "main" +optional = false +python-versions = ">=3.7" + +[[package]] +name = "multidict" +version = "6.0.4" +description = "multidict implementation" +category = "main" +optional = false +python-versions = ">=3.7" + +[[package]] +name = "numpy" +version = "1.24.2" +description = "Fundamental package for array computing in Python" +category = "main" +optional = false +python-versions = ">=3.8" + +[[package]] +name = "packaging" +version = "23.1" +description = "Core utilities for Python packages" +category = "dev" +optional = false +python-versions = ">=3.7" + +[[package]] +name = "parso" +version = "0.8.3" +description = "A Python Parser" +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.extras] +qa = ["flake8 (==3.8.3)", "mypy (==0.782)"] +testing = ["docopt", "pytest (<6.0.0)"] + +[[package]] +name = "passlib" +version = "1.7.4" +description = "comprehensive password hashing framework supporting over 30 schemes" +category = "main" +optional = false +python-versions = "*" + +[package.dependencies] +argon2-cffi = {version = ">=18.2.0", optional = true, markers = "extra == \"argon2\""} + +[package.extras] +argon2 = ["argon2-cffi (>=18.2.0)"] +bcrypt = ["bcrypt (>=3.1.0)"] +build_docs = ["sphinx (>=1.6)", "sphinxcontrib-fulltoc (>=1.2.0)", "cloud-sptheme (>=1.10.1)"] +totp = ["cryptography"] + +[[package]] +name = "platformdirs" +version = "3.2.0" +description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.extras] +docs = ["furo (>=2022.12.7)", "proselint (>=0.13)", "sphinx-autodoc-typehints (>=1.22,!=1.23.4)", "sphinx (>=6.1.3)"] +test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest-cov (>=4)", "pytest-mock (>=3.10)", "pytest (>=7.2.2)"] + +[[package]] +name = "pluggy" +version = "1.0.0" +description = "plugin and hook calling mechanisms for python" +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.extras] +testing = ["pytest-benchmark", "pytest"] +dev = ["tox", "pre-commit"] + +[[package]] +name = "protobuf" +version = "4.22.3" +description = "" +category = "main" +optional = false +python-versions = ">=3.7" + +[[package]] +name = "pycparser" +version = "2.21" +description = "C parser in Python" +category = "main" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" + +[[package]] +name = "pycryptodomex" +version = "3.17" +description = "Cryptographic library for Python" +category = "main" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" + +[[package]] +name = "pyflakes" +version = "2.5.0" +description = "passive checker of Python programs" +category = "dev" +optional = false +python-versions = ">=3.6" + +[[package]] +name = "pyseto" +version = "1.7.1" +description = "A Python implementation of PASETO/PASERK." +category = "main" +optional = false +python-versions = ">=3.7,<4.0" + +[package.dependencies] +cryptography = ">=36,<40" +iso8601 = ">=1.0.2,<2.0.0" +passlib = {version = ">=1.7.4,<2.0.0", extras = ["argon2"]} +pycryptodomex = ">=3.12.0,<4.0.0" + +[package.extras] +docs = ["Sphinx[docs] (>=4.3.2,<6.0.0)", "sphinx-autodoc-typehints[docs] (==1.21.0)", "sphinx-rtd-theme[docs] (>=1.0.0,<2.0.0)"] + +[[package]] +name = "python-lsp-jsonrpc" +version = "1.0.0" +description = "JSON RPC 2.0 server library" +category = "dev" +optional = false +python-versions = "*" + +[package.dependencies] +ujson = ">=3.0.0" + +[package.extras] +test = ["coverage", "pytest-cov", "pytest", "pyflakes", "pycodestyle", "pylint"] + +[[package]] +name = "pytoolconfig" +version = "1.2.5" +description = "Python tool configuration" +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +packaging = ">=22.0" +platformdirs = {version = ">=1.4.4", optional = true, markers = "extra == \"global\""} +tomli = {version = ">=2.0.1", markers = "python_version < \"3.11\""} + +[package.extras] +doc = ["tabulate (>=0.8.9)", "sphinx (>=4.5.0)"] +gendocs = ["sphinx (>=4.5.0)", "sphinx-autodoc-typehints (>=1.18.1)", "sphinx-rtd-theme (>=1.0.0)", "pytoolconfig"] +global = ["platformdirs (>=1.4.4)"] +validation = ["pydantic (>=1.7.4)"] + +[[package]] +name = "replit" +version = "3.2.7" +description = "A library for interacting with features of repl.it" +category = "main" +optional = false +python-versions = ">=3.8,<4.0" + +[package.dependencies] +aiohttp = ">=3.6.2,<4.0.0" +Flask = ">=2.0.0,<3.0.0" +protobuf = ">=4.21.8,<5.0.0" +pyseto = ">=1.6.11,<2.0.0" +requests = ">=2.25.1,<3.0.0" +typing_extensions = ">=3.7.4,<4.0.0" +Werkzeug = ">=2.0.0,<3.0.0" + +[[package]] +name = "replit-python-lsp-server" +version = "1.15.9" +description = "Python Language Server for the Language Server Protocol" +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +jedi = ">=0.17.2,<0.19.0" +pluggy = ">=1.0.0" +pyflakes = {version = ">=2.5.0,<2.6.0", optional = true, markers = "extra == \"pyflakes\""} +python-lsp-jsonrpc = ">=1.0.0" +rope = {version = ">0.10.5", optional = true, markers = "extra == \"rope\""} +toml = ">=0.10.2" +ujson = ">=3.0.0" +whatthepatch = {version = ">=1.0.2,<2.0.0", optional = true, markers = "extra == \"yapf\""} +yapf = {version = "*", optional = true, markers = "extra == \"yapf\""} + +[package.extras] +all = ["autopep8 (>=1.6.0,<1.7.0)", "flake8 (>=5.0.0,<5.1.0)", "mccabe (>=0.7.0,<0.8.0)", "pycodestyle (>=2.9.0,<2.10.0)", "pydocstyle (>=2.0.0)", "pyflakes (>=2.5.0,<2.6.0)", "pylint (>=2.5.0)", "rope (>=0.10.5)", "yapf", "whatthepatch"] +autopep8 = ["autopep8 (>=1.6.0,<1.7.0)"] +flake8 = ["flake8 (>=5.0.0,<5.1.0)"] +mccabe = ["mccabe (>=0.7.0,<0.8.0)"] +pycodestyle = ["pycodestyle (>=2.9.0,<2.10.0)"] +pydocstyle = ["pydocstyle (>=2.0.0)"] +pyflakes = ["pyflakes (>=2.5.0,<2.6.0)"] +pylint = ["pylint (>=2.5.0)"] +rope = ["rope (>0.10.5)"] +test = ["pylint (>=2.5.0)", "pytest", "pytest-cov", "coverage", "numpy (<1.23)", "pandas", "matplotlib", "pyqt5", "flaky"] +websockets = ["websockets (>=10.3)"] +yapf = ["yapf", "whatthepatch (>=1.0.2,<2.0.0)"] + +[[package]] +name = "requests" +version = "2.28.2" +description = "Python HTTP for Humans." +category = "main" +optional = false +python-versions = ">=3.7, <4" + +[package.dependencies] +certifi = ">=2017.4.17" +charset-normalizer = ">=2,<4" +idna = ">=2.5,<4" +urllib3 = ">=1.21.1,<1.27" + +[package.extras] +socks = ["PySocks (>=1.5.6,!=1.5.7)"] +use_chardet_on_py3 = ["chardet (>=3.0.2,<6)"] + +[[package]] +name = "rope" +version = "1.7.0" +description = "a python refactoring library..." +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +pytoolconfig = {version = ">=1.2.2", extras = ["global"]} + +[package.extras] +dev = ["pytest (>=7.0.1)", "pytest-timeout (>=2.1.0)", "build (>=0.7.0)", "pre-commit (>=2.20.0)"] +doc = ["pytoolconfig", "sphinx (>=4.5.0)", "sphinx-autodoc-typehints (>=1.18.1)", "sphinx-rtd-theme (>=1.0.0)"] + +[[package]] +name = "toml" +version = "0.10.2" +description = "Python Library for Tom's Obvious, Minimal Language" +category = "dev" +optional = false +python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" + +[[package]] +name = "tomli" +version = "2.0.1" +description = "A lil' TOML parser" +category = "dev" +optional = false +python-versions = ">=3.7" + +[[package]] +name = "typing-extensions" +version = "3.10.0.2" +description = "Backported and Experimental Type Hints for Python 3.5+" +category = "main" +optional = false +python-versions = "*" + +[[package]] +name = "ujson" +version = "5.7.0" +description = "Ultra fast JSON encoder and decoder for Python" +category = "dev" +optional = false +python-versions = ">=3.7" + +[[package]] +name = "urllib3" +version = "1.26.15" +description = "HTTP library with thread-safe connection pooling, file post, and more." +category = "main" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" + +[package.extras] +brotli = ["brotlicffi (>=0.8.0)", "brotli (>=1.0.9)", "brotlipy (>=0.6.0)"] +secure = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "certifi", "urllib3-secure-extra", "ipaddress"] +socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] + +[[package]] +name = "werkzeug" +version = "2.2.3" +description = "The comprehensive WSGI web application library." +category = "main" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +MarkupSafe = ">=2.1.1" + +[package.extras] +watchdog = ["watchdog"] + +[[package]] +name = "whatthepatch" +version = "1.0.4" +description = "A patch parsing and application library." +category = "dev" +optional = false +python-versions = ">=3.7" + +[[package]] +name = "yapf" +version = "0.32.0" +description = "A formatter for Python code." +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "yarl" +version = "1.8.2" +description = "Yet another URL library" +category = "main" +optional = false +python-versions = ">=3.7" + +[package.dependencies] +idna = ">=2.0" +multidict = ">=4.0" + +[metadata] +lock-version = "1.1" +python-versions = ">=3.10.0,<3.11" +content-hash = "8448e0054ba9299f3e1c011134261a9b1bdce61877333234b3513616bd965199" + +[metadata.files] +aiohttp = [] +aiosignal = [] +argon2-cffi = [] +argon2-cffi-bindings = [] +async-timeout = [] +attrs = [] +certifi = [] +cffi = [] +charset-normalizer = [] +click = [] +colorama = [] +cryptography = [] +debugpy = [] +fkeycapture = [] +flask = [] +frozenlist = [] +idna = [] +iso8601 = [] +itsdangerous = [] +jedi = [] +jinja2 = [] +markupsafe = [] +multidict = [] +numpy = [] +packaging = [] +parso = [] +passlib = [] +platformdirs = [] +pluggy = [] +protobuf = [] +pycparser = [] +pycryptodomex = [] +pyflakes = [] +pyseto = [] +python-lsp-jsonrpc = [] +pytoolconfig = [] +replit = [] +replit-python-lsp-server = [] +requests = [] +rope = [] +toml = [] +tomli = [] +typing-extensions = [] +ujson = [] +urllib3 = [] +werkzeug = [] +whatthepatch = [] +yapf = [] +yarl = [] diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..11f7f7a --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,21 @@ +[tool.poetry] +name = "python-template" +version = "0.1.0" +description = "" +authors = ["Your Name "] + +[tool.poetry.dependencies] +python = ">=3.10.0,<3.11" +numpy = "^1.22.2" +replit = "^3.2.4" +Flask = "^2.2.0" +urllib3 = "^1.26.12" +fkeycapture = "^1.0.10" + +[tool.poetry.dev-dependencies] +debugpy = "^1.6.2" +replit-python-lsp-server = {extras = ["yapf", "rope", "pyflakes"], version = "^1.5.9"} + +[build-system] +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" \ No newline at end of file