https://github.com/danielc92/flask_pagination_nodb
This project aims to establish a flask web application utilizing pagination without the need for a database system. This project is similar to flask-pagination (which uses sqlite database). flask_paginate library will be used on top of flask to achieve pagination with objects such as python lists and dictionaries.
https://github.com/danielc92/flask_pagination_nodb
Last synced: about 1 month ago
JSON representation
This project aims to establish a flask web application utilizing pagination without the need for a database system. This project is similar to flask-pagination (which uses sqlite database). flask_paginate library will be used on top of flask to achieve pagination with objects such as python lists and dictionaries.
- Host: GitHub
- URL: https://github.com/danielc92/flask_pagination_nodb
- Owner: danielc92
- Created: 2018-09-26T02:24:22.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-18T02:10:51.000Z (over 7 years ago)
- Last Synced: 2025-03-20T08:51:28.439Z (over 1 year ago)
- Language: HTML
- Homepage:
- Size: 420 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flask Pagination (no db)
This project aims to establish a `flask` web application utilizing pagination without the need for a database system. This project is similar to [flask-pagination](https://github.com/danielc92/flask_pagination) (which uses sqlite database). `flask_paginate` library will be used on top of `flask` to achieve pagination with objects such as python lists and dictionaries.
# Before you get started
Having knowledge about flask and pagination is essential for this project.
# Setup
**How to obtain this repository:**
```sh
git clone https://github.com/danielc92/flask_pagination_noalchemy.git
```
**Modules/dependencies:**
- `flask`
- `flask_paginate`
or
```sh
pip install flask flask_paginate
```
**To run locally**
(may be `python` depending on your installation)
```sh
python3 main.py
```
# Tests
- Paginated a list of dictionaries within a `flask` app.
# Contributors
- Daniel Corcoran
# Sources
- [flask documentation](http://flask.pocoo.org/)
- [flask-paginate documentation](https://pythonhosted.org/Flask-paginate/)