Skip to main content

Excel extractor

Extract excel form content into structured data.

Usage

  1. SECCF extraction: supplier export control classification Form/declaration
from py_excel_form_extractor import extractor, go

company_names = extractor.CompanyNameList()  # the company name which can be mentioned in the file
for company_name in ["Amazon", "Amazon Ltd"]:
    company_names.append(company_name)

extr = extractor.make_seccf_extractor("Example.xlsx", company_names)
extraction = extr.extract()

# convert to JSON string
extr_json = extr.to_json()

BUILD

  1. Building the go binary
go build -o gobinary ./cmd/excelExtractor
  1. Running the program without building the binary
go build -o ./bin/excel-extrator ./cmd/excelFormExtractor/main.go
  1. Run the binary:
./bin/excel-extrator

Local Python bindings generation and installation

pip3 install pybindgen wheel
gopy build --output=py_excel_form_extractor -vm=python3 ./pkg/*
RELEASE_VERSION=YOUR_UPDATED_PACKAGE_VERSION python3 setup.py bdist_wheel --force

# install wheel file
wheel_file=$(ls dist/*.whl | head -n1); pip3 install $wheel_file

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

champion_excel_form_extractor-0.3.42-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (6.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

champion_excel_form_extractor-0.3.42-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

champion_excel_form_extractor-0.3.42-cp314-cp314-macosx_14_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

File details

Details for the file champion_excel_form_extractor-0.3.42-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for champion_excel_form_extractor-0.3.42-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0ae86ece66c2859f58daedeeefa815871c6ef4da0834a488247a340ad464200e
MD5 f8f8d6fddcf1d043a79b6984c61f70cd
BLAKE2b-256 3b6764f1c05b9e365eb714b20607b8a431e080a3cd3ce049e8ef3b8bc98e5962

See more details on using hashes here.

Provenance

The following attestation bundles were made for champion_excel_form_extractor-0.3.42-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build.yaml on championeng/excelFormExtractor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file champion_excel_form_extractor-0.3.42-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for champion_excel_form_extractor-0.3.42-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 03f4c12f23897a31d50d3786b499b4610ff25be605d7b898e0cc5ee19b87bfde
MD5 26118eee348a1c0c1380241ed89812b7
BLAKE2b-256 ae77197888e40ee3f8b2cb131d6ea9fe4807971f3c4c596c035083b434b154d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for champion_excel_form_extractor-0.3.42-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl:

Publisher: build.yaml on championeng/excelFormExtractor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file champion_excel_form_extractor-0.3.42-cp314-cp314-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for champion_excel_form_extractor-0.3.42-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3185aafa1b034c21693e15891c55c6bdba39ff7557dc2c7cd20080aa39ac3c21
MD5 af904145463346b9972336490edb2138
BLAKE2b-256 3273d9c56ef9532e58314e9df068123cc0e74e5cd085204c8dabe3279c0902bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for champion_excel_form_extractor-0.3.42-cp314-cp314-macosx_14_0_arm64.whl:

Publisher: build.yaml on championeng/excelFormExtractor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.3.42 This release

3 files

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