{"id":15008783,"url":"https://github.com/clach04/reportlab_mirror","last_synced_at":"2026-01-30T19:32:30.094Z","repository":{"id":234124438,"uuid":"625293083","full_name":"clach04/reportlab_mirror","owner":"clach04","description":"reportlab git mirror of mercurial hg repo - has an old 3.0 branch (based on ReportLab_3_0 tag) that works with Python 2.x to Python 3.10","archived":false,"fork":false,"pushed_at":"2023-04-08T17:17:11.000Z","size":7389,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"reportlab_3_0_0","last_synced_at":"2025-06-08T06:08:52.150Z","etag":null,"topics":["pdf","pdf-generation","python","python2","python3","reportlab","reportlab-pdf"],"latest_commit_sha":null,"homepage":"https://hg.reportlab.com/hg-public/reportlab/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clach04.png","metadata":{"files":{"readme":"README.txt","changelog":"CHANGES.txt","contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2023-04-08T16:59:10.000Z","updated_at":"2023-04-08T17:20:42.000Z","dependencies_parsed_at":"2024-04-18T08:21:48.707Z","dependency_job_id":"18f3123e-00dd-4f4f-b572-13d55fa59e11","html_url":"https://github.com/clach04/reportlab_mirror","commit_stats":null,"previous_names":["clach04/reportlab_mirror"],"tags_count":49,"template":false,"template_full_name":null,"purl":"pkg:github/clach04/reportlab_mirror","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clach04%2Freportlab_mirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clach04%2Freportlab_mirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clach04%2Freportlab_mirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clach04%2Freportlab_mirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clach04","download_url":"https://codeload.github.com/clach04/reportlab_mirror/tar.gz/refs/heads/reportlab_3_0_0","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clach04%2Freportlab_mirror/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28918220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T19:10:10.838Z","status":"ssl_error","status_checked_at":"2026-01-30T19:06:40.573Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["pdf","pdf-generation","python","python2","python3","reportlab","reportlab-pdf"],"created_at":"2024-09-24T19:20:33.523Z","updated_at":"2026-01-30T19:32:30.076Z","avatar_url":"https://github.com/clach04.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=====================================\nREADME \n=====================================\n\n(C) Copyright ReportLab Europe Ltd. 2000-2014.\nSee ``LICENSE.txt`` for license details.\n\nThis is the ReportLab PDF Toolkit. It allows rapid creation \nof rich PDF documents, and also creation of charts in a variety \nof bitmap and vector formats.  \n\nThis library is also the foundation for our commercial product\nReport Markup Language (RML), available in the ReportLab PLUS\npackage. RML offers many more features, a template-based style\nof document development familiar to all web developers, and\nhigher development productivity.  Please consider trying out\nRML for your project, as the license sales support our open\nsource development.\n\nContents of this file:\n\n1. Licensing\n\n2. Installation\n\n   2.1 Source Distribution or Subversion\n   \n   2.2 Manual Installation without C Compiler (e.g. Windows)\n   \n   2.3 easy_install\n   \n   2.4 Windows .exe Installer \n   \n   2.5 Ubuntu and other Debian-based Systems\n\n3. Prerequisites / Dependencies\n\n4. Documentation\n\n5. Acknowledgements and Thanks\n\n\n1. Licensing\n============\nBSD license.  See ``LICENSE.txt`` for details.\n\n\n2. Installation\n===============\n\nIn most cases, ``easy_install reportlab`` or ``pip install reportlab`` will \ndo the job.  Full details follow below for each platform.\n\n\n2.1 General prerequisites\n--------------------------\nYou need to have installed Python (versions 2.5 through 2.7),\nand ideally PIL with Freetype support; more notes on prerequisites\nfollow below.  \n\n2.2. Where to get the code\n------------------------------------------\n\n    \nDaily and release builds are available from ReportLab's\nopen download area::\n\n    http://www.reportlab.org/ftp/\n\nDaily builds will unzip/untar to produce a dated directory e.g. \n``reportlab-YYYYMMDD/`` but are otherwise structured just like the Mercurial\nrepository and release builds.\n\nReleases are also available from the Python Package Index:\n\n    http://pypi.python.org/\n\nFrom March 2013, the code is being hosted in Mercurial on BitBucket.\nYou can obtain the latest code from our Mercurial repository with::\n\n    hg clone http://bitbucket.org/rptlab/reportlab\n\n\nUsers of our commercial libraries, and/or anyone who registers on our site,\ncan also access our commercial area which has exactly the same packages,\npaired with the matching commercial ones (rlextra); it is important to keep\nboth in sync.\n\n\n\n\n2.3 Windows Installer\n--------------------------\nA binary ``.exe`` installer for Windows (built with distutils) is\navailable on our website.  This will install the 'reportlab' package\ninto your site-packages area (e.g. ``C:\\Python27\\lib\\site-packages``).\n\nThis will NOT install the tests, examples and documentation.  If you want\nto learn your way around the package or do development with it on Windows,\nwe suggest you also download a source copy, unzip it and work with the\nexamples/tests within that directory.\n\n2.4 Mac OS\n-------------\nOn Mac OS, you will need XCode with the Command Line Tools option installed\nin order to compile the C extensions.  On Lion\nor later, type ``clang`` at a prompt; if you get ``command not found`` or\nsimilar, the C compiler is not installed.  \n\nWe then recommend the *brew* installation tool to fetch open source packages. \nYou should run::\n\n    brew install freetype\n    \nbefore instaling *reportlab* to ensure that the Python Imaging Library gets \ncompiled with JPEG support.    \n\nThereafter, you can install with  ``easy_install reportlab`` or by fetching\nthe source and using ``python setup.py install``\n    \n\n2.5 Unix / Linux\n-----------------\n\nOn Unix and Mac OS we assume a C compiler is available to compile the\nC extensions.  \n\nOn Ubuntu, you will need\n*build-essential*, *libfreetype6-dev*, *python-dev* and *python-imaging*.\nMost other Linux and xBSD distributions have packages with\nsimilar names.\n\n\nThereafter, you can use ``easy_install reportlab``, ``pip install reportlab``,\nor fetch the source and use ``python setup.py install``.\n\nFrom Ubuntu 12.04 desktop onwards, a copy of reportlab is already installed.\nTake care not to confuse it with any releases you download. \n\n\n\n\n3. Prerequisites / Dependencies\n===============================\nThis works with Python 2.5 - 2.7. Older versions are available \ngoing back to Python 1.5 or thereabouts.\n\nThere are no absolute prerequisites beyond the Python\nstandard library; but the Python Imaging Library (PIL)\nis needed to include images other than JPG inside PDF files.\n\nThe C extension are optional but anyone able to do so should\nuse _rl_accel as it helps achieve acceptable speeds when wrapping\nparagraphs and measuring text string lengths.  The\n_renderPM extension allows graphics (such as charts) to be saved\nas bitmap images for the web, as well as inside PDFs.\n\n\n4. Documentation\n================\nNaturally, we generate our own manuals using the library.\nIn a 'built' distribution, they may already be present in the\ndocs/ directory.  If not, execute ``python genAll.py`` in\nthat directory, and it will create three PDF manuals::\n\n    reportlab-userguide.pdf\n    reportlab-reference.pdf\n    reportlab-graphics-reference.pdf\n\nThese are also available in daily build form from the documentation\npage on our web site.   The manuals are very useful 'how-to' examples\nif you are aiming to create long documents.\n\n5. Test suite\n=============\nTests are in the ``tests/`` directory.  They can be executed by cd'ing into the\ndirectory and executing ``python runAll.py``, or from ``python setup.py tests``.\n\nThe tests will simply try to 'import reportlab'.  Be warned that if you already have a copy\nof reportlab installed (which happens by default in Ubuntu 12.04 desktop), it may try to\nrun the installed reportlab and cause permission errors as it can't generate PDF files\nwithout sudo rights.  \n\nIf you do not have a copy insralled and run them prior to installation/compilation, \nthere may be one or two failures from tests which exercise the C extensions that have not\nbeen compiled.\n\nThe tests mostly produce output files with the same name as the test, but extension\n.pdf.  It is worth reviewing the list of test scripts as they provide valuable 'how\nto' information.\n\nIf you have no internet connection, one or two tests may fail where we try to load images\nfrom URLs.  This is normal.  The next release of this package will silently skip \nsuch tests using features only available in Python 2.7.\n\n6. Demos\n========\nA small number of demo programs are included in ``demos/``, none of which are particularly\nexciting, but which may have some intructional value.  These were the first programs we \nwrote back in 2000.  \n\nThe *odyssey* demo serves as our benchmark suite.  If you download the full Odyssey text,\nyou can generate a PDF of Homer's Odyssey with either (a) no wrapping, (b) simple paragraphs\nor (c) paragraphs with enough artificial markup (bold/italic on certain words) to exercise\nthe parser.  \n\n\n7. Acknowledgements and Thanks\n==============================\n``lib/normalDate.py`` originally by Jeff Bauer.\n\nMany, many contributors have helped out between 2000 and 2013.\nWe try to keep a list in the first chapter of the User Guide; if you\nhave contributed and are not listed there, please let us know.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclach04%2Freportlab_mirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclach04%2Freportlab_mirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclach04%2Freportlab_mirror/lists"}