Skip to main content

PyPI Version License codecov

spezialist

A lightweight Python utility for special listing methods. spezialist provides simple functions to filter directory listings, exclude unwanted or hidden files, and streamline specialized list processing tasks.


Features

  • 📁 Clean Directory Listings: Exclude system files like .DS_Store or hidden entries.
  • 🌐 Absolute or Relative Paths: Choose to return full filesystem paths or just filenames.
  • 🐍 Pure Python, Zero Dependencies: Only uses the standard library (os module).
  • 🧩 Modular Functions: Import only what you need.

Installation

Install via pip:

pip install spezialist

Quickstart

from spezialist import (
    list_dir_without_ds,         # filenames, no .DS_Store
    list_dir_without_ds_abs,     # absolute paths, no .DS_Store
    list_dir_without_dot,        # filenames, no hidden files
    list_dir_without_dot_abs,    # absolute paths, no hidden files
)

# List only visible filenames
files = list_dir_without_dot("./my_folder")
print(files)

# List absolute paths excluding .DS_Store
paths = list_dir_without_ds_abs("./Downloads")
print(paths)

Contributing

Contributions are welcome! Please:

  1. Fork the repo on GitHub
  2. Create a feature branch (git checkout -b feature/YourFeature)
  3. Write tests and update documentation
  4. Submit a pull request

Ensure all tests pass:

pytest

License

This project is licensed under the MIT License. See LICENSE for details.

Metadata

Release files for spezialist 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spezialist 1.0.0
File Size Uploaded
spezialist-1.0.0.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spezialist 1.0.0
File Interpreter ABI Platform
spezialist-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / spezialist-1.0.0.tar.gz

Download URL spezialist-1.0.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fc5929bbc2e855bc2e9820eed16fe5e7677626aa31ff3fd9d8c46848299a256f
BLAKE2b-256 checksum
How to use checksums
2be3a3ab6a4a0c253dcb779250c6fbdb6c29851e2d609559e1b15537d9bffa56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.23

Release files / spezialist-1.0.0-py3-none-any.whl

Download URL spezialist-1.0.0-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8aaae3643ed43dd3af1ff6c5ab088cdeb670d4a9d1f866b637a891a1ff2bad77
BLAKE2b-256 checksum
How to use checksums
91721bc2941816a870b163a57b7ee9ccf55e54d3643ecf2dde01467baddbfd59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.23

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page