https://github.com/aboutcode-org/bitcode
https://github.com/aboutcode-org/bitcode
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/aboutcode-org/bitcode
- Owner: aboutcode-org
- Created: 2023-06-21T17:06:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-30T03:31:50.000Z (over 1 year ago)
- Last Synced: 2025-07-01T02:15:12.154Z (6 months ago)
- Language: Python
- Size: 367 KB
- Stars: 0
- Watchers: 6
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- Code of conduct: CODE_OF_CONDUCT.rst
- Authors: AUTHORS.rst
Awesome Lists containing this project
README
bitcode
==================
This repo is a pure python implementation for `intbitset `_.
Installation
-------------------
Requirements
###################
* Python 3.8 or later
.. code-block:: bash
pip install bitcode
Documentation
---------------------------
bitcode is a fallback library for intbitset, so the ``intbitset`` class and its methods
have same names and parameters.
Below listed are the implemented classes and methods.
Classes
##########
* ``intbitset``
Methods for Automaton class
###############################
* ``add``
* ``clear``
* ``copy``
* ``difference``
* ``difference_update``
* ``discard``
* ``isdisjoint``
* ``issuperset``
* ``issubset``
* ``remove``
* ``strbits``
* ``symmetric_difference``
* ``symmetric_difference_update``
* ``tolist``
* ``union``
* ``union_update``
* ``intersection``
* ``intersection_update``
* ``__and__``
* ``__eq__``
* ``__contains__``
* ``__len__``
* ``__iter__``
* ``__hash__``
* ``__str__``
For documentation please refer to: https://intbitset.readthedocs.io/en/latest/