{"id":15532624,"url":"https://github.com/misl6/py4web-weasyprint","last_synced_at":"2025-10-09T13:36:14.369Z","repository":{"id":89607074,"uuid":"250779328","full_name":"misl6/py4web-weasyprint","owner":"misl6","description":"WeasyPrint plugin for py4web, easely create PDF files via py4web","archived":false,"fork":false,"pushed_at":"2020-05-30T10:06:52.000Z","size":101,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-13T21:45:55.674Z","etag":null,"topics":["py4web","py4web-plugin","weasyprint"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/misl6.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":"2020-03-28T11:38:27.000Z","updated_at":"2024-10-27T06:29:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"084a9c0b-0205-469d-b39c-1562556e1eac","html_url":"https://github.com/misl6/py4web-weasyprint","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/misl6/py4web-weasyprint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/misl6%2Fpy4web-weasyprint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/misl6%2Fpy4web-weasyprint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/misl6%2Fpy4web-weasyprint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/misl6%2Fpy4web-weasyprint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/misl6","download_url":"https://codeload.github.com/misl6/py4web-weasyprint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/misl6%2Fpy4web-weasyprint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001486,"owners_count":26083102,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["py4web","py4web-plugin","weasyprint"],"created_at":"2024-10-02T11:32:02.851Z","updated_at":"2025-10-09T13:36:14.353Z","avatar_url":"https://github.com/misl6.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# py4web-weasyprint\n\nEasely generate PDF outputs via [WeasyPrint](https://github.com/Kozea/WeasyPrint) on top of [py4web](https://github.com/web2py/py4web).\n\n## Installation\n\nConsidering that this plugin works on top of `weasyprint`, it needs some external dependencies as weasyprint does.\n\n### Step 1)\nFollow [these install instructions](https://weasyprint.readthedocs.io/en/latest/install.html#linux) if you're on a **Linux** distro.\n\nFollow [these install instructions](https://weasyprint.readthedocs.io/en/latest/install.html#macos) if you're on **MacOS**.\n\nFollow [these install instructions](https://weasyprint.readthedocs.io/en/latest/install.html#windows) if you're on **Windows**.\n\n### Step 2)\n\n#### Building from source:\n\n`python setup.py install`\n\n#### Installing from pip:\n\n`pip install py4web-weasyprint` (still not available)\n\n\n\n## Example\n\n\n```python\nfrom py4web_weasy import WeasyTemplate\n\n@action('mypdfpage')\n@action.uses(WeasyTemplate(\"mypdfpage.html\"))\ndef mypdfpage():\n    return {}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmisl6%2Fpy4web-weasyprint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmisl6%2Fpy4web-weasyprint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmisl6%2Fpy4web-weasyprint/lists"}