Simple HTML and PDF document generator for Python - with built-in support for popular data analysis and plotting libraries.

Overview

esparto

image Build Status codecov Quality Gate Status

Esparto is a simple HTML and PDF document generator for Python. Its primary use is for generating shareable single page reports with content from popular analytics and data science libraries.

Full documentation and examples are available at domvwt.github.io/esparto/.

Overview

The library features a streamlined API that defines pages in terms of sections, rows, and columns; and an intelligent wrapping system that automatically converts Python objects into content.

We use the grid system and components from Bootstrap to ensure documents adapt to the viewing device and appear immediately familiar and accessible. No knowledge of Bootstrap or web development is required to use the library, however, as these details are conveniently abstracted.

At publishing time, the completed document is passed to Jinja2 and fed into an HTML template with all style details and dependencies captured inline.

Esparto supports content rendering within Jupyter Notebooks, allowing users to interactively and iteratively build documents without disrupting their workflow.

PDF conversion is provided by Weasyprint.

Features

  • Lightweight API
  • No CSS or HTML required
  • Device responsive display
  • Self contained / inline dependencies
  • Jupyter Notebook support
  • Printer friendly formatting
  • PDF output
  • MIT License

Supported Content

  • Markdown
  • Images
  • Pandas DataFrames
  • Plots from:
    • Matplotlib
    • Bokeh
    • Plotly
