Skip to content

Commit

Permalink
deployed the package
Browse files Browse the repository at this point in the history
  • Loading branch information
shivendrra committed Sep 3, 2024
1 parent 388db5a commit bf12c06
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 14 deletions.
23 changes: 16 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,14 @@
with codecs.open(os.path.join(current_dir, "README.md"), encoding="utf-8") as file:
long_description = "\n" + file.read()

with open("requirements.txt", encoding="utf-8") as f:
required = f.read().splitlines()

VERSION = '1.1.2'
DESCRIPTION = 'WebScraping library that scrapes & gathers data from multiple sources on the internet'

setup(
name="webgraze",
version=VERSION,
author="shivendra",
author_email="<shivharsh44@gmail.com>",
author_email="shivharsh44@gmail.com",
description=DESCRIPTION,
long_description=long_description,
long_description_content_type="text/markdown",
Expand All @@ -27,8 +24,20 @@
classifiers=[
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"Programing Language :: Python",
"Operating System :: Windows"
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
],
install_requires=[
"bs4",
"tqdm",
"google-api-python-client",
"requests",
"youtube-transcript-api",
"selenium",
"webdriver-manager",
],
install_requires=required,
)
12 changes: 5 additions & 7 deletions test.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import os
current_directory = os.path.dirname(os.path.abspath(__file__))
os.chdir(current_directory)
from webgraze import Pexels
from webgraze.queries import Queries

from graze import Freesound

sound = Freesound(api_key="lMKgKjaRmNMZKKxNqkjx", download_dir="audios", metrics=True)
sound(topics=["clicks", "background", "nature"])
queries = Queries("images")
scraper = Pexels(directory="./images", metrics=True)
scraper(topics=queries())

0 comments on commit bf12c06

Please sign in to comment.