-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f092c44
commit b3d8b82
Showing
4 changed files
with
51 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,8 @@ __pycache__ | |
*.pyc | ||
*.pyo | ||
*.pyd | ||
.temp | ||
.temp | ||
*.secret | ||
*.log | ||
*.egg-info | ||
*.egg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
## | ||
## Hand-e project, 2024 | ||
## hostasphere python profiler api | ||
## File description: | ||
## Makefile | ||
## | ||
|
||
TOKEN_FILE = token.secret | ||
|
||
all: clean build upload | ||
|
||
build: | ||
python setup.py sdist bdist_wheel | ||
|
||
upload: | ||
@echo "Uploading to PyPI..." | ||
@TOKEN=$$(cat $(TOKEN_FILE)) && \ | ||
twine upload -r pypi -u __token__ -p $$TOKEN dist/* | ||
|
||
clean: | ||
rm -rf dist build *.egg-info | ||
|
||
fclean: clean | ||
rm -rf .tox .pytest_cache .coverage | ||
|
||
.PHONY: all build upload clean generate_grpc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from setuptools import setup, find_packages | ||
|
||
setup( | ||
name="llm_price_scraper", | ||
version="1.0.0", | ||
packages=find_packages(), | ||
install_requires=[ | ||
"requests==2.32.3", | ||
"beautifulsoup4==4.12.3" | ||
], | ||
author="WilliamJlvt", | ||
description="A simple Python SDK to scrape and retrieve pricing information for Large Language Models (LLMs) from an external webpage, with structured models for easy integration and usage.", | ||
author_email="william.jolivet@epitech.eu", | ||
long_description=open('README.md').read(), | ||
long_description_content_type='text/markdown', | ||
url="https://github.com/WilliamJlvt/llm_price_scraper", | ||
python_requires='>=3.6', | ||
) |