# Building the Bindings
To build and make the bindings, ensure you have CMake installed. Then, follow the instructions below.
_Python configuration:_
`bash sudo apt-get update sudo apt-get install python3.11-dev python3.11 -m venv .venv source .venv/bin/activate pip install -r requirements.txt `
_Build commands:_
`bash mkdir build cd build cmake -S .. -B . make -j `
Then, run the tests: ./test/tw-test.
Finally, ensure that there exists a twb.cpython-39-x86_64-linux-gnu.so file in the build directory.
# The FlatBuffer Compiler
## Building
Download CMake: https://cmake.org/download/
Install CMake:
`bash tar -zxvf cmake-<version>.tar.gz cd cmake-<version> ./bootstrap make -j sudo make install cd .. sudo rm -r cmake-<version> `
Test installation: cmake –version
Install the FlatBuffers compiler (ensure the version matches the one in the CMakeLists.txt file):
`bash git clone https://github.com/google/flatbuffers.git cd flatbuffers git checkout <version> cmake -G "Unix Makefiles" make -j sudo make install cd .. sudo rm -r flatbuffers `
Test installation: flatc –version
## Usage
flatc –language -o output-directory flatbuffer-file.fbs
_–language specifies the language to compile the schema for. E.g. –cpp, –js, –ts, –python, etc._
Metadata
Release files for fftwb 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fftwb-0.1.1.tar.gz | 775.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fftwb-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.6 MB
Release files / fftwb-0.1.1.tar.gz
| Download URL | fftwb-0.1.1.tar.gz |
|---|---|
| Size | 775.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
514a02968704256b9e4fc0010a88a0834186fabda2ed3f21b0e4fa98a2126d78
|
|
BLAKE2b-256 checksum How to use checksums |
d6a6b27ad6a7c6756a80916a7bf0143bbd896b7c6fb384a00cc819c191e30364
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.9
|
Release files / fftwb-0.1.1-py3-none-any.whl
| Download URL | fftwb-0.1.1-py3-none-any.whl |
|---|---|
| Size | 787.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b4d849b939135eb8077ffdb77ef99118c837a3f40b3c49bbf979b7c427ecd79
|
|
BLAKE2b-256 checksum How to use checksums |
765c41c97888d5a9c4d33cf3922443b210f678f97cc130a95bc459355843dfb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.9
|