Bumping the library for version 0.2 for now and more adjustments

This commit is contained in:
Karim shoair
2024-10-31 02:14:41 +03:00
parent 3cb1696d6c
commit be2847ffb8
3 changed files with 16 additions and 9 deletions
+3 -2
View File
@@ -1,10 +1,11 @@
# Declare top-level shortcuts # Declare top-level shortcuts
from scrapling.fetcher import Fetcher
from scrapling.parser import Adaptor, Adaptors from scrapling.parser import Adaptor, Adaptors
from scrapling.custom_types import TextHandler, AttributesHandler from scrapling.custom_types import TextHandler, AttributesHandler
__author__ = "Karim Shoair (karim.shoair@pm.me)" __author__ = "Karim Shoair (karim.shoair@pm.me)"
__version__ = "0.1.2" __version__ = "0.2"
__copyright__ = "Copyright (c) 2024 Karim Shoair" __copyright__ = "Copyright (c) 2024 Karim Shoair"
__all__ = ['Adaptor', 'Adaptors', 'TextHandler', 'AttributesHandler'] __all__ = ['Adaptor', 'Adaptors', 'TextHandler', 'AttributesHandler', 'Fetcher']
+2 -2
View File
@@ -1,8 +1,8 @@
[metadata] [metadata]
name = scrapling name = scrapling
version = 0.1.2 version = 0.2
author = Karim Shoair author = Karim Shoair
author_email = karim.shoair@pm.me author_email = karim.shoair@pm.me
description = Scrapling is a powerful, flexible, adaptive, and high-performance web scraping library for Python. description = Scrapling is a powerful, flexible, adaptive, and high-performance web scraping library for Python.
license = BSD license = BSD
home-page = https://github.com/D4Vinci/Scrapling home_page = https://github.com/D4Vinci/Scrapling
+11 -5
View File
@@ -1,4 +1,4 @@
from setuptools import setup from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh: with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read() long_description = fh.read()
@@ -6,7 +6,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
setup( setup(
name="scrapling", name="scrapling",
version="0.1.2", version="0.2",
description="""Scrapling is a powerful, flexible, and high-performance web scraping library for Python. It description="""Scrapling is a powerful, flexible, and high-performance web scraping library for Python. It
simplifies the process of extracting data from websites, even when they undergo structural changes, and offers simplifies the process of extracting data from websites, even when they undergo structural changes, and offers
impressive speed improvements over many popular scraping tools.""", impressive speed improvements over many popular scraping tools.""",
@@ -15,7 +15,7 @@ setup(
author="Karim Shoair", author="Karim Shoair",
author_email="karim.shoair@pm.me", author_email="karim.shoair@pm.me",
license="BSD", license="BSD",
packages=["scrapling",], packages=find_packages(),
zip_safe=False, zip_safe=False,
package_dir={ package_dir={
"scrapling": "scrapling", "scrapling": "scrapling",
@@ -32,16 +32,17 @@ setup(
"Natural Language :: English", "Natural Language :: English",
"Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP",
"Topic :: Text Processing :: Markup", "Topic :: Text Processing :: Markup",
"Topic :: Internet :: WWW/HTTP :: Browsers",
"Topic :: Text Processing :: Markup :: HTML", "Topic :: Text Processing :: Markup :: HTML",
"Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: CPython",
"Typing :: Typed", "Typing :: Typed",
], ],
@@ -53,8 +54,13 @@ setup(
"w3lib", "w3lib",
"orjson>=3", "orjson>=3",
"tldextract", "tldextract",
'httpx[brotli,zstd]',
'playwright',
'rebrowser-playwright',
'camoufox',
'browserforge',
], ],
python_requires=">=3.7", python_requires=">=3.8",
url="https://github.com/D4Vinci/Scrapling", url="https://github.com/D4Vinci/Scrapling",
project_urls={ project_urls={
"Documentation": "https://github.com/D4Vinci/Scrapling/tree/main/docs", # For now "Documentation": "https://github.com/D4Vinci/Scrapling/tree/main/docs", # For now