An open API service indexing awesome lists of open source software.

https://github.com/hitchdev/hitchexamplefiles

Example jpeg, pdf and png files which can be used for testing.
https://github.com/hitchdev/hitchexamplefiles

Last synced: 8 months ago
JSON representation

Example jpeg, pdf and png files which can be used for testing.

Awesome Lists containing this project

README

          

# HitchExampleFiles

A group of example files which can be used for testing - a big jpeg, small jpeg, pdf and png.

Uses [path.py](https://pathpy.readthedocs.io/en/stable/api.html),
so you can use path.py API to do anything with the files.

E.g.

.. code:: python

import hitchexamplefiles
from path import Path

>>> hitchexamplefiles.jpeg_large.copy(Path("/path/to/your/jpegname.jpeg"))
>>> hitchexamplefiles.jpeg_small.copy(Path("/path/to/your/jpegname.jpeg"))
>>> hitchexamplefiles.pdf_one_page.copy(Path("/path/to/your/pdf_one_page.pdf"))
>>> hitchexamplefiles.png_large.copy(Path("/path/to/your/png_large.png"))

>>> hitchexamplefiles.asset_directory.joinpath("jpeg_large.jpg")
>>> hitchexamplefiles.asset_directory.joinpath("jpeg_small.jpg")
>>> hitchexamplefiles.asset_directory.joinpath("pdf_one_page.pdf")
>>> hitchexamplefiles.asset_directory.joinpath("png_large.png")