ds-store
Manipulate Finder .DS_Store files from Python
Decision gist · record as of 2026-08-14
Yes, if you need to read or modify .DS_Store files outside macOS. Low install friction, no known vulnerabilities, MIT-licensed, actively maintained, and production-stable. The narrow use case (macOS filesystem metadata on non-Mac platforms) makes it essential for its niche but not generally useful otherwise.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a single pure-Python dependency (mac_alias).
- Actively maintained with recent commits and production-stable status.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions.
last release 2026-06-23 (52 days) · last repo commit 2026-08-02 · 94 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 211,115 downloads/mo, #9,484 on PyPI
Alternatives
Verify before relying
pip install ds-store
from ds_store import DSStore
with DSStore.open('path/to/.DS_Store') as ds:
for entry in ds:
print(entry.filename)- Specific API surface for modifying .DS_Store entries beyond reading them
- Performance characteristics when handling large or complex .DS_Store files
- Compatibility guarantees with different macOS versions' .DS_Store format variants
What it is and what it does
ds_store is a pure-Python library for reading and modifying macOS Finder .DS_Store files, the hidden metadata files that store folder view settings and file attributes on macOS. Because it's written in pure Python rather than as a native macOS tool, it runs on any platform—Linux, Windows, or macOS—making it useful for build systems, disk image creation, and cross-platform tooling that needs to inspect or manipulate these files without running on a Mac.
The package wraps the binary .DS_Store format (reverse-engineered from public documentation) and exposes it through a Python API. It depends only on mac_alias, another pure-Python library for handling macOS alias records, keeping the dependency chain minimal and portable.
Use it for
- Examine .DS_Store metadata in disk images or macOS filesystem backups on non-Mac systems
- Automate creation of DMG files with specific Finder view settings during cross-platform build processes
- Parse Finder folder attributes and custom icon positions from .DS_Store files in CI/CD pipelines
- Modify .DS_Store files to reset view preferences or clean up metadata in batch operations
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to read or modify .DS_Store files outside macOS.
Low install friction, no known vulnerabilities, MIT-licensed, actively maintained, and production-stable. The narrow use case (macOS filesystem metadata on non-Mac platforms) makes it essential for its niche but not generally useful otherwise.
Install
ds-store on PyPI
Before you install
Low install friction with a single pure-Python dependency (mac_alias). Actively maintained with recent commits and production-stable status.
License in practice
MIT license permits commercial and private use with minimal restrictions.
Quickstart
pip install ds-store
from ds_store import DSStore
with DSStore.open('path/to/.DS_Store') as ds:
for entry in ds:
print(entry.filename)
Verify before relying
- Specific API surface for modifying .DS_Store entries beyond reading them
- Performance characteristics when handling large or complex .DS_Store files
- Compatibility guarantees with different macOS versions' .DS_Store format variants
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagemac_alias |
| Maintenance | Actively maintained 52 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 211,115 / month, #9,484 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Topic :: Desktop EnvironmentTopic :: Software Development :: Libraries :: Python Modules |
Evidence: ds_store-1.3.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “ds_store file manipulation”
- ds-storeRead and modify macOS Finder .DS_Store files from Python code on any…
- dmgbuilddmgbuild creates macOS disk images (.dmg files) from the command line…
- python-fsutilProvides a high-level API for common file-system operations—creating,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also mac-alias · pyobjc-framework-FinderSync · pyobjc-framework-Accounts · pyobjc-framework-DeviceDiscoveryExtension · pyobjc-framework-CoreMIDI · clipboard · pyobjc-framework-FSKit · pyobjc-framework-GameSave · pyobjc-framework-BackgroundAssets · dmgbuild