Skip to main content

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-array-0.1.1.tar.gz (6.3 kB view details)

Uploaded Source

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

Hashes for python-array-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a0301bf954ce2beff335e74dfcc2127e3b2cb0a1343e5e5741003289ad3d4bc7
MD5 28cbb714a44f76ada610af756df2b22c
BLAKE2b-256 90d99a14d6eb4f61061b6fdad6ba7e092c1c8a27aa82dc6ad8c77a91e6558e8d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page