Makes a four character string from individual letters.
Project description
makefourcc
A minimal Python module that replicates the MAKEFOURCC macro from Windows APIs. This is useful for creating FOURCC codes in graphics, multimedia, or game development contexts.
Installation
pip install makefourcc
Usage
from makefourcc import MAKEFOURCC
code = MAKEFOURCC('D', 'X', 'T', '1')
print(hex(code)) # Outputs: 0x31545844
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
makefourcc-1.0.1.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file makefourcc-1.0.1.tar.gz.
File metadata
- Download URL: makefourcc-1.0.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60266560a2d9b2f0590af0ea96d6b6a82c2b7b610b283790ab7401bc7b9ecd4d
|
|
| MD5 |
54a51d399f54927663abcb4f40a07832
|
|
| BLAKE2b-256 |
8ee6a924dd10070014c5328846aef65839d5991733784fba3d201facaef07b5a
|
File details
Details for the file makefourcc-1.0.1-py3-none-any.whl.
File metadata
- Download URL: makefourcc-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dc47b94eadc086cb1520bb039cdac4b5daa8b6f72cece0df33a633a4096130a
|
|
| MD5 |
acd99cc577c64449db15dddef7372dc3
|
|
| BLAKE2b-256 |
c7a67dcf46ba6d8e33729a699ca1978c30325b5abda4774253b72fb66c5456f2
|