# vbpdf
Install using pip
```sh
pip install vbpdf
```
## Usage
```sh
vbpdf -h
```
```sh
Usage: vbpdf [OPTIONS] COMMAND [ARGS]...
Options:
-h, --help Show this message and exit.
Commands:
overlay Annotates any pdf file.
split Splits any pdf file.
topng Converts pdf pages into pngs
addbg Adds background to pngs.
```
```sh
vbpdf split -h
```
```sh
Usage: vbpdf split [OPTIONS]
Splits any pdf file.
Options:
-i, --inputfile PATH Input file [default: ./main.pdf]
-o, --outputfile PATH Output file [default: ./main_splited.pdf]
-p, --pages <INTEGER INTEGER>...
Pages range [default: 0, 0]
-h, --help Show this message and exit.
```
```sh
vbpdf overlay -h
```
```sh
Usage: vbpdf overlay [OPTIONS]
Annotates any pdf file.
Options:
-i, --inputfile PATH Input file [default: ./main.pdf]
-o, --outputfile PATH Output file [default: ./main_annotated.pdf]
-s, --size For checking size of the pdf
-t, --text TEXT Text to be placed [default: Hello Sir!]
-p, --position <INTEGER INTEGER INTEGER INTEGER>...
Coordintes of the tex box [default: 0, 0,
100, 100]
-f, --foreground_color TEXT Foreground Color [default: 000000]
-b, --background_color TEXT Background Color [default: ffffff]
-F, --font TEXT Font type [default: Courier]
--font_size INTEGER Font size [default: 24]
-h, --help Show this message and exit.
```
```sh
vbpdf topng -h
```
```sh
Usage: vbpdf topng [OPTIONS]
Converts pdf pages into pngs
Options:
-i, --inputfile PATH Input file name [default: ./main.pdf]
-o, --outputfile PATH Output file name [default: ./main.png]
-d, --dpi INTEGER DPI -> density per inch for png [default:
320]
-t, --transparent Use this flag for transparent png
-r, --ranges <INTEGER INTEGER>...
Page range to be converted into png
[default: 1, 1]
-p, --pages Shows no of pages in a pdf file
-h, --help Show this message and exit.
```
Raw data
{
"_id": null,
"home_page": "https://github.com/vaibhavblayer/vbpdf",
"name": "vbpdf",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.11",
"maintainer_email": null,
"keywords": "split pdf, annotate pdf, pdftopng, png, pdf",
"author": "vaibhavblayer",
"author_email": "vaibhavblayer@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d4/24/c3697954b241ab569422709a63ef4e2391d2b6670a487edb61d1f20b7bb1/vbpdf-0.1.50.tar.gz",
"platform": null,
"description": "# vbpdf\nInstall using pip\n\n```sh\npip install vbpdf\n```\n\n## Usage\n```sh\nvbpdf -h\n```\n```sh\nUsage: vbpdf [OPTIONS] COMMAND [ARGS]...\n\nOptions:\n -h, --help Show this message and exit.\n\nCommands:\n overlay Annotates any pdf file.\n split Splits any pdf file.\n topng Converts pdf pages into pngs\n addbg\t Adds background to pngs.\n```\n\n```sh\nvbpdf split -h\n```\n```sh\nUsage: vbpdf split [OPTIONS]\n\n Splits any pdf file.\n\nOptions:\n -i, --inputfile PATH Input file [default: ./main.pdf]\n -o, --outputfile PATH Output file [default: ./main_splited.pdf]\n -p, --pages <INTEGER INTEGER>...\n Pages range [default: 0, 0]\n -h, --help Show this message and exit.\n \n```\n\n```sh\nvbpdf overlay -h\n```\n\n```sh\nUsage: vbpdf overlay [OPTIONS]\n\n Annotates any pdf file.\n\nOptions:\n -i, --inputfile PATH Input file [default: ./main.pdf]\n -o, --outputfile PATH Output file [default: ./main_annotated.pdf]\n -s, --size For checking size of the pdf\n -t, --text TEXT Text to be placed [default: Hello Sir!]\n -p, --position <INTEGER INTEGER INTEGER INTEGER>...\n Coordintes of the tex box [default: 0, 0,\n 100, 100]\n -f, --foreground_color TEXT Foreground Color [default: 000000]\n -b, --background_color TEXT Background Color [default: ffffff]\n -F, --font TEXT Font type [default: Courier]\n --font_size INTEGER Font size [default: 24]\n -h, --help Show this message and exit.\n\n```\n\n```sh\nvbpdf topng -h\n```\n```sh\nUsage: vbpdf topng [OPTIONS]\n\n Converts pdf pages into pngs\n\nOptions:\n -i, --inputfile PATH Input file name [default: ./main.pdf]\n -o, --outputfile PATH Output file name [default: ./main.png]\n -d, --dpi INTEGER DPI -> density per inch for png [default:\n 320]\n -t, --transparent Use this flag for transparent png\n -r, --ranges <INTEGER INTEGER>...\n Page range to be converted into png\n [default: 1, 1]\n -p, --pages Shows no of pages in a pdf file\n -h, --help Show this message and exit.\n\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "There was this issue with single page pdf in instagram stacking and blurring _ i fixed that.",
"version": "0.1.50",
"project_urls": {
"Homepage": "https://github.com/vaibhavblayer/vbpdf",
"Repository": "https://github.com/vaibhavblayer/vbpdf"
},
"split_keywords": [
"split pdf",
" annotate pdf",
" pdftopng",
" png",
" pdf"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ce306ebc550dba807886a0cb4a8a79628283a211fa0cab88bd7e6c199aeadb3c",
"md5": "a1b912d8b9108e99b88ebee8e3452b2a",
"sha256": "46a95a852d5c7786432da4ecaae15f52b75fbe09e8f49b8b429621515f675bdb"
},
"downloads": -1,
"filename": "vbpdf-0.1.50-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a1b912d8b9108e99b88ebee8e3452b2a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.11",
"size": 10923,
"upload_time": "2024-11-11T08:43:03",
"upload_time_iso_8601": "2024-11-11T08:43:03.904090Z",
"url": "https://files.pythonhosted.org/packages/ce/30/6ebc550dba807886a0cb4a8a79628283a211fa0cab88bd7e6c199aeadb3c/vbpdf-0.1.50-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d424c3697954b241ab569422709a63ef4e2391d2b6670a487edb61d1f20b7bb1",
"md5": "79a36a312f7212e439fc1cc398f76f67",
"sha256": "70a7d16116f0dc1d4343b112f51a02947d3bd49306116cf334cb226337e7a51b"
},
"downloads": -1,
"filename": "vbpdf-0.1.50.tar.gz",
"has_sig": false,
"md5_digest": "79a36a312f7212e439fc1cc398f76f67",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.11",
"size": 6782,
"upload_time": "2024-11-11T08:43:05",
"upload_time_iso_8601": "2024-11-11T08:43:05.834442Z",
"url": "https://files.pythonhosted.org/packages/d4/24/c3697954b241ab569422709a63ef4e2391d2b6670a487edb61d1f20b7bb1/vbpdf-0.1.50.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-11 08:43:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "vaibhavblayer",
"github_project": "vbpdf",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "vbpdf"
}