A special list tool
Project description
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_Storeor hidden entries. - 🌐 Absolute or Relative Paths: Choose to return full filesystem paths or just filenames.
- 🐍 Pure Python, Zero Dependencies: Only uses the standard library (
osmodule). - 🧩 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:
- Fork the repo on GitHub
- Create a feature branch (
git checkout -b feature/YourFeature) - Write tests and update documentation
- Submit a pull request
Ensure all tests pass:
pytest
License
This project is licensed under the MIT License. See LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc5929bbc2e855bc2e9820eed16fe5e7677626aa31ff3fd9d8c46848299a256f
|
|
| MD5 |
08e333ca88031026e55d1217fe218d36
|
|
| BLAKE2b-256 |
2be3a3ab6a4a0c253dcb779250c6fbdb6c29851e2d609559e1b15537d9bffa56
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8aaae3643ed43dd3af1ff6c5ab088cdeb670d4a9d1f866b637a891a1ff2bad77
|
|
| MD5 |
6c41c3af5469df12f0b06a435a9b01ce
|
|
| BLAKE2b-256 |
91721bc2941816a870b163a57b7ee9ccf55e54d3643ecf2dde01467baddbfd59
|