Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/python-documentai-toolbox
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.1-alpha
Choose a base ref
...
head repository: googleapis/python-documentai-toolbox
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.2.0-alpha
Choose a head ref
  • 7 commits
  • 27 files changed
  • 4 contributors

Commits on Feb 8, 2023

  1. chore(deps): update dependency google-cloud-documentai to v2 (#49)

    * chore(deps): update dependency google-cloud-documentai to v2
    
    * Update requirements.txt
    
    ---------
    
    Co-authored-by: Holt Skinner <13262395+holtskinner@users.noreply.github.com>
    renovate-bot and holtskinner authored Feb 8, 2023
    Configuration menu
    Copy the full SHA
    380f3b9 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2023

  1. Configuration menu
    Copy the full SHA
    3cbb16f View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2023

  1. feat: Added Support for Form Fields (#48)

    * feat: Added Support for Form Fields
    
    * docs: Updated spacing in `_trim_text()` docstring
    
    * Added return type for `get_form_field_by_name()`
    
    ---------
    
    Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com>
    holtskinner and galz10 authored Feb 14, 2023
    Configuration menu
    Copy the full SHA
    6d74548 View commit details
    Browse the repository at this point in the history
  2. samples: Added Table Parsing Sample (#54)

    * samples: Added Table Sample
    
    * test: Add Table Sample Test
    
    * Update test_table_sample.py
    
    * samples: Updated Sample variables
    
    * Updated comment to specify local document path
    
    ---------
    
    Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com>
    holtskinner and galz10 authored Feb 14, 2023
    Configuration menu
    Copy the full SHA
    622959f View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2023

  1. feat: Add PDF Splitter (#51)

    * feat: Add PDF Splitter
    
    * fix: Updated setup.py syntax
    
    * fix: Fixed initializer error
    
    * Updated Test to include a multi-page split
    
    * formatting fix
    
    * Add Pdf Split Example
    
    * Adjusted mkdir in tests
    
    * Added pikepdf to test dependencies
    
    ---------
    
    Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com>
    holtskinner and galz10 authored Feb 15, 2023
    1 Configuration menu
    Copy the full SHA
    8359911 View commit details
    Browse the repository at this point in the history
  2. feat: Add entities_to_dict() and entities_to_bigquery() to `Docum…

    …ent` wrapper (#50)
    
    * feat: Add `entities_to_dict()` and `entities_to_bigquery()` to Document wrapper
    
    - Uploads entities to an existing dataset, creates new table if it doesn't already exist.
    
    ## Example Output Table
    
    | supplier_iban | purchase_order | supplier_email      | freight_amount | supplier_address             | receiver_address             | total_amount | supplier_name | total_tax_amount | payment_terms    | line_item                                                                     | receiver_name | receiver_email    | due_date   | invoice_date | invoice_id | currency | receiver_tax_id | net_amount | vat |
    |---------------|----------------|---------------------|----------------|------------------------------|------------------------------|--------------|---------------|------------------|------------------|-------------------------------------------------------------------------------|---------------|-------------------|------------|--------------|------------|----------|-----------------|------------|-----|
    |            50 |              1 | user@companyabc.com |            600 | 111 Main Street Anytown, USA | 222 Main Street Anytown, USA |         2140 | Company ABC   |              140 | 6 month contract | [Tool A 500 1.00 500.00,Service B 1 900.00 900.00,Resource C 50 12.00 600.00] | John Doe      | johndoe@email.com | 2025-01-01 |   1970-01-01 | NO. 001    | $        |               1 |       2000 | 140 |
    
    * Removed unneeded test code
    
    * Added bigquery library to setup.py
    
    * Updated Docstrings
    
    * Fixed Test import linter error
    
    * Added bigQuery Library to Testing Constraints
    
    * Added handling of Nested Entities (properties)
    
    * Dependency Update for Tests
    
    * Update Dependencies
    
    * Fixed Test Output
    
    * Updated DatasetReference based on Deprecation Warning
    
    * samples: Added Entities to BigQuery Sample Code
    
    * Added Required tag to `entities_to_bigquery()` arguments
    
    * Fixed Issues from merge conflict
    
    * Fixed numpy import
    
    ---------
    
    Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com>
    holtskinner and galz10 authored Feb 15, 2023
    Configuration menu
    Copy the full SHA
    494fa86 View commit details
    Browse the repository at this point in the history
  3. chore(main): release 0.2.0-alpha (#56)

    * chore(main): release 0.2.0-alpha
    
    * Update CHANGELOG.md
    
    ---------
    
    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    Co-authored-by: Holt Skinner <13262395+holtskinner@users.noreply.github.com>
    release-please[bot] and holtskinner authored Feb 15, 2023
    Configuration menu
    Copy the full SHA
    cca2536 View commit details
    Browse the repository at this point in the history
Loading