Code to handle symbolic permissions like GNU chmod does ('a=rx,u+w')
Project description
SymbolicMode -- Code to handle symbolic file permissions
This python library parses symbolic file permission modes as used by GNU chmod, part of the coreutils package. For example:
>>> from symbolicmode import *
>>> oct(symbolic_to_numeric_permissions('a=rx,u+w'))
'0o755'
License
CC0 1.0 Universal, see LICENSE file for more information.
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
symbolicmode-0.1.tar.gz
(6.2 kB
view details)
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 symbolicmode-0.1.tar.gz.
File metadata
- Download URL: symbolicmode-0.1.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64c092b51b4a6c89453485cdbe54f870b21f5b31b22026fc03eb6208cf0ad8c5
|
|
| MD5 |
231a97768fb68f05bf26240de3aad057
|
|
| BLAKE2b-256 |
b74fe9e9389023ff8d34a545c4d7d8e49f4f541156daa5b90d5f6ae83f21d27b
|
File details
Details for the file symbolicmode-0.1-py3-none-any.whl.
File metadata
- Download URL: symbolicmode-0.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d71157b851b85b0b84e49c74671ba87b7d17ef22703ecb7085ddeed1bcce28f
|
|
| MD5 |
d7d9198b655978e17d639d7b682a2449
|
|
| BLAKE2b-256 |
6e388d8392b8fd26547979db1a388beb79b94c49ba5278476522dd58757e640a
|