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 
foo = MutableInt(10)

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

Details

TODO

Development

Install and compile the package locally

'python setup.py install'

Run the unit tests

'python test_mutableint.py

Project details


Release history Release notifications

This version

0.2

Download files

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

Files for mutableint-hevangel, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size mutableint_hevangel-0.2-cp37-cp37m-win_amd64.whl (14.1 kB) File type Wheel Python version cp37 Upload date Hashes View hashes
Filename, size mutableint-hevangel-0.2.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page