Skip to main content

Access Fieldkit

Tools for the first awkward week of an Access migration: finding out what's in the file, getting the rows out without quietly changing them, and checking that a landing copy still matches.

The most common mistake is treating a row count as a completed migration. An Access database can carry keyless tables, embedded SQL tied to forms, four-decimal Currency values, unsaved business rules in VBA, and paths to files that don't live in the database. Moving tables doesn't fix any of that.

Fieldkit does not claim to convert an Access application. It's a read-only source inspector, exporter, SQLite staging loader, and per-value reconciliation tool. It also includes a PostgreSQL loading example and a runbook for SQL Server/SSMA migrations.

Quick start

Requires Python 3.10+, Java JDK 11+, and an Internet connection for the first run to retrieve Jackcess 5.0.4 from Maven Central. The downloaded JAR is checked against the pinned SHA-256. You can also pass a verified local JAR with --jackcess-jar.

python -m pip install .

# Makes only a manifest. Does not export rows.
access-fieldkit inspect ./legacy.accdb --out ./work/inventory

# Copies table rows into numbered JSONL files, plus a manifest with SHA-256 checksums.
access-fieldkit export ./legacy.accdb --out ./work/export

# What will need attention before someone changes the database or its front end?
access-fieldkit assess ./work/export --out ./work/assessment.md

# Optional: compare the native inventory with MDB Tools, if installed.
access-fieldkit probe-tools ./legacy.accdb ./work/export --out ./work/tool-probes.json

# Creates a new disposable landing database with original table/column names.
access-fieldkit load-sqlite ./work/export ./work/landing.sqlite

# Compares every exported value to the SQLite landing copy.
access-fieldkit reconcile ./work/export ./work/landing.sqlite

Both inspect and export open the Access file read-only. Existing output folders are not overwritten. The SQLite loader creates its target through a temporary file and refuses to replace an existing database unless --force is given; don't point it at production.

What the export contains

manifest.json records original table and column names, Access field types, indexes, row counts, saved queries when readable, the source file checksum, and individual table-file checksums. Each table-0001.jsonl holds one row per line in the original column order. The file names are numbered on purpose: original Access object names must never become unchecked filesystem paths.

Raw rows are kept in order. No artificial primary keys are introduced into source data, no duplicates are collapsed, and NULL is different from an empty string. Currency and decimal values use an explicit text tag so that an intermediate JSON float never rounds the number. Binary values use base64. Unsupported object values cause extraction to fail with a table/row/column location rather than disappear.

The SQLite target is a landing zone, not a finalized relational schema: it retains every original column and adds an internal source-row ordinal. Access Currency maps to SQLite TEXT, because SQLite has no exact fixed-decimal type. Use a deliberate target schema and business-approved conversions before building a production application.

Where it fits

  • SQLite / local web API: Run load-sqlite, then see examples/serve_sqlite.py for a read-only local HTTP view of the landing tables.
  • PostgreSQL: examples/load_postgres.py uses psycopg 3 to create a fresh schema and load the extracted values, including Currency as NUMERIC(19,4).
  • SQL Server / Azure SQL: Use SSMA for the bulk SQL Server path; apply the decisions in guides/sql-server.md. This repository does not pretend to be SSMA.
  • Modern application rewrite: Inventory saved queries here. Use desktop Access on Windows to document forms, events, macros and VBA before moving those workflows into an API or new UI.

Guides

Limits worth knowing

Encrypted .accdb files may need additional codec support; this tool doesn't try to bypass encryption. Attachments, multivalue columns, linked tables, and Access UI objects require separate inspection. If an Access object is unsupported, don't interpret an incomplete export as proof of a complete application migration. A Windows Access/SSMA run remains necessary for those parts.

This code grew out of repeatable migrations of real-format ACE files and documented Microsoft/Jackcess limitations, not production client migrations. The included examples use made-up data only. Use backups, permission reviews and a write freeze when assessing an actual customer database.

MIT licensed. See LICENSE.

Maintained by Vecture. Contributions and field reports are welcome via GitHub issues.

Metadata

Release files for access-fieldkit 0.1.0

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

Source distribution (sdist)

Source distribution for access-fieldkit 0.1.0
File Size Uploaded Provenance Actions
access_fieldkit-0.1.0.tar.gz 19.1 kB With provenance Details for access_fieldkit-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for access-fieldkit 0.1.0
File Interpreter ABI Platform Actions
access_fieldkit-0.1.0-py3-none-any.whl Python 3 none any Details for access_fieldkit-0.1.0-py3-none-any.whl

Total release size: 36.9 kB

Release files / access_fieldkit-0.1.0.tar.gz

Download URL access_fieldkit-0.1.0.tar.gz
Size 19.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ec3c23bcfd0252bd46a57856b248c5dfc9758b4eed3233ba6e34828b4eac7425
BLAKE2b-256 checksum
How to use checksums
0f50800f9b99250e71f7683a6057be6f921b6475bda792193532c0d3090ee548
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

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

Download URL access_fieldkit-0.1.0-py3-none-any.whl
Size 17.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a26189fc5d4d3af16a3e63e4f5dc70b80c38b1ee2e7aeed3c6bd9e8e8d7d7a5
BLAKE2b-256 checksum
How to use checksums
9f3b15a33dd3ae465abfc67d2d283b0b76510d64a022ec593d328beff5ce8536
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Security for access-fieldkit 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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for access_fieldkit-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

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

2 release files Full 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