resource

A Python library concentrated on the Resource layer of RESTful APIs.

https://github.com/russellluo/resource

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.2%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

A Python library concentrated on the Resource layer of RESTful APIs.

Basic Info
  • Host: GitHub
  • Owner: RussellLuo
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 172 KB
Statistics
  • Stars: 18
  • Watchers: 4
  • Forks: 2
  • Open Issues: 1
  • Releases: 5
Created almost 12 years ago · Last pushed over 3 years ago
Metadata Files
Readme

README.md

NOTE:

This library will not be actively maintained any further. You probably want to see the RESTArt library (still in development), which is a replacement with better intentions.


Resource

A Python library concentrated on the Resource layer of RESTful APIs.

Philosophy

You have data somewhere:

  1. physical data stored in databases like MongoDB (NoSQL) or MySQL (RDBMS)
  2. virtual data existing in applications (e.g. data in business logic)

and you want to expose it to your users through a RESTful Web API. Resource is a convenient library that allows you to do so.

Resource is database agnostic and web framework agnostic, which means you should/can choose databases (MongoDB, MySQL, etc.) and web frameworks (Flask, Django, etc.) yourself.

Installation

Install Resource with pip:

$ pip install Resource

Install development version from GitHub:

$ git clone https://github.com/RussellLuo/resource.git
$ cd resource
$ python setup.py install

Features

  • Full range of CRUD operations
  • JSON all the time
  • Easy and Extensible Data Validation
  • Intelligent and Extensible Serializer
  • Filtering
  • Pagination
  • Sorting
  • Fields Selection
  • Authentication
  • Sub Resources
  • Cross Origin
  • Support MongoDB
  • Support RDBMS
  • Support Flask
  • Support Django

Documentation

Complete documentation is available here.

License

MIT

Owner

  • Name: Luo Peng
  • Login: RussellLuo
  • Kind: user
  • Location: Chengdu

GitHub Events

Total
Last Year

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 122
  • Total Committers: 3
  • Avg Commits per committer: 40.667
  • Development Distribution Score (DDS): 0.016
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
RussellLuo l****e@g****m 120
Karthikeyan Singaravelan t****i@g****m 1
Lingchuan Xu t****e@g****m 1

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 4
  • Total pull requests: 3
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 14 days
  • Total issue authors: 4
  • Total pull request authors: 3
  • Average comments per issue: 0.75
  • Average comments per pull request: 0.67
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • shaukat72 (1)
  • tirkarthi (1)
  • HelloYie (1)
  • flaviojs (1)
Pull Request Authors
  • tvboxme (1)
  • dependabot[bot] (1)
  • tirkarthi (1)
Top Labels
Issue Labels
Pull Request Labels
dependencies (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 81,042 last-month
  • Total docker downloads: 1,112
  • Total dependent packages: 15
  • Total dependent repositories: 82
  • Total versions: 7
  • Total maintainers: 1
pypi.org: resource

A Python library concentrated on the Resource layer of RESTful APIs.

  • Versions: 7
  • Dependent Packages: 15
  • Dependent Repositories: 82
  • Downloads: 81,042 Last month
  • Docker Downloads: 1,112
Rankings
Dependent packages count: 0.7%
Downloads: 1.5%
Dependent repos count: 1.7%
Docker downloads count: 2.7%
Average: 6.6%
Stargazers count: 13.9%
Forks count: 19.1%
Maintainers (1)
Last synced: 11 months ago

Dependencies

requirements-dev.txt pypi
  • SQLAlchemy ==0.9.7 development
  • itsdangerous ==0.24 development
  • jsonpatch ==1.7 development
  • pymongo ==2.7.2 development
  • python-crest >=0.1.6 development
requirements.txt pypi
  • JsonForm >=0.0.2
  • JsonSir >=0.0.2
  • python-easyconfig >=0.1.0
setup.py pypi
  • JsonForm >=0.0.2
  • JsonSir >=0.0.2
  • python-easyconfig >=0.1.0