https://python-utilities.readthedocs.io/en/latest/array.html
Project description
# python-array
See https://python-utilities.readthedocs.io/en/latest/array.html
## Install
` pip3 install -U python-array `
## Usage
`py >>> from python_array import CTypesView >>> text = bytearray(b"Hello, I am a simple ASCII string!") >>> ctview = CTypesView(text, itemsize=1) >>> ctview.view[0] = 0x61 >>> print(text) aello, I am a simple ASCII string! >>> ctview.to_uint16()[3] = 0x6554 >>> print(text) aello,Te am a simple ASCII string! `
## License
MIT
## Contact
Maintained by [Shawn Presser](https://www.shawwn.com). If you found it useful, please consider [joining my patreon](https://www.patreon.com/shawwn)!
My Twitter DMs are always open; you should [send me one](https://twitter.com/theshawwn)! It’s the best way to reach me, and I’m always happy to hear from you.
Twitter: [@theshawwn](https://twitter.com/theshawwn)
Patreon: [https://www.patreon.com/shawwn](https://www.patreon.com/shawwn)
HN: [sillysaurusx](https://news.ycombinator.com/threads?id=sillysaurusx)
Website: [shawwn.com](https://www.shawwn.com)
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
File details
Details for the file python-array-0.1.1.tar.gz
.
File metadata
- Download URL: python-array-0.1.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0301bf954ce2beff335e74dfcc2127e3b2cb0a1343e5e5741003289ad3d4bc7 |
|
MD5 | 28cbb714a44f76ada610af756df2b22c |
|
BLAKE2b-256 | 90d99a14d6eb4f61061b6fdad6ba7e092c1c8a27aa82dc6ad8c77a91e6558e8d |