Skip to main content

A special list tool

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spezialist-1.0.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spezialist-1.0.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file spezialist-1.0.0.tar.gz.

File metadata

  • Download URL: spezialist-1.0.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for spezialist-1.0.0.tar.gz
Algorithm Hash digest
SHA256 fc5929bbc2e855bc2e9820eed16fe5e7677626aa31ff3fd9d8c46848299a256f
MD5 08e333ca88031026e55d1217fe218d36
BLAKE2b-256 2be3a3ab6a4a0c253dcb779250c6fbdb6c29851e2d609559e1b15537d9bffa56

See more details on using hashes here.

File details

Details for the file spezialist-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: spezialist-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for spezialist-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8aaae3643ed43dd3af1ff6c5ab088cdeb670d4a9d1f866b637a891a1ff2bad77
MD5 6c41c3af5469df12f0b06a435a9b01ce
BLAKE2b-256 91721bc2941816a870b163a57b7ee9ccf55e54d3643ecf2dde01467baddbfd59

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page