%global _empty_manifest_terminate_build 0 Name: python-piccolo-api Version: 0.54.0 Release: 1 Summary: Utilities for using the Piccolo ORM in ASGI apps, plus essential ASGI middleware such as authentication and rate limiting. License: MIT URL: https://github.com/piccolo-orm/piccolo_api Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a2/56/451ef53b94fc3efd045433cddf8c04793183425618673438afa3eb4eb858/piccolo_api-0.54.0.tar.gz BuildArch: noarch Requires: python3-Jinja2 Requires: python3-piccolo[postgres] Requires: python3-pydantic[email] Requires: python3-multipart Requires: python3-fastapi Requires: python3-PyJWT Requires: python3-httpx Requires: python3-boto3 Requires: python3-boto3 %description ![Logo](https://github.com/piccolo-orm/piccolo_api/raw/master/docs/logo_hero.png "Piccolo API Logo") ![Tests](https://github.com/piccolo-orm/piccolo_api/actions/workflows/tests.yaml/badge.svg) ![Release](https://github.com/piccolo-orm/piccolo_api/actions/workflows/release.yaml/badge.svg) [![Documentation Status](https://readthedocs.org/projects/piccolo-api/badge/?version=latest)](https://piccolo-api.readthedocs.io/en/latest/?badge=latest) [![PyPI](https://img.shields.io/pypi/v/piccolo-api?color=%2334D058&label=pypi)](https://pypi.org/project/piccolo-api/) [![codecov](https://codecov.io/gh/piccolo-orm/piccolo_api/branch/master/graph/badge.svg?token=JJ5326P7FT)](https://codecov.io/gh/piccolo-orm/piccolo_api) # Piccolo API Utilities for easily exposing [Piccolo](https://piccolo-orm.readthedocs.io/en/latest/) tables as REST endpoints in ASGI apps, such as [Starlette](https://starlette.io) and [FastAPI](https://fastapi.tiangolo.com/). Includes a bunch of useful ASGI middleware: - Session Auth - Token Auth - Rate Limiting - CSRF - Content Security Policy (CSP) - And more It also contains excellent Pydantic support, allowing you to easily create Pydantic models based on your Piccolo tables. You can read the docs [here](https://piccolo-api.readthedocs.io/en/latest/). %package -n python3-piccolo-api Summary: Utilities for using the Piccolo ORM in ASGI apps, plus essential ASGI middleware such as authentication and rate limiting. Provides: python-piccolo-api BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-piccolo-api ![Logo](https://github.com/piccolo-orm/piccolo_api/raw/master/docs/logo_hero.png "Piccolo API Logo") ![Tests](https://github.com/piccolo-orm/piccolo_api/actions/workflows/tests.yaml/badge.svg) ![Release](https://github.com/piccolo-orm/piccolo_api/actions/workflows/release.yaml/badge.svg) [![Documentation Status](https://readthedocs.org/projects/piccolo-api/badge/?version=latest)](https://piccolo-api.readthedocs.io/en/latest/?badge=latest) [![PyPI](https://img.shields.io/pypi/v/piccolo-api?color=%2334D058&label=pypi)](https://pypi.org/project/piccolo-api/) [![codecov](https://codecov.io/gh/piccolo-orm/piccolo_api/branch/master/graph/badge.svg?token=JJ5326P7FT)](https://codecov.io/gh/piccolo-orm/piccolo_api) # Piccolo API Utilities for easily exposing [Piccolo](https://piccolo-orm.readthedocs.io/en/latest/) tables as REST endpoints in ASGI apps, such as [Starlette](https://starlette.io) and [FastAPI](https://fastapi.tiangolo.com/). Includes a bunch of useful ASGI middleware: - Session Auth - Token Auth - Rate Limiting - CSRF - Content Security Policy (CSP) - And more It also contains excellent Pydantic support, allowing you to easily create Pydantic models based on your Piccolo tables. You can read the docs [here](https://piccolo-api.readthedocs.io/en/latest/). %package help Summary: Development documents and examples for piccolo-api Provides: python3-piccolo-api-doc %description help ![Logo](https://github.com/piccolo-orm/piccolo_api/raw/master/docs/logo_hero.png "Piccolo API Logo") ![Tests](https://github.com/piccolo-orm/piccolo_api/actions/workflows/tests.yaml/badge.svg) ![Release](https://github.com/piccolo-orm/piccolo_api/actions/workflows/release.yaml/badge.svg) [![Documentation Status](https://readthedocs.org/projects/piccolo-api/badge/?version=latest)](https://piccolo-api.readthedocs.io/en/latest/?badge=latest) [![PyPI](https://img.shields.io/pypi/v/piccolo-api?color=%2334D058&label=pypi)](https://pypi.org/project/piccolo-api/) [![codecov](https://codecov.io/gh/piccolo-orm/piccolo_api/branch/master/graph/badge.svg?token=JJ5326P7FT)](https://codecov.io/gh/piccolo-orm/piccolo_api) # Piccolo API Utilities for easily exposing [Piccolo](https://piccolo-orm.readthedocs.io/en/latest/) tables as REST endpoints in ASGI apps, such as [Starlette](https://starlette.io) and [FastAPI](https://fastapi.tiangolo.com/). Includes a bunch of useful ASGI middleware: - Session Auth - Token Auth - Rate Limiting - CSRF - Content Security Policy (CSP) - And more It also contains excellent Pydantic support, allowing you to easily create Pydantic models based on your Piccolo tables. You can read the docs [here](https://piccolo-api.readthedocs.io/en/latest/). %prep %autosetup -n piccolo-api-0.54.0 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-piccolo-api -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri May 05 2023 Python_Bot - 0.54.0-1 - Package Spec generated