Skip to main content

Description

This archive contains a python package that includes a class implementing bitwise reading and writing for sequential files. This class is intended to be easy to follow and expand upon, though it may be used without an understanding of its implementation.

License

BitFile is licensed under the GNU General Public License v3. See COPYING for full license text.

Files

__init__.py     - Python package initializtion code for bitfile.
bitfile.py      - Class implementing bitwise reading and writing for
sequential files.
COPYING         - GNU General Public License v3
README          - Package documentation
sample.py       - Sample usage and doctest.
setup.py        - distutils setup file.

Installing

This package uses distutils. The package may be installed with the following command:

python setup.py install

Usage

bitfile.py is fully documented with docstrings. Use your favorite tool for generating documentation from docstrings.

sample.py demonstrates usage of each of the BitFile methods.

sample.py also contains doctest information. The doctest may be excuted with the following command:

python sample.py -v

History

01/14/10 - Initial release
03/04/10 - Add support for ‘r+’ (read/write) mode

ToDo

  • Add constructor to convert a standard file into a BitFile.

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

Release files / bitfile-0.2.tar.gz

Download URL bitfile-0.2.tar.gz
Size 20.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b8e5fe9ab077f393978659e15cfe1d38a5f822ca5250947fb27149427c953db3
BLAKE2b-256 checksum
How to use checksums
d99dfe420b6099125b6c618da4a98d47ee257a9bcf925ab576907bf8d8d5b0c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1

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