{"id":29928349,"url":"https://github.com/borb-pdf/borb","last_synced_at":"2026-03-10T07:01:34.258Z","repository":{"id":37274953,"uuid":"310857764","full_name":"borb-pdf/borb","owner":"borb-pdf","description":"borb is a library for reading, creating and manipulating PDF files in python.","archived":false,"fork":false,"pushed_at":"2026-02-23T19:05:28.000Z","size":768274,"stargazers_count":3565,"open_issues_count":9,"forks_count":158,"subscribers_count":34,"default_branch":"master","last_synced_at":"2026-03-05T04:16:12.505Z","etag":null,"topics":["library","pdf","pdf-conversion","pdf-converter","pdf-generation","pdf-library","python","python3","sdk","typesetting"],"latest_commit_sha":null,"homepage":"https://borbpdf.com/","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/borb-pdf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":"CONTRIBUTOR_LICENSE_AGREEMENT.md"},"funding":{"patreon":"borbpdf"}},"created_at":"2020-11-07T14:04:37.000Z","updated_at":"2026-03-05T02:02:08.000Z","dependencies_parsed_at":"2025-06-11T20:46:53.582Z","dependency_job_id":"fc3d2257-332d-4e7c-b23d-aa910ca62176","html_url":"https://github.com/borb-pdf/borb","commit_stats":{"total_commits":92,"total_committers":1,"mean_commits":92.0,"dds":0.0,"last_synced_commit":"b7033ba9e43f917db20c203f867b2431e382f343"},"previous_names":["borb-pdf/borb"],"tags_count":78,"template":false,"template_full_name":null,"purl":"pkg:github/borb-pdf/borb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borb-pdf%2Fborb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borb-pdf%2Fborb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borb-pdf%2Fborb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borb-pdf%2Fborb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borb-pdf","download_url":"https://codeload.github.com/borb-pdf/borb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borb-pdf%2Fborb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30326893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["library","pdf","pdf-conversion","pdf-converter","pdf-generation","pdf-library","python","python3","sdk","typesetting"],"created_at":"2025-08-02T14:02:10.627Z","updated_at":"2026-03-10T07:01:34.234Z","avatar_url":"https://github.com/borb-pdf.png","language":"Python","readme":"\n# ![borb logo](https://github.com/jorisschellekens/borb/raw/master/logo/borb_square_64_64.png) borb\n\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Public Method Documentation: 100%](https://img.shields.io/badge/public%20method%20documentation-100%25-green)]()\n[![Tests: 1400+](https://img.shields.io/badge/tests-1400%2B-green)]()\n[![Python Versions: 3.10, 3.11, 3.12](https://img.shields.io/badge/python-3.10%20|%203.11%20|%203.12-green)]()\n[![Type Checking: 100%](https://img.shields.io/badge/type%20checking-100%25-green)]()\n[![Downloads](https://pepy.tech/badge/borb)](https://pepy.tech/project/borb)\n[![Monthly Downloads](https://pepy.tech/badge/borb/month)](https://pepy.tech/project/borb)\n\n`borb` is a powerful and flexible Python library for creating and manipulating PDF files.\n\n## 📖 Overview\n\n`borb` provides a pure Python solution for PDF document management, allowing users to read, write, and manipulate PDFs. It models PDF files in a JSON-like structure, using nested lists, dictionaries, and primitives (numbers, strings, booleans, etc.). Created and maintained as a solo project, `borb` prioritizes common PDF use cases for practical and straightforward usage.\n\n## ✨ Features\n\nExplore `borb`’s capabilities in the [examples repository](https://github.com/jorisschellekens/borb-examples) for practical, real-world applications, including:\n\n- PDF Metadata Management (reading, editing)\n- Text and Image Extraction\n- Adding Annotations (notes, links)\n- Content Manipulation (adding text, images, tables, lists)\n- Page Layout Management with `PageLayout`\n\n…and much more!\n\n## 🚀 Installation\n\nInstall `borb` directly via `pip`:\n\n```bash\npip install borb\n```\n\nTo ensure you have the latest version, consider the following commands:\n\n```bash\npip uninstall borb\npip install --no-cache borb\n```\n\n## 👋 Getting Started: Hello World\n\nCreate your first PDF in just a few lines of code with `borb`:\n\n```python\nfrom pathlib import Path\nfrom borb.pdf import Document, Page, PageLayout, SingleColumnLayout, Paragraph, PDF\n\n# Create an empty Document\nd: Document = Document()\n\n# Create an empty Page\np: Page = Page()\nd.append_page(p)\n\n# Create a PageLayout\nl: PageLayout = SingleColumnLayout(p)\n\n# Add a Paragraph\nl.append_layout_element(Paragraph('Hello World!'))\n\n# Write the PDF\nPDF.write(what=d, where_to=\"assets/output.pdf\")\n\n```\n\n## 🛠 License\n\n`borb` is dual-licensed under AGPL and a commercial license. \n\nThe AGPL (Affero General Public License) is an open-source license, but commercial use cases require a paid license, especially if you intend to:\n\n- Offer paid PDF services (e.g., PDF generation in cloud applications)\n- Use `borb` in closed-source projects\n- Distribute `borb` in any closed-source product\n\nFor more information, [contact our sales team](https://borbpdf.com/).\n\n## 🙏 Acknowledgements\n\nSpecial thanks to:\n\n- Aleksander Banasik\n- Benoît Lagae\n- Michael Klink\n\nYour contributions and guidance have been invaluable to `borb`'s development.","funding_links":["https://patreon.com/borbpdf"],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborb-pdf%2Fborb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborb-pdf%2Fborb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborb-pdf%2Fborb/lists"}