All Projects → lixxu → python-paginate

lixxu / python-paginate

Licence: other
Pagination support for python web frameworks (study from will_paginate).

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to python-paginate

sticker
Sticker is a powerful yet boilerplate-free alternative to writing your web API.
Stars: ✭ 26 (+52.94%)
Mutual labels:  sanic, tornado
Bfkit
BFKit is a collection of useful classes and categories to develop Apps faster.
Stars: ✭ 811 (+4670.59%)
Mutual labels:  uikit, foundation
Swagger Py Codegen
a Python web framework generator supports Flask, Tornado, Falcon, Sanic
Stars: ✭ 508 (+2888.24%)
Mutual labels:  sanic, tornado
Framework Codeidea
System file classification
Stars: ✭ 289 (+1600%)
Mutual labels:  uikit, foundation
Swift Essentials
A set of essential Swift stuff I use in every single iOS app.
Stars: ✭ 223 (+1211.76%)
Mutual labels:  uikit, foundation
Bootstrap Table
An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation, Vue.js)
Stars: ✭ 11,068 (+65005.88%)
Mutual labels:  foundation, semantic-ui
Wtrequestcenter
WTKit is my Code accumulation
Stars: ✭ 293 (+1623.53%)
Mutual labels:  uikit, foundation
Pagy
🏆 The Best Pagination Ruby Gem 🥇
Stars: ✭ 3,340 (+19547.06%)
Mutual labels:  foundation, semantic-ui
Swifterswift
A handy collection of more than 500 native Swift extensions to boost your productivity.
Stars: ✭ 10,706 (+62876.47%)
Mutual labels:  uikit, foundation
Fruity
Rusty bindings for Apple libraries
Stars: ✭ 72 (+323.53%)
Mutual labels:  uikit, foundation
Bfkit Swift
BFKit-Swift is a collection of useful classes, structs and extensions to develop Apps faster.
Stars: ✭ 963 (+5564.71%)
Mutual labels:  uikit, foundation
curry
curry is a framework built to enhance and compliment Foundation and UIKit.
Stars: ✭ 47 (+176.47%)
Mutual labels:  uikit, foundation
pait
Python Modern API Tools, fast to code
Stars: ✭ 24 (+41.18%)
Mutual labels:  sanic, tornado
Extras
Just some extras..
Stars: ✭ 17 (+0%)
Mutual labels:  uikit, foundation
availity-angular
Availity Angular SDK
Stars: ✭ 13 (-23.53%)
Mutual labels:  uikit
laravel-starter-kit
A minimal starter kit for Laravel 8 using Bootstrap 5 and Webpixels CSS.
Stars: ✭ 23 (+35.29%)
Mutual labels:  uikit
ui
🦄 Decentraland UI
Stars: ✭ 145 (+752.94%)
Mutual labels:  semantic-ui
AppUIKit
iOS interface design for macOS app
Stars: ✭ 25 (+47.06%)
Mutual labels:  uikit
MeeInk
Material Design click effect
Stars: ✭ 33 (+94.12%)
Mutual labels:  ink
py-qgis-server
QGIS embbeded WMS/WFS/WCS asynchronous scalable http server
Stars: ✭ 28 (+64.71%)
Mutual labels:  tornado

python-paginate

Pagination support for python web frameworks (study from will_paginate). It requires Python2.6+ as string.format syntax.

Supported CSS: bootstrap2&3&4, foundation, semanticui, ink, uikit and metro4

Supported web frameworks: Flask, Tornado and Sanic

Notice:
Only SemanticUI is tested as I'm using it, please submit PR if has bugs.

Installation

pip install python-paginate

If you want to show page info like this: page-info above the pagination links, please add below lines to your css file:

    .pagination-page-info {
        padding: .6em;
        padding-left: 0;
        width: 40em;
        margin: .5em;
        margin-left: 0;
        font-size: 12px;
    }
    .pagination-page-info b {
        color: black;
        background: #6aa6ed;
        padding-left: 2px;
        padding: .1em .25em;
        font-size: 150%;
    }

Usage

see examples and source code for details.

Run example:

$cd example
$virtualenv venv
$. venv/bin/activate
$pip install -r requirements.txt
$python sql.py --help
$python sql.py init_db
$python sql.py fill_data --total=307
$python myapp.py

Open http://localhost:8000 to see the example page.

example

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].