-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from crypto-com/no-jira-add-workflows
add poetry
- Loading branch information
Showing
2 changed files
with
170 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,123 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
wheels/ | ||
share/python-wheels/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
MANIFEST | ||
|
||
# Virtual environments | ||
venv/ | ||
ENV/ | ||
env/ | ||
.venv/ | ||
*.venv | ||
|
||
# Poetry virtual environments | ||
poetry.lock | ||
.pdm.toml | ||
|
||
# Jupyter Notebook | ||
.ipynb_checkpoints | ||
|
||
# PyCharm | ||
.idea/ | ||
|
||
# VS Code | ||
.vscode/ | ||
|
||
# pyenv | ||
.python-version | ||
|
||
# celery beat schedule file | ||
celerybeat-schedule | ||
celerybeat.pid | ||
|
||
# dotenv | ||
.env | ||
.env.* | ||
|
||
# pyre type checker | ||
.pyre/ | ||
|
||
# mypy type checker | ||
.mypy_cache/ | ||
.dmypy.json | ||
dmypy.json | ||
|
||
# pytest | ||
.cache/ | ||
*.pytest_cache/ | ||
|
||
# Coverage reports | ||
htmlcov/ | ||
.coverage | ||
.coverage.* | ||
.cache/ | ||
nosetests.xml | ||
coverage.xml | ||
*.cover | ||
.hypothesis/ | ||
.pytest_cache/ | ||
|
||
# pylint | ||
pylint.log | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# Cython | ||
*.c | ||
*.cpp | ||
*.cxx | ||
*.h | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.nox/ | ||
.coverage | ||
coverage.xml | ||
*.cover | ||
*.py,cover | ||
.cache | ||
|
||
# Miscellaneous | ||
*.log | ||
*.pot | ||
*.log.* | ||
*.out | ||
*.pid | ||
*.pid.lock | ||
*.pid.txt | ||
|
||
# Logs and databases | ||
*.log | ||
*.sql | ||
*.sqlite3 | ||
|
||
# Editors | ||
*.sublime* | ||
*~ | ||
*~ | ||
.*.swp |
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 |
---|---|---|
@@ -1,3 +1,48 @@ | ||
[tool.poetry] | ||
name = "cdc-ai-agent-client" | ||
version = "1.0.0-beta" | ||
description = "A python client to interact with the crypto.com AI agent service" | ||
authors = ["Ric Arcifa <[email protected]>"] | ||
license = "MIT" | ||
keywords = ["agent", "blockchain", "crypto.com", "AI", "CDC"] | ||
readme = "README.md" | ||
homepage = "https://github.com/crypto-com/cdc-ai-agent-client-py" | ||
repository = "https://github.com/crypto-com/cdc-ai-agent-client-py" | ||
documentation = "https://github.com/crypto-com/cdc-ai-agent-client-py" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.8.1" | ||
requests = "^2.32.3" | ||
|
||
[tool.poetry.dev-dependencies] | ||
pytest = "^8.3.3" | ||
flake8 = "^7.1.1" | ||
black = "^24.8.0" | ||
isort = "^5.13.2" | ||
|
||
[build-system] | ||
requires = ["setuptools", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.black] | ||
line-length = 88 | ||
target-version = ['py39'] | ||
include = '\.pyi?$' | ||
exclude = ''' | ||
( | ||
/( | ||
\.eggs | ||
| \.git | ||
| \.tox | ||
| \.venv | ||
| build | ||
| dist | ||
)/ | ||
) | ||
''' | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
||
[tool.poetry.scripts] | ||
cdc-ai-agent-client = "cdc_ai_agent_client.cli:main" |