-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aad0c86
commit 8af2bb4
Showing
6 changed files
with
61 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,28 @@ | ||
RESTfly | ||
======= | ||
RESTfly: Simplifying API Libraries | ||
================================== | ||
|
||
.. image:: docs/_static/logo.png | ||
**RESTfly** (pronounced restfully) is a framework for building libraries to | ||
easily interact with RESTful APIs. | ||
|
||
.. image:: https://github.com/librestfly/restfly/actions/workflows/testing.yml/badge.svg | ||
:target: https://github.com/librestfly/restfly/actions/workflows/testing.yml | ||
.. image:: https://sonarcloud.io/api/project_badges/measure?project=librestfly_restfly&metric=alert_status | ||
:target: https://sonarcloud.io/summary/overall?id=librestfly_restfly | ||
.. image:: https://travis-ci.org/librestfly/restfly.svg?branch=master | ||
:target: https://travis-ci.org/librestfly/restfly | ||
.. image:: https://img.shields.io/pypi/v/restfly.svg | ||
:target: https://pypi.org/project/restfly/ | ||
.. image:: https://img.shields.io/pypi/pyversions/restfly.svg | ||
.. image:: https://img.shields.io/pypi/dm/restfly.svg | ||
:target: https://pypistats.org/packages/restfly | ||
.. image:: https://img.shields.io/github/license/librestfly/restfly.svg | ||
:target: https://github.com/librestfly/restfly/blob/master/LICENSE | ||
.. image:: https://sonarcloud.io/api/project_badges/measure?project=librestfly_restfly&metric=alert_status | ||
:target: https://sonarcloud.io/summary/overall?id=librestfly_restfly | ||
|
||
|
||
.. image:: https://restfly.readthedocs.io/en/latest/_static/logo.png | ||
|
||
RESTfly is a simple library designed to provide the scaffolding to make API | ||
interaction libraries for just about any RESTful API. With an emphasis on | ||
simplicity and readability of the resulting library code thats written, the | ||
idea here is provide something that is not only useful for folks to use, but | ||
can also serve as a reference implementation of the given APIs. | ||
|
||
A simple framework for building RESTful API libraries. for more information, | ||
please refer to the documentation at https://restfly.readthedocs.io | ||
Please refer to the full documentation at https://restfly.readthedocs.io. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
''' | ||
RESTfly package | ||
''' | ||
from .version import VERSION as __version__ # noqa: F401 | ||
from .version import ( # noqa: F401 | ||
VERSION as __version__, | ||
AUTHOR as __author__, | ||
DESCRIPTION as __description__ | ||
) | ||
from .session import APISession # noqa: F401 | ||
from .endpoint import APIEndpoint # noqa: F401 | ||
from .iterator import APIIterator # noqa: F401 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
''' | ||
version info | ||
''' | ||
VERSION = '1.4.6' | ||
VERSION = '1.4.7' | ||
AUTHOR = 'Steve McGrath <[email protected]>' | ||
DESCRIPTION = 'REST API library framework' | ||
version_info = tuple( | ||
int(d) for d in VERSION.split("-", maxsplit=1)[0].split(".") | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,43 +6,15 @@ | |
with open('restfly/version.py', 'r') as vfile: # noqa PLW1514 | ||
exec(vfile.read()) # noqa PLW0122 | ||
|
||
long_description = ''' | ||
RESTfly: Simplifying API Libraries | ||
================================== | ||
**RESTfly** (pronounced restfully) is a framework for building libraries to | ||
easily interact with RESTful APIs. | ||
.. image:: https://travis-ci.org/librestfly/restfly.svg?branch=master | ||
:target: https://travis-ci.org/librestfly/restfly | ||
.. image:: https://img.shields.io/pypi/v/restfly.svg | ||
:target: https://pypi.org/project/restfly/ | ||
.. image:: https://img.shields.io/pypi/pyversions/restfly.svg | ||
.. image:: https://img.shields.io/pypi/dm/restfly.svg | ||
.. image:: https://img.shields.io/github/license/librestfly/restfly.svg | ||
:target: https://github.com/librestfly/restfly/blob/master/LICENSE | ||
.. image:: https://sonarcloud.io/api/project_badges/measure?project=librestfly_restfly&metric=alert_status | ||
:target: https://sonarcloud.io/summary/overall?id=librestfly_restfly | ||
.. image:: https://restfly.readthedocs.io/en/latest/_static/logo.png | ||
RESTfly is a simple library designed to provide the scaffolding to make API | ||
interaction libraries for just about any RESTful API. With an emphasis on | ||
simplicity and readability of the resulting library code thats written, the | ||
idea here is provide something that is not only useful for folks to use, but | ||
can also serve as a reference implementation of the given APIs. | ||
Please refer to the full documentation at https://restfly.readthedocs.io. | ||
''' # noqa E501 | ||
with open('README.rst', 'r') as ldfile: # noqa PLW1514 | ||
long_description = ldfile.read() | ||
|
||
setup( | ||
name='restfly', | ||
version=VERSION, # noqa: F821,PLE0602 | ||
description='A library to make API wrappers creation easier', | ||
author='Steve McGrath', | ||
description=DESCRIPTION, # noqa: F821,PLE0602 | ||
author=AUTHOR, # noqa: F821,PLE0602 | ||
long_description=long_description, | ||
author_email='[email protected]', | ||
url='https://github.com/librestfly/restfly', | ||
license='MIT', | ||
classifiers=[ | ||
|