Skip to main content

sas2sqlite3

Import sas7bdat files to sqlite3 dbase. Uses the sas7bdat SAS dataset file parser.

Command-line and python library interface with minimal requirements.

CLI usage

Create and import data into some_dataset table in some_sqlite.db

sas2sqlite some_dataset.sas7bdat some_sqlite.db

Import data into existing some_table table in some_sqlite.db

sas2sqlite some_dataset.sas7bdat some_sqlite.db --table some_table --no-create-table

Import data storing dates and datetimes as Julian days, and times as HH:MM:

sas2sqlite some_dataset.sas7bdat some_sqlite.db \
    --time "%H:%M" --date julian --datetime julian

Install

Requires python 3.6+ and pip.

pip install sas2sqlite3

Note: the package has a '3' at the end. The executable does not.

Other tools

  • sas2db: Import SAS dataset and XPT files to any database supported by SQL Alchemy. Uses pandas SAS parser under the hood.

Metadata

Release files for sas2sqlite3 0.0.2

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

Source distribution (sdist)

Source distribution for sas2sqlite3 0.0.2
File Size Uploaded Provenance Actions
sas2sqlite3-0.0.2.tar.gz 6.3 kB Without provenance Details for sas2sqlite3-0.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 12.0 kB

Release files / sas2sqlite3-0.0.2.tar.gz

Download URL sas2sqlite3-0.0.2.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
82e3c75c94b208840d3048b048137be38f465976563c306579e17a32c16f36cd
BLAKE2b-256 checksum
How to use checksums
96407235219b6cc8ad4ac32c27c6c8da298564fb17313b6b08ef85576be31e43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Release files / sas2sqlite3-0.0.2-py3-none-any.whl

Download URL sas2sqlite3-0.0.2-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5aac96f26f052e41b73e2358a06e926ff73ceddc0dc8a3fc9d963c6de10b8fe
BLAKE2b-256 checksum
How to use checksums
50f720d409d71650c2c09d2f5a00415134215cc2f703c834fc3a410a0e920527
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Security for sas2sqlite3 0.0.2

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

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