Skip to content

Commit 3e4fc9f

Browse files
committed
📄 Add license file, update version
and first pyproject.toml
1 parent 6d4cc97 commit 3e4fc9f

File tree

3 files changed

+38
-2
lines changed

3 files changed

+38
-2
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2018 Sebastián Ramírez
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

fastapi/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
"""Fast API framework, fast high performance, fast to learn, fast to code"""
1+
"""Fast API framework, high performance, fast to learn, fast to code, fast to production"""
22

3-
__version__ = "0.1"
3+
__version__ = "0.1.0"

pyproject.toml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[build-system]
2+
requires = ["flit"]
3+
build-backend = "flit.buildapi"
4+
5+
[tool.flit.metadata]
6+
module = "fastapi"
7+
author = "Sebastián Ramírez"
8+
author-email = "[email protected]"
9+
home-page = "https://github.com/tiangolo/fastapi"
10+
classifiers = ["License :: OSI Approved :: MIT License"]
11+
requires = [
12+
"starlette >=0.9.7",
13+
"pydantic >=0.16"
14+
]
15+
requires-python = ">=3.6"

0 commit comments

Comments
 (0)