Skip to content

Commit f7143a2

Browse files
committed
chore: initial commit
0 parents  commit f7143a2

File tree

8 files changed

+332
-0
lines changed

8 files changed

+332
-0
lines changed

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
github: [yaal-coop]

.github/workflows/release.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
name: bundle
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build:
10+
name: build dist files
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Install uv
16+
uses: astral-sh/setup-uv@v3
17+
with:
18+
enable-cache: true
19+
- name: build dist
20+
run: uv build
21+
- uses: actions/upload-artifact@v4
22+
with:
23+
name: artifacts
24+
path: dist/*
25+
if-no-files-found: error
26+
27+
release:
28+
name: create Github release
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: softprops/action-gh-release@v2
32+
33+
publish:
34+
name: release to pypi
35+
needs: build
36+
runs-on: ubuntu-latest
37+
38+
environment:
39+
name: pypi-release
40+
url: https://pypi.org/project/scim2-fastapi/
41+
permissions:
42+
id-token: write
43+
44+
steps:
45+
- uses: actions/download-artifact@v4
46+
with:
47+
name: artifacts
48+
path: dist
49+
50+
- name: Push build artifacts to PyPI
51+
uses: pypa/gh-action-pypi-publish@release/v1

.pre-commit-config.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
repos:
3+
- repo: https://github.com/astral-sh/ruff-pre-commit
4+
rev: v0.15.9
5+
hooks:
6+
- id: ruff-check
7+
args: [--fix, --exit-non-zero-on-fix]
8+
exclude: ^doc/guides/_examples/
9+
- id: ruff-format
10+
exclude: ^doc/guides/_examples/
11+
- repo: https://github.com/pre-commit/pre-commit-hooks
12+
rev: v6.0.0
13+
hooks:
14+
- id: fix-byte-order-marker
15+
- id: trailing-whitespace
16+
exclude: "\\.svg$|\\.map$|\\.min\\.css$|\\.min\\.js$|\\.po$|\\.pot$"
17+
- id: end-of-file-fixer
18+
exclude: "\\.svg$|\\.map$|\\.min\\.css$|\\.min\\.js$|\\.po$|\\.pot$"
19+
- id: check-toml
20+
- repo: https://github.com/pre-commit/mirrors-mypy
21+
rev: v1.20.0
22+
hooks:
23+
- id: mypy
24+
exclude: ^(tests/|conftest\.py|doc/)
25+
additional_dependencies:
26+
- pydantic[email]>=2.7.0
27+
- repo: https://github.com/codespell-project/codespell
28+
rev: v2.4.2
29+
hooks:
30+
- id: codespell
31+
additional_dependencies:
32+
- tomli
33+
args: [--write-changes]

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# scim2-fastapi
2+
3+
This repository is empty at the moment.
4+
This is a placeholder for a library that will help implementing SCIM2 servers with FastAPI painlessly.
5+
In the meantime, you can do it [manually with scim2-models](https://scim2-models.readthedocs.io/en/latest/guides/fastapi.html)

pyproject.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[build-system]
2+
requires = ["uv_build>=0.11.3,<0.12.0"]
3+
build-backend = "uv_build"
4+
5+
[project]
6+
name = "scim2-fastapi"
7+
version = "0.0.0"
8+
description = "Painless SCIM integration for FastAPI"
9+
readme = "README.md"
10+
authors = [
11+
{ name = "Éloi Rivard", email = "eloi@yaal.coop" }
12+
]
13+
requires-python = ">=3.10"
14+
dependencies = [
15+
"scim2-models>=0.6.9",
16+
]

src/scim2_fastapi/__init__.py

Whitespace-only changes.

src/scim2_fastapi/py.typed

Whitespace-only changes.

uv.lock

Lines changed: 225 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)