{"id":13421684,"url":"https://github.com/lixxu/flask-paginate","last_synced_at":"2025-04-10T04:48:25.056Z","repository":{"id":4954634,"uuid":"6112034","full_name":"lixxu/flask-paginate","owner":"lixxu","description":"Pagination support for flask","archived":false,"fork":false,"pushed_at":"2024-12-23T11:10:06.000Z","size":332,"stargazers_count":284,"open_issues_count":10,"forks_count":80,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-03T02:09:09.549Z","etag":null,"topics":["flask","paginate"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"hadley/httr","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":"2012-10-07T12:21:45.000Z","updated_at":"2025-03-30T13:33:58.000Z","dependencies_parsed_at":"2022-08-27T22:12:00.396Z","dependency_job_id":"67d3765c-2eb1-427e-8aab-0b57f854d6d3","html_url":"https://github.com/lixxu/flask-paginate","commit_stats":{"total_commits":112,"total_committers":27,"mean_commits":4.148148148148148,"dds":0.4732142857142857,"last_synced_commit":"201157a6149735608d92c87a1fd44775a6f09796"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lixxu%2Fflask-paginate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lixxu%2Fflask-paginate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lixxu%2Fflask-paginate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lixxu%2Fflask-paginate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lixxu","download_url":"https://codeload.github.com/lixxu/flask-paginate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161242,"owners_count":21057552,"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":["flask","paginate"],"created_at":"2024-07-30T23:00:28.193Z","updated_at":"2025-04-10T04:48:25.031Z","avatar_url":"https://github.com/lixxu.png","language":"Python","funding_links":[],"categories":["Flask Utilities","Utils","\u003ca name=\"Python\"\u003e\u003c/a\u003ePython","介绍","Python"],"sub_categories":[],"readme":"flask-paginate\n==============\n\nPagination support for flask framework (study from will_paginate).\nIt supports several css frameworks.\nIt requires Python2.6+ as string.format syntax.\n\nIf you want to show pagination-info\n(\"Total \u003cb\u003e100\u003c/b\u003e posts, displaying \u003cb\u003e20 - 30\u003c/b\u003e\")\nabove the pagination links,\nplease add the below lines to your css file::\n\n.. sourcecode:: 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\nFull documentation: \u003chttp://flask-paginate.readthedocs.io\u003e\n\nRun example:\n\n    $cd example\n    $python sql.py\n    $python sql.py init-db\n    $python sql.py fill-data --total=310\n    $cp app.cfg.example app.cfg\n    $echo edit app.cfg\n    $python app.py --port 5000\n\nOpen \u003chttp://localhost:5000\u003e to see the example page.\n\n![demo](/example/demo.png \"demo\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flixxu%2Fflask-paginate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flixxu%2Fflask-paginate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flixxu%2Fflask-paginate/lists"}