{ "info": { "author": "Florian Einfalt", "author_email": "info@florianeinfalt.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Build Tools" ], "description": "nukedatastore\n=============\n\n.. image:: https://img.shields.io/pypi/l/nukedatastore.svg\n :target: https://pypi.org/project/nukedatastore/\n.. image:: https://img.shields.io/pypi/pyversions/nukedatastore.svg\n :target: https://pypi.org/project/nukedatastore/\n.. image:: https://img.shields.io/pypi/v/nukedatastore.svg\n :target: https://pypi.org/project/nukedatastore/\n.. image:: https://img.shields.io/pypi/wheel/nukedatastore.svg\n :target: https://pypi.org/project/nukedatastore/\n.. image:: https://readthedocs.org/projects/nukedatastore/badge/?version=latest\n :target: https://readthedocs.org/projects/nukedatastore/?badge=latest\n\nA library for basic data persistence in Nuke\n\n`Full Documentation`_\n\nInstallation\n------------\n\nTo install ``nukedatastore``, type:\n\n.. code-block:: bash\n\n $ pip install nukedatastore\n\nOpen Nuke's ``init.py`` file and add:\n\n.. code-block:: python\n\n nuke.pluginAddPath('/path/to/your/local/python/site-packages')\n\nGetting Started\n---------------\n\nTo get started with ``nukedatastore``, type in the Nuke Script Editor:\n\n.. code-block:: python\n\n import nukedatastore\n\nNukeDataStore\n~~~~~~~~~~~~~\n\nTo initialise a ``NukeDataStore``, type:\n\n.. code-block:: python\n\n ds = nukedatastore.NukeDataStore('data_store')\n\nTo store data in the ``NukeDataStore``, type:\n\n.. code-block:: python\n\n ds['project_data'] = {'id': 1234, 'name': 'project name'}\n\nTo list all available keys in the ``NukeDataStore``, type:\n\n.. code-block:: python\n\n ds.list()\n # ['project_data']\n\nTo retrieve stored data from the ``NukeDataStore``, type:\n\n.. code-block:: python\n\n ds['project_data']\n # {'id': 1234, 'name': 'project name'}\n\nA ``NukeDataStore`` can be frozen, to freeze, type:\n\n.. code-block:: python\n\n ds.freeze()\n\nAny further attempt to set data on the ``NukeDataStore`` will result in\nan error:\n\n.. code-block:: python\n\n ds['color_data'] = {'id': 'AB-123', 'name': 'White'}\n # nukedatastore.NukeDataStoreError: Cannot mutate frozen NukeDataStore\n\nTo un-freeze, type:\n\n.. code-block:: python\n\n ds.unfreeze()\n\nNukeAPICache\n~~~~~~~~~~~~\n\nWorking with the ``NukeAPICache`` is very similar. To register an API, type:\n\n.. code-block:: python\n\n api_cache = nukedatastore.NukeAPICache('api_cache')\n api.cache.register('project_data', 'https://project.your.domain.com')\n\nTo read the cached API data, type:\n\n.. code-block:: python\n\n api_cache['project_data']\n\nTo update the API data, type:\n\n.. code-block:: python\n\n api_cache.update('project_data')\n\nTo diff existing API data with new API data, type:\n\n.. code-block:: python\n\n api_cache.diff('project_data')\n # {'project_data': {'values_changed': {\"root['headers']['X-Request-Id']\": {'new_value': u'f5800c5e-4edb-4509-8339-4bcdf0b32732', 'old_value': u'd8ed6737-e5c8-49aa-b42e-58eb2ba472b9'}}}}\n\n.. _Full Documentation: http://nukedatastore.readthedocs.io/en/latest/\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/florianeinfalt/nukedatastore", "keywords": "", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "nukedatastore", "package_url": "https://pypi.org/project/nukedatastore/", "platform": "", "project_url": "https://pypi.org/project/nukedatastore/", "project_urls": { "Homepage": "https://github.com/florianeinfalt/nukedatastore" }, "release_url": "https://pypi.org/project/nukedatastore/0.2.0/", "requires_dist": [ "deepdiff", "nukeuuid" ], "requires_python": "", "summary": "A library for basic data persistence in Nuke", "version": "0.2.0" }, "last_serial": 4011563, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6df1e52ff00c325cd88929ea92fd278f", "sha256": "973300bb72e28221b9ed366aca7fb44565cc46c3977242e1bc441c56a6cb7128" }, "downloads": -1, "filename": "nukedatastore-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "6df1e52ff00c325cd88929ea92fd278f", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6446, "upload_time": "2017-03-06T15:43:01", "url": "https://files.pythonhosted.org/packages/6f/ed/2a16715da5a29e6ba0b8e929e3db552823955c0e74938fa5745b51cc2d74/nukedatastore-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6c7ca6b9c4d983072d71b361d7ac7f00", "sha256": "dee5c701cc8f45b7c6453e6591140d94da596ac9e8d22d5bb8c2a4f1ac51db63" }, "downloads": -1, "filename": "nukedatastore-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6c7ca6b9c4d983072d71b361d7ac7f00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12791, "upload_time": "2017-03-06T15:43:04", "url": "https://files.pythonhosted.org/packages/18/fc/6122dde0b01c808a018c6d1c1e25c51e5ddaa3c9848b306091299cafe759/nukedatastore-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "25bd9dfb7ceef6b556b67521c1aef25a", "sha256": "89715ee70c110e83e6cdcf7577a17f08a12f2fbd4c93fa0bbecaa8654a90ed1a" }, "downloads": -1, "filename": "nukedatastore-0.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "25bd9dfb7ceef6b556b67521c1aef25a", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 7584, "upload_time": "2017-03-08T11:25:25", "url": "https://files.pythonhosted.org/packages/12/a2/2fe43b8c0c540fda4af16e5abeaebcf3a1388e262ccec389f1794bb38634/nukedatastore-0.1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ac614d45327524346a3fb438d36567c2", "sha256": "3c4536fe853c862ccaed368b96dc59134e38388bdfc318d6c5c6d0264864b2a2" }, "downloads": -1, "filename": "nukedatastore-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ac614d45327524346a3fb438d36567c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14319, "upload_time": "2017-03-08T11:25:27", "url": "https://files.pythonhosted.org/packages/87/97/58202b40d119e7a11aab2b5d08d48d7fd8a6a7f8ef770f3408650c2afa55/nukedatastore-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "db9e55cb916cfdbc2c44d1fd21471c08", "sha256": "1cfafe5366b92c25cace34809e6cf8d3df704a82f4ae0e9cc3a81a2c8edf9d0a" }, "downloads": -1, "filename": "nukedatastore-0.1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "db9e55cb916cfdbc2c44d1fd21471c08", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 7782, "upload_time": "2017-03-21T09:53:09", "url": "https://files.pythonhosted.org/packages/79/a1/7d716ce679f5e8677c0007d4dc6d5510a75b3bfa34ce6a5d0a4414df5fc0/nukedatastore-0.1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6c6f88c7db777a9c73f415e5caf23f82", "sha256": "2015d3de7d07546eac4649e2e3b0abd227313687d3a43456b4c1d900e1d9ba83" }, "downloads": -1, "filename": "nukedatastore-0.1.2.tar.gz", "has_sig": false, "md5_digest": "6c6f88c7db777a9c73f415e5caf23f82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14828, "upload_time": "2017-03-21T09:53:11", "url": "https://files.pythonhosted.org/packages/8a/51/0487a2e67e208bba4e3ebe1ddff5d8250e9b464c5faa2d9d5330c9357263/nukedatastore-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "9a5b9d5039485808cd75aac60698111f", "sha256": "d10f0f93cbce34e429e198d0d75471feb08ad3d20c4472d97eddeb522e8ba9b8" }, "downloads": -1, "filename": "nukedatastore-0.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "9a5b9d5039485808cd75aac60698111f", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 8409, "upload_time": "2018-06-28T14:26:43", "url": "https://files.pythonhosted.org/packages/12/ea/2eaa96893ad6c99cff19b02d19479b43526112deb2dfd9678222b2b1b0ee/nukedatastore-0.2.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "940e5a500cd61c2ad27196516f17ebc0", "sha256": "7f8a2880053539435b14faebc8a79aa6a963d1c3837976de3163d7c58ca3c978" }, "downloads": -1, "filename": "nukedatastore-0.2.0.tar.gz", "has_sig": false, "md5_digest": "940e5a500cd61c2ad27196516f17ebc0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15198, "upload_time": "2018-06-28T14:26:44", "url": "https://files.pythonhosted.org/packages/b9/3b/cea067ff167bef453c36f7bcf6f68eef19eabf5384cf8963d36638b14166/nukedatastore-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9a5b9d5039485808cd75aac60698111f", "sha256": "d10f0f93cbce34e429e198d0d75471feb08ad3d20c4472d97eddeb522e8ba9b8" }, "downloads": -1, "filename": "nukedatastore-0.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "9a5b9d5039485808cd75aac60698111f", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 8409, "upload_time": "2018-06-28T14:26:43", "url": "https://files.pythonhosted.org/packages/12/ea/2eaa96893ad6c99cff19b02d19479b43526112deb2dfd9678222b2b1b0ee/nukedatastore-0.2.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "940e5a500cd61c2ad27196516f17ebc0", "sha256": "7f8a2880053539435b14faebc8a79aa6a963d1c3837976de3163d7c58ca3c978" }, "downloads": -1, "filename": "nukedatastore-0.2.0.tar.gz", "has_sig": false, "md5_digest": "940e5a500cd61c2ad27196516f17ebc0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15198, "upload_time": "2018-06-28T14:26:44", "url": "https://files.pythonhosted.org/packages/b9/3b/cea067ff167bef453c36f7bcf6f68eef19eabf5384cf8963d36638b14166/nukedatastore-0.2.0.tar.gz" } ] }