Skip to content

Commit 65524c7

Browse files
committed
chore: Create initial project structure
1 parent c8a32f4 commit 65524c7

File tree

6 files changed

+132
-0
lines changed

6 files changed

+132
-0
lines changed

.gitignore

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
env/
12+
build/
13+
!.github/actions/build/
14+
develop-eggs/
15+
dist/
16+
downloads/
17+
eggs/
18+
.eggs/
19+
lib/
20+
lib64/
21+
parts/
22+
sdist/
23+
var/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
28+
# PyInstaller
29+
# Usually these files are written by a python script from a template
30+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
31+
*.manifest
32+
*.spec
33+
34+
# Installer logs
35+
pip-log.txt
36+
pip-delete-this-directory.txt
37+
38+
# Unit test / coverage reports
39+
htmlcov/
40+
.tox/
41+
.coverage
42+
.coverage.*
43+
.cache
44+
nosetests.xml
45+
coverage.xml
46+
*,cover
47+
.hypothesis/
48+
.pytest_cache
49+
50+
# Translations
51+
*.mo
52+
*.pot
53+
54+
# Django stuff:
55+
*.log
56+
57+
# Sphinx documentation
58+
docs/_build/
59+
60+
# PyBuilder
61+
target/
62+
63+
64+
65+
venv
66+
p2venv
67+
.idea
68+
*.iml
69+
.vagrant
70+
test-packaging-venv
71+
72+
.vscode/
73+
.python-version
74+
75+
# Poetry
76+
poetry.lock

README.md

Whitespace-only changes.

client/__init__.py

Whitespace-only changes.

pyproject.toml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
[tool.poetry]
2+
name = "launchdarkly-openfeature-server"
3+
version = "0.1.0"
4+
description = "An OpenFeature provider for the LaunchDarkly Python server SDK"
5+
authors = ["LaunchDarkly <[email protected]>"]
6+
license = "Apache-2.0"
7+
readme = "README.md"
8+
repository = "https://github.com/launchdarkly/openfeature-python-server"
9+
documentation = "https://launchdarkly-openfeature-server.readthedocs.io/en/latest/"
10+
classifiers = [
11+
"Intended Audience :: Developers",
12+
"License :: OSI Approved :: Apache Software License",
13+
"Operating System :: OS Independent",
14+
"Programming Language :: Python :: 3",
15+
"Programming Language :: Python :: 3.8",
16+
"Programming Language :: Python :: 3.9",
17+
"Programming Language :: Python :: 3.10",
18+
"Programming Language :: Python :: 3.11",
19+
"Programming Language :: Python :: 3.12",
20+
"Topic :: Software Development",
21+
"Topic :: Software Development :: Libraries",
22+
]
23+
packages = [
24+
{ include = "client" },
25+
{ include = "tests" },
26+
]
27+
28+
29+
[tool.poetry.dependencies]
30+
python = "^3.8"
31+
openfeature-sdk = "0.4.1"
32+
launchdarkly-server-sdk = "<10"
33+
34+
35+
[tool.poetry.group.dev.dependencies]
36+
pytest = ">=2.8"
37+
pytest-cov = ">=2.4.0"
38+
pytest-mypy = "==0.10.3"
39+
mypy = "==1.8.0"
40+
41+
42+
[tool.mypy]
43+
python_version = "3.8"
44+
install_types = true
45+
non_interactive = true
46+
47+
48+
[tool.pytest.ini_options]
49+
addopts = ["-ra"]
50+
51+
52+
[build-system]
53+
requires = ["poetry-core"]
54+
build-backend = "poetry.core.masonry.api"

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[pycodestyle]
2+
ignore = E501

tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)