{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/9"}],"enrichment":{"capability":"Atomos provides thread-safe atomic primitives (integers, floats, bools, objects) and atoms for managing shared mutable state in multi-threaded Python applications without explicit lock management.","skillfed_tags":["concurrency","abandoned","legacy"],"use_cases":["Building thread-safe counters or accumulators in multi-threaded applications without explicit lock calls","Managing shared application state (e.g., connected clients, session counts) in concurrent servers","Protecting updates to complex objects in multi-threaded contexts using AtomicReference wrappers","Porting concurrent patterns from Java or Clojure that rely on atomic types to Python"],"what_it_does":"Atomos is a library of atomic primitives inspired by Java's concurrent.atomic package and Clojure's atoms. It wraps primitive types (int, float, bool) and arbitrary objects in thread-safe containers that handle locking semantics internally, allowing developers to safely share mutable state across threads without manually orchestrating locks.\n\nThe library's core concept is the Atom, which uses compare-and-set semantics to ensure that updates to shared state are atomic and consistent. Instead of calling swap() with a function that receives the current state and returns an updated one, developers can write cleaner concurrent code. Atomos also provides lower-level atomic primitives like AtomicInteger and AtomicReference for simpler use cases, and supports multiprocessing via a separate import path.","worth_installing":"No. The package is abandoned (no releases or commits since 2015) and targets Python 2.7 and 3.3\u20133.4. While it has no known vulnerabilities and a permissive license, its compatibility with modern Python versions is unverified and unmaintained. For new projects requiring thread-safe primitives, consider actively maintained alternatives or Python's built-in threading and queue modules."},"id":"atomos","links":{"html":"https://skillfed.io/packages/atomos","md":"https://skillfed.io/packages/atomos.md","pypi":"https://pypi.org/project/atomos/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2015-07-05","license_spdx":null,"license_treatment":"permissive","name":"atomos","python_support":"unspecified","summary":"Atomic primitives for Python."},"popularity":{"monthly_downloads":118687,"position":12107,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.1"}
