A Python implementation of the 'ls' command.
Project description
python-ls
A Python implementation of the 'ls' command, inspired by the structure of python-du.
Installation
pip install -e .
pip uninstall python-ls
Usage
python-ls [path] [options]
If no path is given, the current directory is scanned.
Publishing to PyPI
pip install build twine
python -m build
twine upload dist/*
When prompted, use __token__ as the username and your PyPI API token as the password.
To skip the prompt, create a ~/.pypirc file:
[pypi]
username = __token__
password = pypi-YOUR-TOKEN-HERE
Note: Bump the
versioninpyproject.tomlbefore each upload — PyPI rejects duplicate version numbers.
Requirements
- Python >= 3.9
- No external dependencies
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 python_peter_ls-0.1.0.tar.gz.
File metadata
- Download URL: python_peter_ls-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eec7933f70f0b7216462cb8fc8abc0cd832b9aae75725f811c07a99cab2331a8
|
|
| MD5 |
b609c78f00556a0b41e6a1e7705c4fcf
|
|
| BLAKE2b-256 |
b8878e179fd21787a3a383741ccb405995f5dab0e1188dc60dd4af4a5354ba10
|
File details
Details for the file python_peter_ls-0.1.0-py3-none-any.whl.
File metadata
- Download URL: python_peter_ls-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0f0b5f718777e356ab3c81207593031b79276b59bac0ee71e73561b3e7d1a6d
|
|
| MD5 |
5e9b926343d4d15365fd16449b81d2e9
|
|
| BLAKE2b-256 |
fd3068d5971048893019efb06f365c03e823084e52cdfbf2db0efba38739a54b
|