{"id":13705594,"url":"https://github.com/lixxu/python-paginate","last_synced_at":"2025-04-12T20:52:03.161Z","repository":{"id":57457348,"uuid":"54122181","full_name":"lixxu/python-paginate","owner":"lixxu","description":"Pagination support for python web frameworks (study from will_paginate).","archived":false,"fork":false,"pushed_at":"2024-05-15T07:46:43.000Z","size":61,"stargazers_count":18,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T20:51:54.286Z","etag":null,"topics":["bootstrap","flask","foundation","ink","paginate","sanic","semantic-ui","tornado","uikit"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lixxu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-17T13:58:45.000Z","updated_at":"2024-11-02T03:34:15.000Z","dependencies_parsed_at":"2024-01-14T21:10:08.238Z","dependency_job_id":"d38606c4-ab02-4f64-9c92-a88843f291d1","html_url":"https://github.com/lixxu/python-paginate","commit_stats":{"total_commits":28,"total_committers":3,"mean_commits":9.333333333333334,"dds":0.2857142857142857,"last_synced_commit":"3f67a4b0f6148658aaf983f37b2425b6144ea282"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lixxu%2Fpython-paginate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lixxu%2Fpython-paginate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lixxu%2Fpython-paginate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lixxu%2Fpython-paginate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lixxu","download_url":"https://codeload.github.com/lixxu/python-paginate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631728,"owners_count":21136560,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","flask","foundation","ink","paginate","sanic","semantic-ui","tornado","uikit"],"created_at":"2024-08-02T22:00:44.468Z","updated_at":"2025-04-12T20:52:03.138Z","avatar_url":"https://github.com/lixxu.png","language":"Python","funding_links":[],"categories":["Extensions"],"sub_categories":["Utils"],"readme":"# python-paginate\n\nPagination support for python web frameworks (study from will_paginate).\nIt requires Python2.6+ as string.format syntax.\n\nSupported CSS: `bootstrap2\u00263\u00264`, `foundation`, `semanticui`, `ink`, `uikit` and `metro4`\n\nSupported web frameworks: Flask, Tornado and Sanic\n\n```text\nNotice:\nOnly SemanticUI is tested as I'm using it, please submit PR if has bugs.\n```\n\n## Installation\n\n`pip install python-paginate`\n\nIf you want to show page info like this:\n![page-info](example/page-info.png \"page-info\")\nabove the pagination links,\nplease add below lines to your css file:\n\n```css\n\n    .pagination-page-info {\n        padding: .6em;\n        padding-left: 0;\n        width: 40em;\n        margin: .5em;\n        margin-left: 0;\n        font-size: 12px;\n    }\n    .pagination-page-info b {\n        color: black;\n        background: #6aa6ed;\n        padding-left: 2px;\n        padding: .1em .25em;\n        font-size: 150%;\n    }\n```\n\n## Usage\n\nsee examples and source code for details.\n\nRun example:\n\n```bash\n    $cd example\n    $virtualenv venv\n    $. venv/bin/activate\n    $pip install -r requirements.txt\n    $python sql.py --help\n    $python sql.py init_db\n    $python sql.py fill_data --total=307\n    $python myapp.py\n```\n\nOpen \u003chttp://localhost:8000\u003e to see the example page.\n\n![example](example/example.png \"example\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flixxu%2Fpython-paginate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flixxu%2Fpython-paginate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flixxu%2Fpython-paginate/lists"}