We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0f78dda + a3e5bc3 commit 89e1178Copy full SHA for 89e1178
5 files changed
.gitignore
@@ -0,0 +1,2 @@
1
+.idea/*
2
+venv/*
pyhw/__init__.py
@@ -0,0 +1 @@
+__version__ = '1.0.0'
pyhw/core/__init__.py
pyhw/core/models.py
@@ -0,0 +1,9 @@
+from pydantic import BaseModel
+
3
4
+class Hello(BaseModel):
5
6
+ hello_who: str
7
8
+ def __str__(self):
9
+ return f'Hello {self.hello_who}'
setup.py
@@ -0,0 +1,13 @@
+import setuptools
+from pyhw import __version__
+setuptools.setup(
+ name='pyhw',
+ version=__version__,
+ author='ngallot',
+ description='A minimal python package',
+ packages=setuptools.find_packages(),
10
+ install_requires=[
11
+ "pydantic==0.32.2"
12
+ ]
13
+)
0 commit comments