Skip to main content

lsoc - LS OCTAL

A lite Python package that lets you view file and directory access rights with octal.

Equivalent to typing: stat -c "%a %n" *

Installation

From PyPI

pip install lsoc

On Ubuntu 24+ and modern Linux distros

pipx install lsoc

From source

git clone https://github.com/AlperSakarya/lsoc.git
cd lsoc
pipx install -e .

Usage

View all files in current directory:

lsoc

View specific file:

lsoc filename

Example Output

$ lsoc
755 Desktop
755 Documents
755 Downloads
755 Music
600 myfile.tar.gz
755 Pictures
755 Public
400 Python.pem
775 Steam
$ lsoc /usr/bin/sudo
4755 /usr/bin/sudo

Available on PyPI

https://pypi.org/project/lsoc/

Metadata

Release files for lsoc 0.1.4

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

Source distribution (sdist)

Source distribution for lsoc 0.1.4
File Size Uploaded
lsoc-0.1.4.tar.gz 2.5 kB Details

Built distribution (wheel)

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

Total release size: 5.5 kB

Release files / lsoc-0.1.4.tar.gz

Download URL lsoc-0.1.4.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f8bb2d844a7e3d3883213c1ad6573f3dd5edfff941cfa200bae6da36b39f6364
BLAKE2b-256 checksum
How to use checksums
9c4591338fe23ac72a03ab15aa67172098693c679d20af0a67c5fbbc9c124041
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / lsoc-0.1.4-py3-none-any.whl

Download URL lsoc-0.1.4-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
67355280056cb5673650f38e1d6bfb96fedb52762ce09af076b6bb81fbddaf6a
BLAKE2b-256 checksum
How to use checksums
d1e432517e6a1a3c96e5a3a629e056d8a0b7b47b424c0da58af174ffdfafae50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

1 release file

0.1

1 release file

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