Skip to main content

Create a new empty Access database

Project description

msaccessdb

A package to create a new (empty) Access database. Potentially of interest to pyodbc users who:

  • switched from pypyodbc and miss having the pypyodbc.win_create_mdb method (see Note 3, below),

  • need to create a new Access database so they can dump information into it, or

  • want to create a temporary database to help work around issues regarding performance, prevent "bloat" in the main database, or avoid the dreaded "Operation must use an updateable query." error message.

Installation:

pip install msaccessdb

Usage:

import msaccessdb
msaccessdb.create(r'C:\path\to\new.accdb')

Notes:

  1. This package does not need the Access Database Engine to create a database.

  2. No effort is made to prevent overwriting an existing file.

  3. This package simply creates the file. It doesn't automatically connect to it using pyodbc (or anything else).

Project details


Download files

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

Source Distribution

msaccessdb-1.0.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

msaccessdb-1.0.0-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file msaccessdb-1.0.0.tar.gz.

File metadata

  • Download URL: msaccessdb-1.0.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for msaccessdb-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9d3e42c30756afad484755bc84732bcffab42632d42ea93dd446ac0b5609b563
MD5 7f8f7edeb52558ef9417145996137ddf
BLAKE2b-256 b0c5edf2c17b5664f7b04f2a3357ee239f8488273c6bb1824ef47029a2daa4c3

See more details on using hashes here.

File details

Details for the file msaccessdb-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: msaccessdb-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for msaccessdb-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 760a510c6f14b4a40105fe65171fd5e8717bf30a447dcb9b76f340a303c3475a
MD5 b2bc2da7dbafdc88ae75beb14c267e81
BLAKE2b-256 5969a0702a6418117aa4dc6031b304b2b2139022ba7d52d6b1c6cb1134f9f5c4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page