Comments
  • Cannot export to html when matplotlib axis is negative.

    Cannot export to html when matplotlib axis is negative.

    • esparto version: 4.1.0
    • Python version: 3.9.7
    • Operating System: Windows 10

    Description

    Cannot export to html when matplotlib axis is negative. I get the error:

    UnicodeEncodeError: 'charmap' codec can't encode character '\u2212' in position 13531 character maps to

    What I Did

    import unittest
    import matplotlib.pyplot as plt
    import esparto
    
    class TestNegativeChar(unittest.TestCase):
        
        def test_no_negative_char(self):
            
            fig, ax = plt.subplots()
            x = [1,2,3,4,5]
            y = [1,0.5, 0, 1, 2]
            ax.plot(x, y)
            
            page = esparto.Page(title="Test")
            page["Plot"] = fig
            page.save_html("test-fig.html")
        
        def test_negative_char(self):
            """This fails
            
            UnicodeEncodeError: 'charmap' codec can't encode character '\u2212' in position 13531: character maps to <undefined>
            """
            
            fig, ax = plt.subplots()
            x = [1,2,3,4,5]
            y = [-1,-0.5, 0, 1, 2]
            ax.plot(x, y)
            
            page = esparto.Page(title="Test")
            page["Plot"] = fig
            page.save_html("test-fig.html")
    
    bug 
    opened by apwebber 8
  • Bump weasyprint from 52.5 to 54.1

    Bump weasyprint from 52.5 to 54.1

    Bumps weasyprint from 52.5 to 54.1.

    Release notes

    Sourced from weasyprint's releases.

    v54.1

    Features

    • #1547: Handle break-inside: avoid on tr tags

    Bug fixes

    • #1540, #1239: Handle absolute children in running elements
    • #1538: Handle invalid values in text-align
    • #1536: Handle absolute flex boxes

    v54.0

    This version also includes the changes from unstable v54.0b1.

    Bug fixes

    • #1531 Always use absolute paths to get hrefs in SVG
    • #1523 Fix many rendering problems of broken tables
    • e1aee70 Fix support of fonts with SVG emojis

    Read more on CourtBouillon’s blog.

    v54.0b1

    This version is experimental, don't use it in production. If you find bugs, please report them!

    Dependencies

    • html5lib 1.1+ is now needed.

    New features

    • #1509: Support footnotes, with financial support from Code & Co.
    • #36: Handle parallel flows for floats, absolutes, table-cells
    • #1389: Support text-align-last and text-align-all properties
    • #1434: Draw SVG and PNG emojis
    • #1520: Support overflow-wrap: anywhere
    • #1435: Add environment variable to set DLL folder on Windows

    Performance

    • #1439: Cache SVG use tags
    • #1481: Encode non-JPEG images as PNGs instead of JPEG2000s

    Bug fixes

    • #137: Don’t use text-transform text for content-based uses
    • #1443: Don’t serialize and parse again inline SVG files
    • #607: Correctly handle whitespaces in bookmark labels
    • #1094: Fix column height with column-span content
    • #1473: Fix absolutely positioned boxes in duplicated pages

    ... (truncated)

    Changelog

    Sourced from weasyprint's changelog.

    Version 54.1

    Released on 2022-01-31.

    Features:

    • [#1547](https://github.com/Kozea/WeasyPrint/issues/1547) <https://github.com/Kozea/WeasyPrint/issues/1547>_: Handle break-inside: avoid on tr tags

    Bug fixes:

    • [#1540](https://github.com/Kozea/WeasyPrint/issues/1540) <https://github.com/Kozea/WeasyPrint/issues/1540>, [#1239](https://github.com/Kozea/WeasyPrint/issues/1239) <https://github.com/Kozea/WeasyPrint/issues/1239>: Handle absolute children in running elements
    • [#1538](https://github.com/Kozea/WeasyPrint/issues/1538) <https://github.com/Kozea/WeasyPrint/issues/1538>_: Handle invalid values in text-align
    • [#1536](https://github.com/Kozea/WeasyPrint/issues/1536) <https://github.com/Kozea/WeasyPrint/issues/1536>_: Handle absolute flex boxes

    Contirbutors:

    • Guillaume Ayoub
    • Lucie Anglade

    Backers and sponsors:

    • H-Net: Humanities and Social Sciences Online
    • Grip Angebotssoftware
    • Manuel Barkhau
    • SimonSoft
    • Menutech
    • KontextWork
    • Crisp BV
    • Maykin Media
    • René Fritz
    • Simon Sapin
    • NCC Group
    • Nathalie Gutton
    • Andreas Zettl
    • Tom Pohl
    • Spacinov
    • Des images et des mots
    • Moritz Mahringer
    • Florian Demmer
    • Yanal-Yvez Fargialla
    • Gábor
    • Piotr Horzycki

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 7
  • Bump jinja2 from 2.11.3 to 3.0.1

    Bump jinja2 from 2.11.3 to 3.0.1

    Bumps jinja2 from 2.11.3 to 3.0.1.

    Release notes

    Sourced from jinja2's releases.

    3.0.1

    3.0.0

    New major versions of all the core Pallets libraries, including Jinja 3.0, have been released! :tada:

    This represents a significant amount of work, and there are quite a few changes. Be sure to carefully read the changelog, and use tools such as pip-compile and Dependabot to pin your dependencies and control your updates.

    3.0.0rc2

    Fixes an issue with the deprecated Markup subclass, #1401.

    3.0.0rc1

    Changelog

    Sourced from jinja2's changelog.

    Version 3.0.1

    Released 2021-05-18

    • Update MarkupSafe dependency to >= 2.0. :pr:1418
    • Mark top-level names as exported so type checking understands imports in user projects. :issue:1426
    • Fix some types that weren't available in Python 3.6.0. :issue:1433
    • The deprecation warning for unneeded autoescape and with_ extensions shows more relevant context. :issue:1429
    • Fixed calling deprecated jinja2.Markup without an argument. Use markupsafe.Markup instead. :issue:1438
    • Calling sync render for an async template uses asyncio.run on Python >= 3.7. This fixes a deprecation that Python 3.10 introduces. :issue:1443

    Version 3.0.0

    Released 2021-05-11

    • Drop support for Python 2.7 and 3.5.
    • Bump MarkupSafe dependency to >=1.1.
    • Bump Babel optional dependency to >=2.1.
    • Remove code that was marked deprecated.
    • Add type hinting. :pr:1412
    • Use :pep:451 API to load templates with :class:~loaders.PackageLoader. :issue:1168
    • Fix a bug that caused imported macros to not have access to the current template's globals. :issue:688
    • Add ability to ignore trim_blocks using +%}. :issue:1036
    • Fix a bug that caused custom async-only filters to fail with constant input. :issue:1279
    • Fix UndefinedError incorrectly being thrown on an undefined variable instead of Undefined being returned on NativeEnvironment on Python 3.10. :issue:1335
    • Blocks can be marked as required. They must be overridden at some point, but not necessarily by the direct child. :issue:1147
    • Deprecate the autoescape and with extensions, they are built-in to the compiler. :issue:1203
    • The urlize filter recognizes mailto: links and takes extra_schemes (or env.policies["urlize.extra_schemes"]) to recognize other schemes. It tries to balance parentheses within a URL instead of ignoring trailing characters. The parsing in general has been updated to be more efficient and match more cases. URLs without a scheme are linked as https:// instead of http://. :issue:522, 827, 1172, :pr:1195
    • Filters that get attributes, such as map and groupby, can

    ... (truncated)

    Commits
    • 3b3e16f Merge pull request #1445 from pallets/release-3.0.1
    • 4d23bfb release version 3.0.1
    • 77674b9 Merge pull request #1444 from pallets/event-loop
    • 7d0b7ac use asyncio.run
    • 94a6423 Merge pull request #1442 from dannysepler/use-pathlib-in-places
    • 06c646d Use pathlib in some test places
    • 9f5db9a Merge pull request #1440 from pallets/deprecated-markup
    • f562a4f fix deprecated Markup subclass
    • fb564a8 Merge pull request #1436 from pallets/deprecated-extensions
    • b4d31e7 show context for deprecated extensions
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 5
  • Bump rope from 0.18.0 to 0.19.0

    Bump rope from 0.18.0 to 0.19.0

    Bumps rope from 0.18.0 to 0.19.0.

    Commits
    • f4b19fd Make new version
    • 9407fdc Merge pull request #331 from rubendibattista/lineno-attr-error
    • 4dba2ff Merge pull request #333 from mattst88/python-3.9-ast-changes
    • 46a3403 Handle AST.expr in static object analysis
    • 02284e4 Handle AST.expr in _Subscript()
    • a63ae26 Fix test expectations for Python 3.9 AST changes
    • 5fbce2b Test for Python 3.9 as well
    • 0aec7ea Merge pull request #332 from climbus/master
    • d6126a8 create_generate with goal_resource param
    • 1876b3e Merge pull request #330 from rubendibattista/relative-imports
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 5
  • Bump dataclasses from 0.6 to 0.8

    Bump dataclasses from 0.6 to 0.8

    Bumps dataclasses from 0.6 to 0.8.

    Commits
    • 95d2a4c Prepare for 0.8 release.
    • 75b24ef Merged changes from bpo-33796 and bpo-33805. (#140)
    • 5eee0b0 Fixed "sort order" -> "insertion order".
    • abf5b54 Merge branch 'issue-146-add-requires-3.6'
    • 44724c4 Require python 3.6 only.
    • fdb959c Format with black.
    • ae712dd Make pypi shield link to project's pypi page (#137)
    • d4c87c6 Fix URL for test_dataclasses.py.
    • b2fc54c Removed PEP. It should only be referenced from the PEP repo.
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 5
  • Bump kaleido from 0.2.1 to 0.2.1.post1

    Bump kaleido from 0.2.1 to 0.2.1.post1

    Bumps kaleido from 0.2.1 to 0.2.1.post1.

    Release notes

    Sourced from kaleido's releases.

    v0.2.1.post1

    Adds arm32 support, no changes to other architectures so they aren't published with this tag.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 5
  • Bump pillow from 7.2.0 to 8.2.0

    Bump pillow from 7.2.0 to 8.2.0

    Bumps pillow from 7.2.0 to 8.2.0.

    Release notes

    Sourced from pillow's releases.

    8.2.0

    https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html

    Changes

    Dependencies

    Deprecations

    ... (truncated)

    Changelog

    Sourced from pillow's changelog.

    8.2.0 (2021-04-01)

    • Added getxmp() method #5144 [UrielMaD, radarhere]

    • Add ImageShow support for GraphicsMagick #5349 [latosha-maltba, radarhere]

    • Do not load transparent pixels from subsequent GIF frames #5333 [zewt, radarhere]

    • Use LZW encoding when saving GIF images #5291 [raygard]

    • Set all transparent colors to be equal in quantize() #5282 [radarhere]

    • Allow PixelAccess to use Python int when parsing x and y #5206 [radarhere]

    • Removed Image._MODEINFO #5316 [radarhere]

    • Add preserve_tone option to autocontrast #5350 [elejke, radarhere]

    • Fixed linear_gradient and radial_gradient I and F modes #5274 [radarhere]

    • Add support for reading TIFFs with PlanarConfiguration=2 #5364 [kkopachev, wiredfool, nulano]

    • Deprecated categories #5351 [radarhere]

    • Do not premultiply alpha when resizing with Image.NEAREST resampling #5304 [nulano]

    • Dynamically link FriBiDi instead of Raqm #5062 [nulano]

    • Allow fewer PNG palette entries than the bit depth maximum when saving #5330 [radarhere]

    • Use duration from info dictionary when saving WebP #5338 [radarhere]

    • Stop flattening EXIF IFD into getexif() #4947 [radarhere, kkopachev]

    ... (truncated)

    Commits
    • e0e353c 8.2.0 version bump
    • ee635be Merge pull request #5377 from hugovk/security-and-release-notes
    • 694c84f Fix typo [ci skip]
    • 8febdad Review, typos and lint
    • fea4196 Reorder, roughly alphabetic
    • 496245a Fix BLP DOS -- CVE-2021-28678
    • 22e9bee Fix DOS in PSDImagePlugin -- CVE-2021-28675
    • ba65f0b Fix Memory DOS in ImageFont
    • bb6c11f Fix FLI DOS -- CVE-2021-28676
    • 5a5e6db Fix EPS DOS on _open -- CVE-2021-28677
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 5
  • Bump pillow from 7.2.0 to 8.2.0

    Bump pillow from 7.2.0 to 8.2.0

    Bumps pillow from 7.2.0 to 8.2.0.

    Release notes

    Sourced from pillow's releases.

    8.2.0

    https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html

    Changes

    Dependencies

    Deprecations

    ... (truncated)

    Changelog

    Sourced from pillow's changelog.

    8.2.0 (2021-04-01)

    • Added getxmp() method #5144 [UrielMaD, radarhere]
    • Add ImageShow support for GraphicsMagick #5349 [latosha-maltba, radarhere]
    • Do not load transparent pixels from subsequent GIF frames #5333 [zewt, radarhere]
    • Use LZW encoding when saving GIF images #5291 [raygard]
    • Set all transparent colors to be equal in quantize() #5282 [radarhere]
    • Allow PixelAccess to use Python __int__ when parsing x and y #5206 [radarhere]
    • Removed Image._MODEINFO #5316 [radarhere]
    • Add preserve_tone option to autocontrast #5350 [elejke, radarhere]
    • Fixed linear_gradient and radial_gradient I and F modes #5274 [radarhere]
    • Add support for reading TIFFs with PlanarConfiguration=2 #5364 [kkopachev, wiredfool, nulano]
    • Deprecated categories #5351 [radarhere]
    • Do not premultiply alpha when resizing with Image.NEAREST resampling #5304 [nulano]
    • Dynamically link FriBiDi instead of Raqm #5062 [nulano]
    • Allow fewer PNG palette entries than the bit depth maximum when saving #5330 [radarhere]
    • Use duration from info dictionary when saving WebP #5338 [radarhere]
    • Stop flattening EXIF IFD into getexif() #4947 [radarhere, kkopachev]
    • Replaced tiff_deflate with tiff_adobe_deflate compression when saving TIFF images #5343 [radarhere]
    • Save ICC profile from TIFF encoderinfo #5321 [radarhere]
    • Moved RGB fix inside ImageQt class #5268 [radarhere]
    • Allow alpha_composite destination to be negative #5313 [radarhere]
    • Ensure file is closed if it is opened by ImageQt.ImageQt #5260 [radarhere]
    • Added ImageDraw rounded_rectangle method #5208 [radarhere]
    • Added IPythonViewer #5289 [radarhere, Kipkurui-mutai]
    • Only draw each rectangle outline pixel once #5183 [radarhere]
    • Use mmap instead of built-in Win32 mapper #5224 [radarhere, cgohlke]
    • Handle PCX images with an odd stride #5214 [radarhere]
    • Only read different sizes for "Large Thumbnail" MPO frames #5168 [radarhere]
    • Added PyQt6 support #5258 [radarhere]
    • Changed Image.open formats parameter to be case-insensitive #5250 [Piolie, radarhere]
    • Deprecate Tk/Tcl 8.4, to be removed in Pillow 10 (2023-01-02) #5216 [radarhere]
    • Added tk version to pilinfo #5226 [radarhere, nulano]
    • Support for ignoring tests when running valgrind #5150 [wiredfool, radarhere, hugovk]
    • OSS-Fuzz support #5189 [wiredfool, radarhere]

    8.1.2 (2021-03-06)

    • Fix Memory DOS in BLP (CVE-2021-27921), ICNS (CVE-2021-27922) and ICO (CVE-2021-27923) Image Plugins [wiredfool]

    8.1.1 (2021-03-01)

    • Use more specific regex chars to prevent ReDoS. CVE-2021-25292 [hugovk]
    • Fix OOB Read in TiffDecode.c, and check the tile validity before reading. CVE-2021-25291 [wiredfool]
    • Fix negative size read in TiffDecode.c. CVE-2021-25290 [wiredfool]
    • Fix OOB read in SgiRleDecode.c. CVE-2021-25293 [wiredfool]
    • Incorrect error code checking in TiffDecode.c. CVE-2021-25289 [wiredfool]

    ... (truncated)

    Commits
    • e0e353c 8.2.0 version bump
    • ee635be Merge pull request #5377 from hugovk/security-and-release-notes
    • 694c84f Fix typo [ci skip]
    • 8febdad Review, typos and lint
    • fea4196 Reorder, roughly alphabetic
    • 496245a Fix BLP DOS -- CVE-2021-28678
    • 22e9bee Fix DOS in PSDImagePlugin -- CVE-2021-28675
    • ba65f0b Fix Memory DOS in ImageFont
    • bb6c11f Fix FLI DOS -- CVE-2021-28676
    • 5a5e6db Fix EPS DOS on _open -- CVE-2021-28677
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

    You can always request more updates by clicking Bump now in your Dependabot dashboard.

    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 4
  • Bump mypy from 0.812 to 0.902

    Bump mypy from 0.812 to 0.902

    Bumps mypy from 0.812 to 0.902.

    Commits
    • defe53f Bump version to 0.902
    • 5edeeab Remove misleading list of default locations (#10614)
    • 12cf0bf Don't suggest incompatible stub packages (#10610)
    • 8f51fbf Fix confusion between stubs for google.protobuf and google.cloud (#10609)
    • fee4e8c Don't suggest installing types-pycrypto (#10603)
    • ffc18df Bump version to 0.901
    • 32d6b58 [mypyc] Fix evaluation of iterable in list comprehension twice
    • b68993c Bump version to 0.900
    • be5aed7 Make ignore_missing_imports work for libs which had bundled stubs (#10582)
    • e056774 Restrict the number of errors shown when there are missing stubs (#10579)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 3
  • Bump dataclasses from 0.6 to 0.8

    Bump dataclasses from 0.6 to 0.8

    Bumps dataclasses from 0.6 to 0.8.

    Commits
    • 95d2a4c Prepare for 0.8 release.
    • 75b24ef Merged changes from bpo-33796 and bpo-33805. (#140)
    • 5eee0b0 Fixed "sort order" -> "insertion order".
    • abf5b54 Merge branch 'issue-146-add-requires-3.6'
    • 44724c4 Require python 3.6 only.
    • fdb959c Format with black.
    • ae712dd Make pypi shield link to project's pypi page (#137)
    • d4c87c6 Fix URL for test_dataclasses.py.
    • b2fc54c Removed PEP. It should only be referenced from the PEP repo.
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 3
  • Bump jedi from 0.17.2 to 0.18.0

    Bump jedi from 0.17.2 to 0.18.0

    Bumps jedi from 0.17.2 to 0.18.0.

    Changelog

    Sourced from jedi's changelog.

    0.18.0 (2020-12-25) +++++++++++++++++++

    • Dropped Python 2 and Python 3.5
    • Using pathlib.Path() as an output instead of str in most places:
      • Project.path
      • Script.path
      • Definition.module_path
      • Refactoring.get_renames
      • Refactoring.get_changed_files
    • Functions with @property now return property instead of function in Name().type
    • Started using annotations
    • Better support for the walrus operator
    • Project attributes are now read accessible
    • Removed all deprecations

    This is likely going to be the last minor release before 1.0.

    Commits
    • 4b5b2e7 Prepare release of 0.18.0
    • b89f944 Merge pull request #1684 from davidhalter/relative-import
    • ce6ddb9 Merge pull request #1711 from davidhalter/deprecations
    • fe60b5c Fix flake8 issues in sith.py
    • fa2d03a Mention removal of deprecations in CHANGELOG
    • 1b16ca0 Add sith.py to the files to be ignored by pytest
    • f9cec89 Merge branch 'master' into deprecations
    • bc4f6ed Merge branch 'master' into relative-import
    • fd435a7 Check if string_names is None before returning string_names (#1708)
    • ce0ed4b Improve a comment
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 3
Releases(v4.2.0)
A simple pdf size compressing telegram robot witten in python.

Pdf Compressor Telegram Bot ##About : A simple pdf size compressing telegram robot witten in python. Mostly useful for digital documentation. Deploy t

Renjith Mangal 22 Oct 28, 2022
Converting Html files to pdf using python script, pdfkit module and wkhtmltopdf.

Html-to-pdf-pdfkit-wkhtml- This repository has code for converting local html files and online html resources into pdf. It is an python script which u

Hemachandran P 1 Nov 09, 2021
Busca no nome e conteúdo de arquivos PDF no diretório e subdiretórios.

PDF Finder Este script auxilia na pesquisa em pastas com inúmeros arquivos PDF. A pesquisa é feita em todos os arquivos do doretório e subdiretórios.

William Pilger 1 Nov 27, 2021
A bot for PDF for doing Many Things....

Telegram PDF Bot A Telegram bot that can: Compress, crop, decrypt, encrypt, merge, preview, rename, rotate, scale and split PDF files Compare text dif

Mr. Developer 60 Dec 27, 2022
PDFSanitizer - Renders possibly unsafe PDF files and outputs harmless PDF files

PDFSanitizer Renders possibly malicious PDF files and outputs harmless PDF files

9 Jan 30, 2022
Pdfencrypt is a tool to encrypt/lock PDFs

Pdfencrypt Pdfencrypt is a tool to encrypt/lock PDFs Installation $ apt update $ apt upgrade $ apt install git $ apt install python $ git clone https:

Anontemitayo 5 Nov 28, 2021
pikepdf is a Python library for reading and writing PDF files.

A Python library for reading and writing PDF, powered by qpdf

1.6k Jan 03, 2023
x-ray is a Python library for finding bad redactions in PDF documents.

A tool to detect whether a PDF has a bad redaction

Free Law Project 73 Dec 19, 2022
Convert Lecture Videos to PDF

Convert Lecture Videos to PDF Description Want to go through lecture videos faster without missing any information? Wish you can read the lecture vide

Emilio Kartono 20 Nov 25, 2022
Convert given source code into .pdf with syntax highlighting and more features

Code2pdf 📠 Convert given source code into .pdf with syntax highlighting and more features Build Status Version Downloads Python Demo Installation Bui

Tushar Gautam 343 Jan 05, 2023
Convert PDF to AudioBook and Audio Speech to PDF

In this Python project, we will build a GUI-based PDF to Audio and Audio to PDF converter using the Tkinter, OS, path, pyttsx3, SpeechRecognition, PyPDF4, and Pydub libraries and the messagebox modul

RISHABH MISHRA 1 Feb 13, 2022
Performing the following operations using python on PDF.

Python PDF Handling Tutorial Python is a highly versatile language with a huge set of libraries. It is a high level language with simple syntax. Pytho

Prajwol Lamichhane 131 Dec 16, 2022
Camelot is a Python library that can help you extract tables from PDFs!

A Python library to extract tabular data from PDFs

1.8k Jan 03, 2023
Table automatically extraction from PDF Document

PDF Table Extractor Table automatically extraction from PDF Document Our Icon 📌 Name : PDF Table Extractor 📌 Authors : Minku Koo Jiyong Park 📌 Deve

1 Jan 10, 2022
Generate a bunch of malicious pdf files with phone-home functionality. Can be used with Burp Collaborator

Malicious PDF Generator ☠️ Generate ten different malicious pdf files with phone-home functionality. Can be used with Burp Collaborator. Used for pene

Jonas Lejon 1.9k Jan 01, 2023
A simple Python script to convert multiple images (well technically also a single image) into a pdf.

PythonImage2PDF A simple Python script to convert multiple images into a single PDF-document. Created basically for only my own needs for converting m

Joona Gynther 1 Jun 28, 2022
Python PDF Parser (Not actively maintained). Check out pdfminer.six.

PDFMiner PDFMiner is a text extraction tool for PDF documents. Warning: As of 2020, PDFMiner is not actively maintained. The code still works, but thi

Yusuke Shinyama 4.9k Jan 04, 2023
Simple python tool created for downloading PDF.

PDFdownloader Usage Open PDF in full-screen mode Run scan.exe Enter how many pages you want to scan Focus PDF After scanning is done, run merge.exe En

5 Oct 27, 2021
Program that locks/unlocks pdf files🐍

🐍 📄 PDFtools 📄 🐍 Programa que bloqueia/desbloqueia arquivos pdf Requisitos • Como usar • Capturas de Tela 🚨 Aviso 🚨 Altere os caminhos referente

João Victor Vilela dos Santos 1 Nov 04, 2021
CLI tool to generate pdf invoices written in python

invoicepy CLI invoice tool, store and print invoices as pdf. save companies and customers for later use. installation pip install invoicepy config co

Adam Wojtczak 9 Aug 01, 2022