v.1.0.0
Initial Release!
This commit is contained in:
parent
f11fc59db9
commit
8f99951584
21 changed files with 650 additions and 128 deletions
1
.cache/replit/__replit_disk_meta.json
Normal file
1
.cache/replit/__replit_disk_meta.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"nonce":6494760093704306076,"last_updated":{"seconds":1681990364,"nanos":523064000}}
|
Binary file not shown.
Binary file not shown.
18
build.py
18
build.py
|
@ -1,12 +1,14 @@
|
||||||
def build():
|
def build():
|
||||||
import os
|
from os import system as cmd
|
||||||
from editor import edit
|
from editor import edit
|
||||||
os.system("rm -rf package/dist")
|
cmd("rm -rf package/dist")
|
||||||
os.system("mkdir package/dist")
|
cmd("mkdir package/dist")
|
||||||
os.system("pip install --upgrade pip build twine")
|
cmd("poetry update")
|
||||||
os.system("clear")
|
cmd("clear")
|
||||||
edit()
|
useEditor = input("Run Version Editor (Y|*)?").upper()
|
||||||
os.system("clear")
|
if useEditor == "Y":
|
||||||
|
edit()
|
||||||
|
cmd("clear")
|
||||||
print("Run these commands next: \n cd package\n python3 -m build\n python3 -m twine upload -r pypi dist/*")
|
print("Run these commands next: \n cd package\n python3 -m build\n python3 -m twine upload -r pypi dist/*")
|
||||||
# __token__
|
# __token__
|
||||||
os.system("bash")
|
cmd("bash")
|
|
@ -1,10 +1,10 @@
|
||||||
def edit():
|
def edit():
|
||||||
|
ver = input("Version: ")
|
||||||
|
update = input("What's new?: ")
|
||||||
# Edit setup.cfg
|
# Edit setup.cfg
|
||||||
my_file = open("package/setup.cfg")
|
my_file = open("package/setup.cfg")
|
||||||
string_list = my_file.readlines()
|
string_list = my_file.readlines()
|
||||||
my_file.close()
|
my_file.close()
|
||||||
ver = input("Version: ")
|
|
||||||
update = input("What's new?: ")
|
|
||||||
string_list[2] = f"version = {ver}\n"
|
string_list[2] = f"version = {ver}\n"
|
||||||
my_file = open("package/setup.cfg", "w")
|
my_file = open("package/setup.cfg", "w")
|
||||||
new_file_contents = "".join(string_list)
|
new_file_contents = "".join(string_list)
|
||||||
|
@ -14,8 +14,8 @@ def edit():
|
||||||
my_file = open("package/README.md")
|
my_file = open("package/README.md")
|
||||||
string_list = my_file.readlines()
|
string_list = my_file.readlines()
|
||||||
my_file.close()
|
my_file.close()
|
||||||
string_list[9] = f"###### v.{ver}:\n"
|
string_list[11] = f"###### v.{ver}:\n"
|
||||||
string_list[10] = f"{update}\n"
|
string_list[12] = f"{update}\n\n{string_list[12]}"
|
||||||
my_file = open("package/README.md", "w")
|
my_file = open("package/README.md", "w")
|
||||||
new_file_contents = "".join(string_list)
|
new_file_contents = "".join(string_list)
|
||||||
my_file.write(new_file_contents)
|
my_file.write(new_file_contents)
|
||||||
|
|
14
main.py
14
main.py
|
@ -1,6 +1,8 @@
|
||||||
#from build import build
|
import os
|
||||||
#build()
|
from build import build
|
||||||
import package.src.fkeycapture as fkey
|
if os.environ["REPL_OWNER"] == "Firepup650":
|
||||||
print(fkey.get(5))
|
build()
|
||||||
while 1:
|
exit()
|
||||||
print(fkey.getnum())
|
else:
|
||||||
|
import package.src.firepup650 as fp650
|
||||||
|
fp650.e("No demo yet!")
|
|
@ -1,12 +1,5 @@
|
||||||
# fkeycapture
|
# Firepup650
|
||||||
This is a simple and easy to use package that allows you to capture individual keystrokes from the user.
|
Package containing various shorthand things I use, and a few imports I almost always use
|
||||||
#### Forms:
|
#### Change log:
|
||||||
1. (Default) Recive key as a string
|
###### v.1.0.0:
|
||||||
2. Recive key as bytes
|
Initial Release!
|
||||||
#### How to Use:
|
|
||||||
1. from fkeycapture import get, getnum
|
|
||||||
2. Use it like this
|
|
||||||
: get([number of keys to capture],[if you want bytes output, make this 'True'])
|
|
||||||
3. To use the getnum method use like this: getnum([number of key to capture])
|
|
||||||
###### v.1.0.7:
|
|
||||||
Added the getnum method
|
|
BIN
package/dist/firepup650-1.0.0.tar.gz
vendored
Normal file
BIN
package/dist/firepup650-1.0.0.tar.gz
vendored
Normal file
Binary file not shown.
|
@ -1,15 +1,15 @@
|
||||||
[metadata]
|
[metadata]
|
||||||
name = fkeycapture
|
name = firepup650
|
||||||
version = 1.0.7
|
version = 1.0.0
|
||||||
author = Firepup650
|
author = Firepup650
|
||||||
author_email = firepyp650@gmail.com
|
author_email = firepyp650@gmail.com
|
||||||
description = A way to capture keystrokes
|
description = Package containing various shorthand things I use, and a few imports I almost always use
|
||||||
long_description = file: README.md
|
long_description = file: README.md
|
||||||
long_description_content_type = text/markdown
|
long_description_content_type = text/markdown
|
||||||
url = https://github.com/Alexander-Maples/fkeycapture
|
url = https://github.com/F1repup650/firepup650-PYPI
|
||||||
project_urls =
|
project_urls =
|
||||||
Bug Tracker = https://github.com/Alexander-Maples/fkeycapture/issues
|
Bug Tracker = https://github.com/F1repup650/firepup650-PYPI/issues
|
||||||
replit = https://replit.com/@ALEXANDERMAPLES/fkeycapture
|
replit = https://replit.com/@Firepup650/firepup650-PYPI-Package
|
||||||
classifiers =
|
classifiers =
|
||||||
Programming Language :: Python :: 3
|
Programming Language :: Python :: 3
|
||||||
License :: OSI Approved :: MIT License
|
License :: OSI Approved :: MIT License
|
||||||
|
@ -23,7 +23,7 @@ classifiers =
|
||||||
package_dir =
|
package_dir =
|
||||||
= src
|
= src
|
||||||
packages = find:
|
packages = find:
|
||||||
python_requires = >=3.6
|
python_requires = >=3.8
|
||||||
|
|
||||||
[options.packages.find]
|
[options.packages.find]
|
||||||
where = src
|
where = src
|
25
package/src/firepup650.egg-info/PKG-INFO
Normal file
25
package/src/firepup650.egg-info/PKG-INFO
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
Metadata-Version: 2.1
|
||||||
|
Name: firepup650
|
||||||
|
Version: 1.0.0
|
||||||
|
Summary: Package containing various shorthand things I use, and a few imports I almost always use
|
||||||
|
Home-page: https://github.com/F1repup650/firepup650-PYPI
|
||||||
|
Author: Firepup650
|
||||||
|
Author-email: firepyp650@gmail.com
|
||||||
|
License: UNKNOWN
|
||||||
|
Project-URL: Bug Tracker, https://github.com/F1repup650/firepup650-PYPI/issues
|
||||||
|
Project-URL: replit, https://replit.com/@Firepup650/firepup650-PYPI-Package
|
||||||
|
Description: # Firepup650
|
||||||
|
Package containing various shorthand things I use, and a few imports I almost always use
|
||||||
|
#### Change log:
|
||||||
|
###### v.1.0.0:
|
||||||
|
Initial Release!
|
||||||
|
Platform: UNKNOWN
|
||||||
|
Classifier: Programming Language :: Python :: 3
|
||||||
|
Classifier: License :: OSI Approved :: MIT License
|
||||||
|
Classifier: Operating System :: OS Independent
|
||||||
|
Classifier: Development Status :: 5 - Production/Stable
|
||||||
|
Classifier: Environment :: Console
|
||||||
|
Classifier: Intended Audience :: Developers
|
||||||
|
Classifier: Natural Language :: English
|
||||||
|
Requires-Python: >=3.8
|
||||||
|
Description-Content-Type: text/markdown
|
9
package/src/firepup650.egg-info/SOURCES.txt
Normal file
9
package/src/firepup650.egg-info/SOURCES.txt
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
LICENSE
|
||||||
|
README.md
|
||||||
|
pyproject.toml
|
||||||
|
setup.cfg
|
||||||
|
src/firepup650/__init__.py
|
||||||
|
src/firepup650.egg-info/PKG-INFO
|
||||||
|
src/firepup650.egg-info/SOURCES.txt
|
||||||
|
src/firepup650.egg-info/dependency_links.txt
|
||||||
|
src/firepup650.egg-info/top_level.txt
|
1
package/src/firepup650.egg-info/top_level.txt
Normal file
1
package/src/firepup650.egg-info/top_level.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
firepup650
|
81
package/src/firepup650/__init__.py
Normal file
81
package/src/firepup650/__init__.py
Normal file
|
@ -0,0 +1,81 @@
|
||||||
|
"""Firepup650's PYPI Package"""
|
||||||
|
import os, sys
|
||||||
|
import random as r
|
||||||
|
import fkeycapture as fkey
|
||||||
|
def clear() -> None:
|
||||||
|
"""# Function: clear
|
||||||
|
Clears the screen
|
||||||
|
# Inputs:
|
||||||
|
None
|
||||||
|
|
||||||
|
# Returns:
|
||||||
|
None
|
||||||
|
|
||||||
|
# Raises:
|
||||||
|
None"""
|
||||||
|
os.system("clear")
|
||||||
|
def cmd(command: str) -> int:
|
||||||
|
"""# Function: cmd
|
||||||
|
Runs bash commands
|
||||||
|
# Inputs:
|
||||||
|
command: str - The command to run
|
||||||
|
|
||||||
|
# Returns:
|
||||||
|
int - Status code returned by the command
|
||||||
|
|
||||||
|
# Raises:
|
||||||
|
None"""
|
||||||
|
status = os.system(command)
|
||||||
|
return status
|
||||||
|
def randint(low: int = 0, high: int = 10) -> int:
|
||||||
|
"""# Funcion: randint
|
||||||
|
A safe randint function
|
||||||
|
# Inputs:
|
||||||
|
low: int - The bottom number, defaults to 0
|
||||||
|
high: int - The top number, defaults to 10
|
||||||
|
|
||||||
|
# Returns:
|
||||||
|
int - A number between high and low
|
||||||
|
|
||||||
|
# Raises:
|
||||||
|
None"""
|
||||||
|
try:
|
||||||
|
out = r.randint(low, high)
|
||||||
|
except:
|
||||||
|
out = r.randint(high, low)
|
||||||
|
return out
|
||||||
|
def e(code: any = 0) -> None:
|
||||||
|
"""# Function: e
|
||||||
|
Exits with the provided code
|
||||||
|
# Inputs:
|
||||||
|
code: any - The status code to exit with, defaults to 0
|
||||||
|
|
||||||
|
# Returns:
|
||||||
|
None
|
||||||
|
|
||||||
|
# Raises:
|
||||||
|
None"""
|
||||||
|
sys.exit(code)
|
||||||
|
def gp(keycount: int = 1, chars: list = ["1" ,"2"], bytes: bool = False) -> str or bytes:
|
||||||
|
"""# Function: gp
|
||||||
|
Get keys and print them.
|
||||||
|
# Inputs:
|
||||||
|
keycount: int - Number of keys to get, defaults to 1
|
||||||
|
chars: list - List of keys to accept, defaults to ["1", "2"]
|
||||||
|
|
||||||
|
# Returns:
|
||||||
|
str or bytes - Keys pressed
|
||||||
|
|
||||||
|
# Raises:
|
||||||
|
None"""
|
||||||
|
got = 0
|
||||||
|
keys = ""
|
||||||
|
while got < keycount:
|
||||||
|
key = fkey.getchars(1, chars)
|
||||||
|
keys = f"{keys}{key}"
|
||||||
|
print(key,end="",flush=True)
|
||||||
|
print()
|
||||||
|
if not bytes:
|
||||||
|
return keys
|
||||||
|
else:
|
||||||
|
return keys.encode()
|
|
@ -1,33 +0,0 @@
|
||||||
Metadata-Version: 2.1
|
|
||||||
Name: fkeycapture
|
|
||||||
Version: 1.0.7
|
|
||||||
Summary: A way to capture keystrokes
|
|
||||||
Home-page: https://github.com/Alexander-Maples/fkeycapture
|
|
||||||
Author: Firepup650
|
|
||||||
Author-email: firepyp650@gmail.com
|
|
||||||
License: UNKNOWN
|
|
||||||
Project-URL: Bug Tracker, https://github.com/Alexander-Maples/fkeycapture/issues
|
|
||||||
Project-URL: replit, https://replit.com/@ALEXANDERMAPLES/fkeycapture
|
|
||||||
Description: # fkeycapture
|
|
||||||
This is a simple and easy to use package that allows you to capture individual keystrokes from the user.
|
|
||||||
#### Forms:
|
|
||||||
1. (Default) Recive key as a string
|
|
||||||
2. Recive key as bytes
|
|
||||||
#### How to Use:
|
|
||||||
1. from fkeycapture import get, getnum
|
|
||||||
2. Use it like this
|
|
||||||
: get([number of keys to capture],[if you want bytes output, make this 'True'])
|
|
||||||
3. To use the getnum method use like this: getnum([number of key to capture])
|
|
||||||
###### v.1.0.7:
|
|
||||||
Added the getnum method
|
|
||||||
|
|
||||||
Platform: UNKNOWN
|
|
||||||
Classifier: Programming Language :: Python :: 3
|
|
||||||
Classifier: License :: OSI Approved :: MIT License
|
|
||||||
Classifier: Operating System :: OS Independent
|
|
||||||
Classifier: Development Status :: 5 - Production/Stable
|
|
||||||
Classifier: Environment :: Console
|
|
||||||
Classifier: Intended Audience :: Developers
|
|
||||||
Classifier: Natural Language :: English
|
|
||||||
Requires-Python: >=3.6
|
|
||||||
Description-Content-Type: text/markdown
|
|
|
@ -1,9 +0,0 @@
|
||||||
LICENSE
|
|
||||||
README.md
|
|
||||||
pyproject.toml
|
|
||||||
setup.cfg
|
|
||||||
src/fkeycapture/__init__.py
|
|
||||||
src/fkeycapture.egg-info/PKG-INFO
|
|
||||||
src/fkeycapture.egg-info/SOURCES.txt
|
|
||||||
src/fkeycapture.egg-info/dependency_links.txt
|
|
||||||
src/fkeycapture.egg-info/top_level.txt
|
|
|
@ -1 +0,0 @@
|
||||||
fkeycapture
|
|
|
@ -1,48 +0,0 @@
|
||||||
import termios, fcntl, sys
|
|
||||||
global fd,flags_save,attrs_save
|
|
||||||
fd = sys.stdin.fileno()
|
|
||||||
flags_save = fcntl.fcntl(fd, fcntl.F_GETFL)
|
|
||||||
attrs_save = termios.tcgetattr(fd)
|
|
||||||
def getp1():
|
|
||||||
import termios, fcntl, sys, os
|
|
||||||
fd = sys.stdin.fileno()
|
|
||||||
# save old state
|
|
||||||
flags_save = fcntl.fcntl(fd, fcntl.F_GETFL)
|
|
||||||
attrs_save = termios.tcgetattr(fd)
|
|
||||||
# make raw - the way to do this comes from the termios(3) man page.
|
|
||||||
attrs = list(attrs_save) # copy the stored version to update
|
|
||||||
# iflag
|
|
||||||
attrs[0] &= ~(termios.IGNBRK | termios.BRKINT | termios.PARMRK
|
|
||||||
| termios.ISTRIP | termios.INLCR | termios. IGNCR
|
|
||||||
| termios.ICRNL | termios.IXON )
|
|
||||||
# oflag
|
|
||||||
attrs[1] &= ~termios.OPOST
|
|
||||||
# cflag
|
|
||||||
attrs[2] &= ~(termios.CSIZE | termios. PARENB)
|
|
||||||
attrs[2] |= termios.CS8
|
|
||||||
# lflag
|
|
||||||
attrs[3] &= ~(termios.ECHONL | termios.ECHO | termios.ICANON
|
|
||||||
| termios.ISIG | termios.IEXTEN)
|
|
||||||
termios.tcsetattr(fd, termios.TCSANOW, attrs)
|
|
||||||
# turn off non-blocking
|
|
||||||
fcntl.fcntl(fd, fcntl.F_SETFL, flags_save & ~os.O_NONBLOCK)
|
|
||||||
def getp2():
|
|
||||||
termios.tcsetattr(fd, termios.TCSAFLUSH, attrs_save)
|
|
||||||
fcntl.fcntl(fd, fcntl.F_SETFL, flags_save)
|
|
||||||
def get(keycount=1,bytes=False):
|
|
||||||
getp1()
|
|
||||||
key = sys.stdin.read(keycount)
|
|
||||||
getp2()
|
|
||||||
if bytes == True:
|
|
||||||
key = key.encode()
|
|
||||||
return key
|
|
||||||
def getnum(keycount=1):
|
|
||||||
internalcounter=0
|
|
||||||
keys = []
|
|
||||||
while internalcounter != keycount:
|
|
||||||
key = get()
|
|
||||||
if key == "0" or key == "1" or key == "2" or key == "3" or key == "4" or key == "5" or key == "6" or key == "7" or key == "8" or key == "9":
|
|
||||||
keys.append(key)
|
|
||||||
internalcounter += 1
|
|
||||||
key = "".join(keys)
|
|
||||||
return key
|
|
Binary file not shown.
482
poetry.lock
generated
Normal file
482
poetry.lock
generated
Normal file
|
@ -0,0 +1,482 @@
|
||||||
|
[[package]]
|
||||||
|
name = "bleach"
|
||||||
|
version = "6.0.0"
|
||||||
|
description = "An easy safelist-based HTML-sanitizing tool."
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[package.dependencies]
|
||||||
|
six = ">=1.9.0"
|
||||||
|
webencodings = "*"
|
||||||
|
|
||||||
|
[package.extras]
|
||||||
|
css = ["tinycss2 (>=1.1.0,<1.2)"]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "build"
|
||||||
|
version = "0.10.0"
|
||||||
|
description = "A simple, correct Python build frontend"
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">= 3.7"
|
||||||
|
|
||||||
|
[package.dependencies]
|
||||||
|
colorama = {version = "*", markers = "os_name == \"nt\""}
|
||||||
|
packaging = ">=19.0"
|
||||||
|
pyproject_hooks = "*"
|
||||||
|
tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""}
|
||||||
|
|
||||||
|
[package.extras]
|
||||||
|
test = ["pytest (>=6.2.4)", "filelock (>=3)", "pytest-cov (>=2.12)", "pytest-mock (>=2)", "pytest-rerunfailures (>=9.1)", "pytest-xdist (>=1.34)", "toml (>=0.10.0)", "wheel (>=0.36.0)", "setuptools (>=42.0.0)", "setuptools (>=56.0.0)"]
|
||||||
|
docs = ["furo (>=2021.08.31)", "sphinx (>=4.0,<5.0)", "sphinx-argparse-cli (>=1.5)", "sphinx-autodoc-typehints (>=1.10)"]
|
||||||
|
typing = ["importlib-metadata (>=5.1)", "mypy (==0.991)", "tomli", "typing-extensions (>=3.7.4.3)"]
|
||||||
|
virtualenv = ["virtualenv (>=20.0.35)"]
|
||||||
|
|
||||||
|
[[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 = "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 = "40.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", "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"]
|
||||||
|
test-randomorder = ["pytest-randomly"]
|
||||||
|
tox = ["tox"]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "docutils"
|
||||||
|
version = "0.19"
|
||||||
|
description = "Docutils -- Python Documentation Utilities"
|
||||||
|
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 = "importlib-metadata"
|
||||||
|
version = "6.5.0"
|
||||||
|
description = "Read metadata from Python packages"
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[package.dependencies]
|
||||||
|
zipp = ">=0.5"
|
||||||
|
|
||||||
|
[package.extras]
|
||||||
|
docs = ["sphinx (>=3.5)", "jaraco.packaging (>=9)", "rst.linker (>=1.9)", "furo", "sphinx-lint", "jaraco.tidelift (>=1.4)"]
|
||||||
|
perf = ["ipython"]
|
||||||
|
testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "flake8 (<5)", "pytest-cov", "pytest-enabler (>=1.3)", "packaging", "pyfakefs", "flufl.flake8", "pytest-perf (>=0.9.2)", "pytest-black (>=0.3.7)", "pytest-mypy (>=0.9.1)", "pytest-flake8", "importlib-resources (>=1.3)"]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "importlib-resources"
|
||||||
|
version = "5.12.0"
|
||||||
|
description = "Read resources from Python packages"
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[package.dependencies]
|
||||||
|
zipp = {version = ">=3.1.0", markers = "python_version < \"3.10\""}
|
||||||
|
|
||||||
|
[package.extras]
|
||||||
|
docs = ["sphinx (>=3.5)", "jaraco.packaging (>=9)", "rst.linker (>=1.9)", "furo", "sphinx-lint", "jaraco.tidelift (>=1.4)"]
|
||||||
|
testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "flake8 (<5)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-black (>=0.3.7)", "pytest-mypy (>=0.9.1)", "pytest-flake8"]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "jaraco.classes"
|
||||||
|
version = "3.2.3"
|
||||||
|
description = "Utility functions for Python class constructs"
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[package.dependencies]
|
||||||
|
more-itertools = "*"
|
||||||
|
|
||||||
|
[package.extras]
|
||||||
|
docs = ["sphinx (>=3.5)", "jaraco.packaging (>=9)", "rst.linker (>=1.9)", "jaraco.tidelift (>=1.4)"]
|
||||||
|
testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "flake8 (<5)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-black (>=0.3.7)", "pytest-mypy (>=0.9.1)"]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "jeepney"
|
||||||
|
version = "0.8.0"
|
||||||
|
description = "Low-level, pure Python DBus protocol wrapper."
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[package.extras]
|
||||||
|
test = ["pytest", "pytest-trio", "pytest-asyncio (>=0.17)", "testpath", "trio", "async-timeout"]
|
||||||
|
trio = ["trio", "async-generator"]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "keyring"
|
||||||
|
version = "23.13.1"
|
||||||
|
description = "Store and access your passwords safely."
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[package.dependencies]
|
||||||
|
importlib-metadata = {version = ">=4.11.4", markers = "python_version < \"3.12\""}
|
||||||
|
importlib-resources = {version = "*", markers = "python_version < \"3.9\""}
|
||||||
|
"jaraco.classes" = "*"
|
||||||
|
jeepney = {version = ">=0.4.2", markers = "sys_platform == \"linux\""}
|
||||||
|
pywin32-ctypes = {version = ">=0.2.0", markers = "sys_platform == \"win32\""}
|
||||||
|
SecretStorage = {version = ">=3.2", markers = "sys_platform == \"linux\""}
|
||||||
|
|
||||||
|
[package.extras]
|
||||||
|
completion = ["shtab"]
|
||||||
|
docs = ["sphinx (>=3.5)", "jaraco.packaging (>=9)", "rst.linker (>=1.9)", "furo", "jaraco.tidelift (>=1.4)"]
|
||||||
|
testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "flake8 (<5)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-black (>=0.3.7)", "pytest-mypy (>=0.9.1)", "pytest-flake8"]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "markdown-it-py"
|
||||||
|
version = "2.2.0"
|
||||||
|
description = "Python port of markdown-it. Markdown parsing, done right!"
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[package.dependencies]
|
||||||
|
mdurl = ">=0.1,<1.0"
|
||||||
|
|
||||||
|
[package.extras]
|
||||||
|
benchmarking = ["psutil", "pytest", "pytest-benchmark"]
|
||||||
|
code_style = ["pre-commit (>=3.0,<4.0)"]
|
||||||
|
compare = ["commonmark (>=0.9,<1.0)", "markdown (>=3.4,<4.0)", "mistletoe (>=1.0,<2.0)", "mistune (>=2.0,<3.0)", "panflute (>=2.3,<3.0)"]
|
||||||
|
linkify = ["linkify-it-py (>=1,<3)"]
|
||||||
|
plugins = ["mdit-py-plugins"]
|
||||||
|
profiling = ["gprof2dot"]
|
||||||
|
rtd = ["attrs", "myst-parser", "pyyaml", "sphinx", "sphinx-copybutton", "sphinx-design", "sphinx-book-theme"]
|
||||||
|
testing = ["coverage", "pytest", "pytest-cov", "pytest-regressions"]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "mdurl"
|
||||||
|
version = "0.1.2"
|
||||||
|
description = "Markdown URL utilities"
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "more-itertools"
|
||||||
|
version = "9.1.0"
|
||||||
|
description = "More routines for operating on iterables, beyond itertools"
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "packaging"
|
||||||
|
version = "23.1"
|
||||||
|
description = "Core utilities for Python packages"
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "pkginfo"
|
||||||
|
version = "1.9.6"
|
||||||
|
description = "Query metadata from sdists / bdists / installed packages."
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.6"
|
||||||
|
|
||||||
|
[package.extras]
|
||||||
|
testing = ["pytest", "pytest-cov"]
|
||||||
|
|
||||||
|
[[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 = "pygments"
|
||||||
|
version = "2.15.1"
|
||||||
|
description = "Pygments is a syntax highlighting package written in Python."
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[package.extras]
|
||||||
|
plugins = ["importlib-metadata"]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "pyproject-hooks"
|
||||||
|
version = "1.0.0"
|
||||||
|
description = "Wrappers to call pyproject.toml-based build backend hooks."
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[package.dependencies]
|
||||||
|
tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""}
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "pywin32-ctypes"
|
||||||
|
version = "0.2.0"
|
||||||
|
description = ""
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = "*"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "readme-renderer"
|
||||||
|
version = "37.3"
|
||||||
|
description = "readme_renderer is a library for rendering \"readme\" descriptions for Warehouse"
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[package.dependencies]
|
||||||
|
bleach = ">=2.1.0"
|
||||||
|
docutils = ">=0.13.1"
|
||||||
|
Pygments = ">=2.5.1"
|
||||||
|
|
||||||
|
[package.extras]
|
||||||
|
md = ["cmarkgfm (>=0.8.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 = "requests-toolbelt"
|
||||||
|
version = "0.10.1"
|
||||||
|
description = "A utility belt for advanced users of python-requests"
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
|
||||||
|
|
||||||
|
[package.dependencies]
|
||||||
|
requests = ">=2.0.1,<3.0.0"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "rfc3986"
|
||||||
|
version = "2.0.0"
|
||||||
|
description = "Validating URI References per RFC 3986"
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[package.extras]
|
||||||
|
idna2008 = ["idna"]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "rich"
|
||||||
|
version = "13.3.4"
|
||||||
|
description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal"
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7.0"
|
||||||
|
|
||||||
|
[package.dependencies]
|
||||||
|
markdown-it-py = ">=2.2.0,<3.0.0"
|
||||||
|
pygments = ">=2.13.0,<3.0.0"
|
||||||
|
typing-extensions = {version = ">=4.0.0,<5.0", markers = "python_version < \"3.9\""}
|
||||||
|
|
||||||
|
[package.extras]
|
||||||
|
jupyter = ["ipywidgets (>=7.5.1,<9)"]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "secretstorage"
|
||||||
|
version = "3.3.3"
|
||||||
|
description = "Python bindings to FreeDesktop.org Secret Service API"
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.6"
|
||||||
|
|
||||||
|
[package.dependencies]
|
||||||
|
cryptography = ">=2.0"
|
||||||
|
jeepney = ">=0.6"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "six"
|
||||||
|
version = "1.16.0"
|
||||||
|
description = "Python 2 and 3 compatibility utilities"
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "tomli"
|
||||||
|
version = "2.0.1"
|
||||||
|
description = "A lil' TOML parser"
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "twine"
|
||||||
|
version = "4.0.2"
|
||||||
|
description = "Collection of utilities for publishing packages on PyPI"
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[package.dependencies]
|
||||||
|
importlib-metadata = ">=3.6"
|
||||||
|
keyring = ">=15.1"
|
||||||
|
pkginfo = ">=1.8.1"
|
||||||
|
readme-renderer = ">=35.0"
|
||||||
|
requests = ">=2.20"
|
||||||
|
requests-toolbelt = ">=0.8.0,<0.9.0 || >0.9.0"
|
||||||
|
rfc3986 = ">=1.4.0"
|
||||||
|
rich = ">=12.0.0"
|
||||||
|
urllib3 = ">=1.26.0"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "typing-extensions"
|
||||||
|
version = "4.5.0"
|
||||||
|
description = "Backported and Experimental Type Hints for Python 3.7+"
|
||||||
|
category = "main"
|
||||||
|
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 = "webencodings"
|
||||||
|
version = "0.5.1"
|
||||||
|
description = "Character encoding aliases for legacy web content"
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = "*"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "zipp"
|
||||||
|
version = "3.15.0"
|
||||||
|
description = "Backport of pathlib-compatible object wrapper for zip files"
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[package.extras]
|
||||||
|
docs = ["sphinx (>=3.5)", "jaraco.packaging (>=9)", "rst.linker (>=1.9)", "furo", "sphinx-lint", "jaraco.tidelift (>=1.4)"]
|
||||||
|
testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "flake8 (<5)", "pytest-cov", "pytest-enabler (>=1.3)", "jaraco.itertools", "jaraco.functools", "more-itertools", "big-o", "pytest-black (>=0.3.7)", "pytest-mypy (>=0.9.1)", "pytest-flake8"]
|
||||||
|
|
||||||
|
[metadata]
|
||||||
|
lock-version = "1.1"
|
||||||
|
python-versions = "^3.8"
|
||||||
|
content-hash = "ffd17881930fc730266e5d5c0c1d583b4591c5f8a25163f1abe20c96ade126c9"
|
||||||
|
|
||||||
|
[metadata.files]
|
||||||
|
bleach = []
|
||||||
|
build = []
|
||||||
|
certifi = []
|
||||||
|
cffi = []
|
||||||
|
charset-normalizer = []
|
||||||
|
colorama = []
|
||||||
|
cryptography = []
|
||||||
|
docutils = []
|
||||||
|
idna = []
|
||||||
|
importlib-metadata = []
|
||||||
|
importlib-resources = []
|
||||||
|
"jaraco.classes" = []
|
||||||
|
jeepney = []
|
||||||
|
keyring = []
|
||||||
|
markdown-it-py = []
|
||||||
|
mdurl = []
|
||||||
|
more-itertools = []
|
||||||
|
packaging = []
|
||||||
|
pkginfo = []
|
||||||
|
pycparser = []
|
||||||
|
pygments = []
|
||||||
|
pyproject-hooks = []
|
||||||
|
pywin32-ctypes = []
|
||||||
|
readme-renderer = []
|
||||||
|
requests = []
|
||||||
|
requests-toolbelt = []
|
||||||
|
rfc3986 = []
|
||||||
|
rich = []
|
||||||
|
secretstorage = []
|
||||||
|
six = []
|
||||||
|
tomli = []
|
||||||
|
twine = []
|
||||||
|
typing-extensions = []
|
||||||
|
urllib3 = []
|
||||||
|
webencodings = []
|
||||||
|
zipp = []
|
17
pyproject.toml
Normal file
17
pyproject.toml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
[tool.poetry]
|
||||||
|
name = "fkeycapture"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = "Replit source"
|
||||||
|
authors = ["Firepup650"]
|
||||||
|
|
||||||
|
[tool.poetry.dependencies]
|
||||||
|
python = "^3.8"
|
||||||
|
pip = "^23.1"
|
||||||
|
build = "^0.10.0"
|
||||||
|
twine = "^4.0.2"
|
||||||
|
|
||||||
|
[tool.poetry.dev-dependencies]
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
requires = ["poetry-core>=1.0.0"]
|
||||||
|
build-backend = "poetry.core.masonry.api"
|
Loading…
Reference in a new issue