commit f58ed9fee0260a3edbc39a497b4934e6defbc436 Author: Daniil Fajnberg Date: Thu Mar 11 18:17:26 2021 +0100 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fe4ca33 --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +# Python virtual environment: +/.venv/ +# pipenv lock-file and cache directory: +Pipfile.lock +/.pipenv_cache/ +# PyCharm project metadata: +/.idea/ +# Byte-compiled / optimized / DLL files: +__pycache__/ +*.py[cod] +*$py.class +# Distribution / packaging: +*.egg-info/ \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..232d194 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Dan + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Pipfile b/Pipfile new file mode 100644 index 0000000..f2797b1 --- /dev/null +++ b/Pipfile @@ -0,0 +1,13 @@ +[[source]] +url = "https://pypi.org/simple" +verify_ssl = true +name = "pypi" + +[packages] +beautifulsoup4 = "*" +aiohttp = "*" + +[dev-packages] + +[requires] +python_version = "*" diff --git a/README.md b/README.md new file mode 100644 index 0000000..bca9589 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# soupjobs + +This is the readme diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..1414157 --- /dev/null +++ b/setup.py @@ -0,0 +1,31 @@ +import setuptools + +with open("README.md", "r") as fh: + long_description = fh.read() + +setuptools.setup( + name="soupjobs", + version="0.0.1", + author="Dan", + # author_email="mail@...", + description="Simple asynchronous scraping jobs", + long_description=long_description, + long_description_content_type="text/markdown", + # url="https://github.com/...", + package_dir={'': 'src'}, + packages=setuptools.find_packages(where='src'), + install_requires=[ + 'aiohttp', + 'beautifulsoup4' + ], + extras_require={ + 'tests': ['coverage'], + }, + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + ], + python_requires='>=3.9', + keywords='webscraping html markup dom scraper attributes tags', +)