rabs
Relative to absolute file names
Converts a string path that is relative to the calling file to an absolute path.
Usage:
function: real_to_abs_filename
Args: path: str ret: ret: Literal["string","path"] = "string"
from rabs import real_to_abs_filename
real_to_abs_filename(".", ret="string") # the default
real_to_abs_filename("../siblingfolder/someotherfile.py")
# or
real_to_abs_filename("./somefile.exe", ret="path")
# returns a pathlib.Path object (python's built in library)
Why:
Python is inconsistent with respect to relative paths. This makes it as bulletproof as possible.
Metadata
Release files for rabs 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rabs-0.1.0.tar.gz | 1.8 kB | Without provenance | Details for rabs-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rabs-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for rabs-0.1.0-py3-none-any.whl |
Total release size: 4.1 kB
Release files / rabs-0.1.0.tar.gz
| Download URL | rabs-0.1.0.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba1a90f44af6c0157011290ce2e5dbc876d8c445fb97aef6d4b2d088062a56f1
|
|
BLAKE2b-256 checksum How to use checksums |
3310d046c74d10ace35f989c130dbee4d2ac5abd69f32669a8b1e6fd9460d734
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.0 CPython/3.10.12 Linux/5.10.102.1-microsoft-standard-WSL2
|
Release files / rabs-0.1.0-py3-none-any.whl
| Download URL | rabs-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4db96f9f9b1e0ff672d651f7f5f7ce6960d3ed11b6b70ebca7f024b20a23c503
|
|
BLAKE2b-256 checksum How to use checksums |
2b31bb1d4f27f64f6f24ac64d6e23f90fe37a85b30db1fe34afd28c3c446ed6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.0 CPython/3.10.12 Linux/5.10.102.1-microsoft-standard-WSL2
|
Security for rabs 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.