Skip to main content

auto-ohin

You can ohin on the input pdf easily.

Installation

pip install auto-ohin

Requirement

Pillow = "^8.0.1"
reportlab = "^3.5.55"
PyPDF4 = "^1.27.0"
jsonnet = "^0.16.0"

Usage

1. First you only need config files like below.

local root = "path/to/root"; # row path
local pathgen(path) = root + path;
{
    "input_path": pathgen("input.pdf"), # pdf path on which you want to sign
    "save_path": pathgen("output.pdf"), # save path you want to save
    "img_path": pathgen("inkan.png"), # img path which you want to put on the pdf
    "obj_pages": [1, 3], # List of page numbers you want to put. This is 1-indexed.
    "position": [147, 225], # The position List(mm)[width, height] to put image. The origin point is the lower left corner.
    "img_size": [20, 20] # List(px)[width, height] you want to resize.
}

2. Run simply in commandlines.

auto-ohin path/to/config.jsonnet

Author

License

"auto-ohin" is under MIT license.

Metadata

Release files for auto-ohin 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for auto-ohin 0.1.0
File Interpreter ABI Platform Actions
auto_ohin-0.1.0-py3-none-any.whl Python 3 none any Details for auto_ohin-0.1.0-py3-none-any.whl

Release files / auto_ohin-0.1.0-py3-none-any.whl

Download URL auto_ohin-0.1.0-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
20284419efcccf20840d4f4ff11fbebdca81c0d0db0edef12b0ce969baa0a2b1
BLAKE2b-256 checksum
How to use checksums
c883bcb33a4be9e2280174ddbbc90cb76a009c0b97caba2fd13ffdfc01b7f1c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.0

Security for auto-ohin 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page