Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bisand/pdf-import
https://github.com/bisand/pdf-import
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bisand/pdf-import
- Owner: bisand
- License: mit
- Created: 2020-10-14T07:46:11.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-30T13:15:12.000Z (about 4 years ago)
- Last Synced: 2024-11-08T16:12:19.924Z (2 months ago)
- Language: Python
- Size: 48.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PDF import
Import special PDF files into SQLite databases and export again to Excel files using SQL statements
## Usage
```bash
-f FILES [FILES ...], --files FILES [FILES ...]
PDF files to parse. Separate with space.
-d DATABASE, --database DATABASE
Output SQLite3 database file.
-q QUERY, --query QUERY
SQL query to export to Excel file.
-x EXCEL, --excel EXCEL
Output Excel file.
-o, --overwrite Overwrite Excel file.
```
```bash
> python pdf-import.py --files test.pdf --database test.db --excel test.xlsx --query "select * from commission_report_items" --overwrite
```