======
Atomic
======
An atomic class that guarantees atomic updates to its contained value. ::
from atomic import AtomicLong
atomic = AtomicLong(0)
atomic += 1
atomic.value
Installation
============
To install atomic, use pip : ::
pip install atomic
Acknowledgement
===============
This is heavily inspired by `ruby-atomic <https://github.com/headius/ruby-atomic>`_.
Raw data
{
"_id": null,
"home_page": "https://github.com/cyberdelia/atomic",
"name": "atomic",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Timoth\u00e9e Peignier",
"author_email": "timothee.peignier@tryphon.org",
"download_url": "https://files.pythonhosted.org/packages/b1/c8/18758210ec92eca9211f742d136c3a6e069bd53f2be34c2ec4af0c225696/atomic-0.7.3.tar.gz",
"platform": "",
"description": "======\nAtomic\n======\n\nAn atomic class that guarantees atomic updates to its contained value. ::\n\n from atomic import AtomicLong\n atomic = AtomicLong(0)\n atomic += 1\n atomic.value\n\n\nInstallation\n============\n\nTo install atomic, use pip : ::\n\n pip install atomic\n\n\nAcknowledgement\n===============\n\nThis is heavily inspired by `ruby-atomic <https://github.com/headius/ruby-atomic>`_.",
"bugtrack_url": null,
"license": "MIT",
"summary": "An atomic class that guarantees atomic updates to its contained value.",
"version": "0.7.3",
"project_urls": {
"Homepage": "https://github.com/cyberdelia/atomic"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b1c818758210ec92eca9211f742d136c3a6e069bd53f2be34c2ec4af0c225696",
"md5": "97aae2d88b85a68f23d15120a9492e7e",
"sha256": "e23baa42ace8d69693f7a9be83377f410be301c29cb3121b070fa9b9473b2e5c"
},
"downloads": -1,
"filename": "atomic-0.7.3.tar.gz",
"has_sig": false,
"md5_digest": "97aae2d88b85a68f23d15120a9492e7e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8439,
"upload_time": "2018-08-14T22:42:04",
"upload_time_iso_8601": "2018-08-14T22:42:04.536194Z",
"url": "https://files.pythonhosted.org/packages/b1/c8/18758210ec92eca9211f742d136c3a6e069bd53f2be34c2ec4af0c225696/atomic-0.7.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2018-08-14 22:42:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "cyberdelia",
"github_project": "atomic",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"lcname": "atomic"
}