pdf-io 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. pdf_io-0.1.0/.gitignore +16 -0
  2. pdf_io-0.1.0/API.md +841 -0
  3. pdf_io-0.1.0/EXAMPLES.md +492 -0
  4. pdf_io-0.1.0/LICENSE +28 -0
  5. pdf_io-0.1.0/PKG-INFO +142 -0
  6. pdf_io-0.1.0/README.md +131 -0
  7. pdf_io-0.1.0/examples/bubble_chart.png +0 -0
  8. pdf_io-0.1.0/examples/bubble_chart.py +54 -0
  9. pdf_io-0.1.0/examples/canvas_demo.png +0 -0
  10. pdf_io-0.1.0/examples/canvas_demo.py +117 -0
  11. pdf_io-0.1.0/examples/drawing_demo.png +0 -0
  12. pdf_io-0.1.0/examples/drawing_demo.py +49 -0
  13. pdf_io-0.1.0/examples/heatmap.png +0 -0
  14. pdf_io-0.1.0/examples/heatmap.py +47 -0
  15. pdf_io-0.1.0/examples/scatter_plot.png +0 -0
  16. pdf_io-0.1.0/examples/scatter_plot.py +65 -0
  17. pdf_io-0.1.0/examples/showcase.png +0 -0
  18. pdf_io-0.1.0/examples/showcase.svg +82 -0
  19. pdf_io-0.1.0/examples/text.png +0 -0
  20. pdf_io-0.1.0/examples/text.svg +26 -0
  21. pdf_io-0.1.0/examples/text_layout.png +0 -0
  22. pdf_io-0.1.0/examples/text_layout.py +40 -0
  23. pdf_io-0.1.0/pdf_io/__init__.py +144 -0
  24. pdf_io-0.1.0/pdf_io/__main__.py +96 -0
  25. pdf_io-0.1.0/pdf_io/canvas.py +2659 -0
  26. pdf_io-0.1.0/pdf_io/cff.py +608 -0
  27. pdf_io-0.1.0/pdf_io/colormaps.py +264 -0
  28. pdf_io-0.1.0/pdf_io/colors.py +354 -0
  29. pdf_io-0.1.0/pdf_io/css.py +355 -0
  30. pdf_io-0.1.0/pdf_io/document.py +341 -0
  31. pdf_io-0.1.0/pdf_io/draw.py +1277 -0
  32. pdf_io-0.1.0/pdf_io/filters.py +338 -0
  33. pdf_io-0.1.0/pdf_io/fontdb.py +257 -0
  34. pdf_io-0.1.0/pdf_io/fonts.py +412 -0
  35. pdf_io-0.1.0/pdf_io/geometry.py +735 -0
  36. pdf_io-0.1.0/pdf_io/heatmap.py +440 -0
  37. pdf_io-0.1.0/pdf_io/images.py +329 -0
  38. pdf_io-0.1.0/pdf_io/jpeg.py +667 -0
  39. pdf_io-0.1.0/pdf_io/lines.py +458 -0
  40. pdf_io-0.1.0/pdf_io/markers.py +491 -0
  41. pdf_io-0.1.0/pdf_io/opentype.py +279 -0
  42. pdf_io-0.1.0/pdf_io/pdf.py +255 -0
  43. pdf_io-0.1.0/pdf_io/pdfa.py +163 -0
  44. pdf_io-0.1.0/pdf_io/png.py +111 -0
  45. pdf_io-0.1.0/pdf_io/py.typed +0 -0
  46. pdf_io-0.1.0/pdf_io/raster.py +1858 -0
  47. pdf_io-0.1.0/pdf_io/rasterfonts.py +243 -0
  48. pdf_io-0.1.0/pdf_io/rasterlines.py +410 -0
  49. pdf_io-0.1.0/pdf_io/renderer.py +1958 -0
  50. pdf_io-0.1.0/pdf_io/sfnt.py +702 -0
  51. pdf_io-0.1.0/pdf_io/textlayout.py +756 -0
  52. pdf_io-0.1.0/pdf_io/units.py +57 -0
  53. pdf_io-0.1.0/pyproject.toml +41 -0
  54. pdf_io-0.1.0/tests/corpus/clipping.svg +8 -0
  55. pdf_io-0.1.0/tests/corpus/css.svg +13 -0
  56. pdf_io-0.1.0/tests/corpus/empty.svg +3 -0
  57. pdf_io-0.1.0/tests/corpus/filters.svg +6 -0
  58. pdf_io-0.1.0/tests/corpus/fonts_face.svg +5 -0
  59. pdf_io-0.1.0/tests/corpus/gradients.svg +14 -0
  60. pdf_io-0.1.0/tests/corpus/images.svg +5 -0
  61. pdf_io-0.1.0/tests/corpus/markers.svg +6 -0
  62. pdf_io-0.1.0/tests/corpus/masks.svg +7 -0
  63. pdf_io-0.1.0/tests/corpus/opacity.svg +4 -0
  64. pdf_io-0.1.0/tests/corpus/paths.svg +6 -0
  65. pdf_io-0.1.0/tests/corpus/patterns.svg +7 -0
  66. pdf_io-0.1.0/tests/corpus/rasterized.svg +4 -0
  67. pdf_io-0.1.0/tests/corpus/shapes.svg +9 -0
  68. pdf_io-0.1.0/tests/corpus/strokes.svg +10 -0
  69. pdf_io-0.1.0/tests/corpus/structure.svg +7 -0
  70. pdf_io-0.1.0/tests/corpus/text-wrap.svg +4 -0
  71. pdf_io-0.1.0/tests/corpus/text_basic.svg +7 -0
  72. pdf_io-0.1.0/tests/corpus/text_layout.svg +7 -0
  73. pdf_io-0.1.0/tests/corpus/text_path.svg +6 -0
  74. pdf_io-0.1.0/tests/corpus/text_unicode.svg +5 -0
  75. pdf_io-0.1.0/tests/corpus/transforms.svg +7 -0
  76. pdf_io-0.1.0/tests/corpus/units.svg +5 -0
  77. pdf_io-0.1.0/tests/corpus/use_symbol.svg +8 -0
  78. pdf_io-0.1.0/tests/corpus/viewbox.svg +8 -0
  79. pdf_io-0.1.0/tests/helpers.py +423 -0
  80. pdf_io-0.1.0/tests/test_api.py +945 -0
  81. pdf_io-0.1.0/tests/test_cmyk.py +344 -0
  82. pdf_io-0.1.0/tests/test_convert.py +420 -0
  83. pdf_io-0.1.0/tests/test_features.py +346 -0
  84. pdf_io-0.1.0/tests/test_fonts_io.py +462 -0
  85. pdf_io-0.1.0/tests/test_parsing.py +184 -0
  86. pdf_io-0.1.0/tests/test_pdfa.py +295 -0
  87. pdf_io-0.1.0/tests/test_raster.py +1124 -0
  88. pdf_io-0.1.0/tests/test_svg_semantics.py +276 -0
  89. pdf_io-0.1.0/tests/test_textlayout.py +342 -0
@@ -0,0 +1,16 @@
1
+ # Python artifacts
2
+ __pycache__/
3
+ *.py[cod]
4
+ build/
5
+ dist/
6
+ *.egg-info/
7
+ .venv/
8
+
9
+ # Tool caches
10
+ .mypy_cache/
11
+
12
+ # OS files
13
+ .DS_Store
14
+
15
+ # Local data
16
+ /local