-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tools] init community profiler (#103)
* [tools] init github community analyzer * update * update * update * update * update * update * update * update * update * update * update * update * update * update
- Loading branch information
1 parent
2b34b85
commit 0aa2fba
Showing
11 changed files
with
108 additions
and
5 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
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,14 @@ | ||
setup-package: | ||
pip install virtualenv | ||
pip install build | ||
pip install twine | ||
|
||
build-package: | ||
make setup-package | ||
python -m build | ||
|
||
upload-package: | ||
python -m twine upload dist/* | ||
|
||
install: | ||
pip install -e .[dev] |
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 @@ | ||
# Community Profiler |
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,10 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools>=45", | ||
"setuptools_scm[toml]>=6.2", | ||
"wheel" | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools_scm] | ||
root = ".." |
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,50 @@ | ||
[metadata] | ||
name = community-profiler | ||
version = 0.0.1 | ||
author = Tan Li | ||
author_email = [email protected] | ||
description = Github community profiler | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
url = https://github.com/litanlitudan/skyagi/tree/main/community-profiler | ||
project_urls = | ||
Bug Tracker = https://github.com/litanlitudan/skyagi/issues | ||
Changelog = https://github.com/litanlitudan/skyagi/releases | ||
classifiers = | ||
Programming Language :: Python :: 3 | ||
License :: OSI Approved :: Apache Software License | ||
Operating System :: OS Independent | ||
|
||
[options] | ||
package_dir = | ||
= src | ||
packages = find: | ||
python_requires = >=3.8 | ||
install_requires = | ||
rich | ||
textual | ||
typer | ||
termcolor | ||
tiktoken | ||
faiss-cpu | ||
openai | ||
lancedb | ||
|
||
[options.extras_require] | ||
dev = | ||
black | ||
Faker | ||
flake8 | ||
isort | ||
memray | ||
pdbpp | ||
pytest | ||
richbench | ||
|
||
[options.packages.find] | ||
where = | ||
src | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
community-profiler = community_profiler:cli |
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,3 @@ | ||
from .cli import cli | ||
|
||
__all__ = [cli] |
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,15 @@ | ||
import typer | ||
|
||
cli = typer.Typer() | ||
|
||
|
||
@cli.callback(invoke_without_command=True) | ||
def main(ctx: typer.Context): | ||
""" | ||
Default behavior | ||
""" | ||
# only run without a command specified | ||
if ctx.invoked_subcommand is not None: | ||
return | ||
|
||
print("Hello from community profiler!") |
Empty file.
Empty file.
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
0aa2fba
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
skyagi – ./
skyagi-sky-agi.vercel.app
app.skyagi.ai
skyagi.vercel.app
skyagi-git-main-sky-agi.vercel.app