Skip to main content

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 version in pyproject.toml before each upload — PyPI rejects duplicate version numbers.

Requirements

  • Python >= 3.9
  • No external dependencies

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

python_peter_ls-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

python_peter_ls-0.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

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

Hashes for python_peter_ls-0.1.0.tar.gz
Algorithm Hash digest
SHA256 eec7933f70f0b7216462cb8fc8abc0cd832b9aae75725f811c07a99cab2331a8
MD5 b609c78f00556a0b41e6a1e7705c4fcf
BLAKE2b-256 b8878e179fd21787a3a383741ccb405995f5dab0e1188dc60dd4af4a5354ba10

See more details on using hashes here.

File details

Details for the file python_peter_ls-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for python_peter_ls-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c0f0b5f718777e356ab3c81207593031b79276b59bac0ee71e73561b3e7d1a6d
MD5 5e9b926343d4d15365fd16449b81d2e9
BLAKE2b-256 fd3068d5971048893019efb06f365c03e823084e52cdfbf2db0efba38739a54b

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