{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/5"}],"enrichment":{"capability":"An in-memory storage backend for Django that implements Django's storage API without persisting data to disk by default.","skillfed_tags":["django-testing","mock-storage"],"use_cases":["Unit testing Django applications without writing temporary files to disk during test runs.","Mocking file uploads in integration tests while keeping test data isolated between test cases.","Developing and testing Django apps in environments where filesystem access is restricted or slow.","Rapid prototyping of Django file-handling logic without managing temporary file cleanup."],"what_it_does":"dj-inmemorystorage provides a Django storage backend that keeps file data in memory rather than writing to disk. It implements Django's standard storage API, making it a drop-in replacement for testing scenarios where you want to avoid filesystem I/O. By default, each storage instance maintains its own isolated in-memory state; writes from one part of your code are not visible to another unless they share the same backend instance. You can enable persistence across instances by setting INMEMORYSTORAGE_PERSIST = True in your Django settings.\n\nThe package depends on Django and six, and is distributed as a pure-Python wheel with low install friction. However, it has been abandoned since 2020 and receives no maintenance. It was last tested against Django up to version 3.0 and Python up to 3.8, so compatibility with modern versions is unknown.","worth_installing":"Yes, if your Django and Python versions fall within the supported range (Django 1.11\u20133.0, Python 2.7 or 3.5\u20133.8) and you need a lightweight in-memory storage backend for testing. The permissive BSD license and zero known vulnerabilities are favorable. However, the package is abandoned and will not receive updates for modern Django or Python versions, so it is not suitable for new projects targeting current releases."},"id":"dj-inmemorystorage","links":{"html":"https://skillfed.io/packages/dj-inmemorystorage","md":"https://skillfed.io/packages/dj-inmemorystorage.md","pypi":"https://pypi.org/project/dj-inmemorystorage/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2020-03-30","license_spdx":null,"license_treatment":"permissive","name":"dj-inmemorystorage","python_support":"unspecified","summary":"A non-persistent in-memory data storage backend for Django."},"popularity":{"monthly_downloads":227403,"position":9179,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.1.0"}
