Skip to content

Commit

Permalink
Merge pull request #2 from crypto-com/no-jira-add-workflows
Browse files Browse the repository at this point in the history
add poetry
  • Loading branch information
rarcifa authored Sep 24, 2024
2 parents 3dfa874 + 8af4e99 commit 434f980
Show file tree
Hide file tree
Showing 2 changed files with 170 additions and 2 deletions.
123 changes: 123 additions & 0 deletions .gitignore
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
49 changes: 47 additions & 2 deletions pyproject.toml
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"

0 comments on commit 434f980

Please sign in to comment.