Skip to main content

acc2psql

Convert Microsoft Access *.accdb or *.mdb into *.sql PostgreSQL format

I believe in MS Access regarding its fast prototyping of relational database. You probably are not going to use MS Access in production environment due to its file based and single user restriction. But in a prototyping phase, MS Acces is one tool that is hard to beat!

Quick and easily prototype your database using MS Access, once satisfied, use this tool to convert said database into PostgreSQL DDL. You can either save it to *.sql file, dump it to console or directly execute it to PostgreSQL instance

If you use Django, you can then run python manage.py inspectdb to turn generated tables into Django models and .. voila, you can skip manually coding tedious Django models yourselves!

pip install acc2sql
python -m acc2sql --src someawesomedatabase.accdb --dump
python -m acc2sql --src someawesomedatabase.accdb --out saveto.sql
python -m acc2sql --src someawesomedatabase.accdb --host localhost --username user --password password --db db

#if you use django
python manage.py inspectdb

This package is still in early development, I may add more database source / target along the way. You can also use this to any tool necessary: for example, I am thinking to use this as PyCharm Extension.. that will be awesome!

Eko - Founder and CEO

Remote Worker Indonesia / LinkedIn / Facebook / Instagram / Twitter

Youtube: Everybody can code!

Spotify: Everybody can code!

swdev.balI@gmail.com

Metadata

Release files for acc2psql 0.0.8

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

Source distribution (sdist)

Source distribution for acc2psql 0.0.8
File Size Uploaded Provenance
acc2psql-0.0.8.tar.gz 4.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for acc2psql 0.0.8
File Interpreter ABI Platform
acc2psql-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 20.9 kB

Release files / acc2psql-0.0.8.tar.gz

Download URL acc2psql-0.0.8.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
eab5c19e1f6a9f9c3a39471b03328d61bca81aa6bfd416a98c167a00c0b2a7d7
BLAKE2b-256 checksum
How to use checksums
fa1e53d10637772d2482b857f39d4dae7e9e90af732d85e238b9db9727ec64fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.6.6

Release files / acc2psql-0.0.8-py3-none-any.whl

Download URL acc2psql-0.0.8-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81ae18a41b97e858777b782b6698544a00e39f25989a189a22ed6a06ab95d529
BLAKE2b-256 checksum
How to use checksums
76ae7faa21f756b443fb4b9d4114e6b1f2125608c51a9354f337e28775b35b3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.6.6

Security for acc2psql 0.0.8

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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