From 8d08836cd2e9b311d5f12841025713e7e2efcf9c Mon Sep 17 00:00:00 2001 From: Darren Date: Sun, 3 Nov 2019 19:02:02 +0800 Subject: [PATCH] Init project --- .gitignore | 140 +++++++++++++++++++++++++++++++++++ README.md | 0 pyproject.toml | 15 ++++ src/aiocqlengine/__init__.py | 1 + tests/__init__.py | 0 tests/test_aiocqlengine.py | 5 ++ 6 files changed, 161 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 pyproject.toml create mode 100644 src/aiocqlengine/__init__.py create mode 100644 tests/__init__.py create mode 100644 tests/test_aiocqlengine.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4840363 --- /dev/null +++ b/.gitignore @@ -0,0 +1,140 @@ +# Custom +.idea/ + +# Created by https://www.gitignore.io/api/macos,python +# Edit at https://www.gitignore.io/?templates=macos,python + +### macOS ### +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +### Python ### +# 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/ +pip-wheel-metadata/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +.hypothesis/ +.pytest_cache/ + +# Translations +*.mo +*.pot + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# pyenv +.python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# celery beat schedule file +celerybeat-schedule + +# SageMath parsed files +*.sage.py + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# Mr Developer +.mr.developer.cfg +.project +.pydevproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# End of https://www.gitignore.io/api/macos,python diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..86eef12 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,15 @@ +[tool.poetry] +name = "aiocqlengine" +version = "0.0.1" +description = "" +authors = ["Darren "] + +[tool.poetry.dependencies] +python = "^3.6" + +[tool.poetry.dev-dependencies] +pytest = "^3.0" + +[build-system] +requires = ["poetry>=0.12"] +build-backend = "poetry.masonry.api" diff --git a/src/aiocqlengine/__init__.py b/src/aiocqlengine/__init__.py new file mode 100644 index 0000000..b794fd4 --- /dev/null +++ b/src/aiocqlengine/__init__.py @@ -0,0 +1 @@ +__version__ = '0.1.0' diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_aiocqlengine.py b/tests/test_aiocqlengine.py new file mode 100644 index 0000000..d5e7289 --- /dev/null +++ b/tests/test_aiocqlengine.py @@ -0,0 +1,5 @@ +from aiocqlengine import __version__ + + +def test_version(): + assert __version__ == '0.1.0'