Skip to main content

Mutable Integer package, a subclass of int

Project description

Python Mutable Integer package, a subclass of int

Install

'pip install mutableint'

This package is a proof of concept implemenation of a mutable integer object for Python. The mutable integer class is a sub-class of the built-in int class.
The mutable integer object feels like an int, works like an int, it even works exactly like an int when the Python object is passed into C code via SWIG

Usage

from mutableint import MutableInt

# create a mutable integer with value 10 
a = MutableInt(10)

# change the value of a to 11
a.set(11)

Development

Install and compile the package locally

'python setup install'

Run the unit tests

'python test_mutableint.py

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

mutableint-0.1.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file mutableint-0.1.tar.gz.

File metadata

  • Download URL: mutableint-0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.10.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.5.2

File hashes

Hashes for mutableint-0.1.tar.gz
Algorithm Hash digest
SHA256 a80459a19efa8f9e70f8320d15d99e97dbbac12758e4c01c9b99c49cdd4aeadc
MD5 da6bcff3a0b55420e4b5848a615bea66
BLAKE2b-256 1d2fbb0bd52e786a000790e546e4ec40d74f0a62f7e2bd92e7efef81a124790f

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