chore: first commit

This commit is contained in:
2025-10-01 17:05:21 +02:00
commit baa74c8b0a
8 changed files with 29 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
/venv
/venv/*

7
Makefile Normal file
View File

@@ -0,0 +1,7 @@
install:
echo ">>> Installing dependencies"
pip install --upgrade pip
pip install -r requirements.txt
test:
python -m pytest -v

4
README.rst Normal file
View File

@@ -0,0 +1,4 @@
Python by example
=================
The intention of this repository is to teach me the basics, along with the best or common practiced, of python development.

0
config.json Normal file
View File

2
main.py Normal file
View File

@@ -0,0 +1,2 @@
if __name__ == "__main__":
print("This is a test")

6
requirements.txt Normal file
View File

@@ -0,0 +1,6 @@
numpy==2.3.3
pandas==2.3.3
python-dateutil==2.9.0.post0
pytz==2025.2
six==1.17.0
tzdata==2025.2

View File

Binary file not shown.

8
tests/test_example.py Normal file
View File

@@ -0,0 +1,8 @@
import pytest
@pytest.fixture
def sample_data():
return [1, 2, 3]
def test_sum(sample_data):
assert sum(sample_data) == 6