Add Python-related files

This commit is contained in:
Lukáš Kucharczyk 2021-06-24 20:58:39 +02:00
parent ab3f786357
commit 66061d5823
No known key found for this signature in database
GPG Key ID: 65524498C0196B64
5 changed files with 48 additions and 0 deletions

12
Pipfile Normal file
View File

@ -0,0 +1,12 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
requests = "*"
[dev-packages]
[requires]
python_version = "3.9"

6
pyproject.toml Normal file
View File

@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"

26
setup.cfg Normal file
View File

@ -0,0 +1,26 @@
[metadata]
name = manga-up
version = 0.0.1
author = Lukáš Kucharczyk
author_email = lukas@kucharczyk.xyz
description = A simple manga update checker and downloader
long_description = file: README.md
long_description_content_type = text/markdown
license = GPLv3+
url = https://git.kucharczyk.xyz/lukas/manga-up
project_urls =
Bug Tracker = https://git.kucharczyk.xyz/lukas/manga-up/issues
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Operating System :: OS Independent
Topic :: Utilities
[options]
package_dir =
= src
packages = find:
python_requires = >=3.6
[options.packages.find]
where = src

0
src/manga-up/__init__.py Normal file
View File

4
src/manga-up/manga-up.py Normal file
View File

@ -0,0 +1,4 @@
import requests
response = requests.get('https://httpbin.org/ip')
print('Code is {0}.'.format(response.status_code))