Skip to main content

This module will read sas7bdat files using pure Python (2.6+). No SAS software required! The module started out as a port of the R script of the same name found here: <https://github.com/BioStatMatt/sas7bdat>

Also included with this library is a simple command line script, sas7bdat_to_csv, which converts sas7bdat files to csv files. It will also print out header information and meta data using the –header option and it will batch convert files as well. Use the –help option for more information.

As is, I’ve successfully tested the script on around a hundred sample files I found on the internet. For the most part, it works well. The known issues right now are:

  1. Read only. No write support.

  2. Can’t read compressed data.

I’m sure there are more issues that I haven’t come across yet. Please let me know if you come across a data file that isn’t supported and doesn’t fall into one of the known issues above and I’ll see if I can add support for the file.

Feel free to fork this project and send me pull requests!

Metadata

Release files for sas7bdat 0.2.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 sas7bdat 0.2.2
File Size Uploaded
sas7bdat-0.2.2.tar.gz 8.7 kB Details

Release files / sas7bdat-0.2.2.tar.gz

Download URL sas7bdat-0.2.2.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b55ae23db56e2c9a1c8657b03e0c3dbddfdb77f740ed036334b98b45df9f1510
BLAKE2b-256 checksum
How to use checksums
c4f471631615a2ba9e7016bf6d85421b3c36328bc6b294c5897271280c73e4f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

2.3.0

2 release files

2.2.3

1 release file

2.2.2

1 release file

2.2.1

1 release file

2.2.0

1 release file

2.1.2

1 release file

2.1.1

1 release file

2.0.7

1 release file

2.0.6

1 release file

2.0.5

1 release file

2.0.4

1 release file

2.0.3

1 release file

2.0.2

1 release file

2.0.1

1 release file

2.0.0

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

This release

0.2.2 This release

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

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