Introduction
This project provides a Python 2.7/3.x library for common tasks especially when writing shell-like scripts. Some of the functionality overlaps with the standard library but the API is slightly modified.
The goal of this project is to leverage the straightforward, clean syntax of Python while avoiding some of the boilerplate code that might be necessary when using the standard library. Functions that overlap with the standard library are designed to do what you would reasonably expect (POLA) and, when necessary, fail without throwing exceptions.
Please note when using this library that operations will fail silently. This is a deliberate design decision. However, there is often a way to check if an operation has failed and optionally throw and exception if that is desirable:
auxly.filesys.copy("foo.txt", "bar") or auxly.throw() # Throws/raises exception on failure.
Auxly provides the following modules:
The following are basic examples of Auxly (all examples can be found here):
examples/delete_pyc.py - Deletes all PYC files in the project.
examples/guess_os.py - Attempts to guess the host OS based on available shell commands.
Refer to the unit tests here for additional examples.
Status
Currently, this project is in the development release stage. While this project is suitable for use, please note that there may be incompatibilities in new releases.
Release notes are maintained in the project changelog.
Requirements
Auxly should run on any Python 2.7/3.x interpreter without additional dependencies.
Installation
Auxly can be installed with pip using the following command: pip install auxly
Additionally, Auxly can be installed from source by running: python setup.py install
Documentation
The full documentation for this project can be found here on Read the Docs.
Similar
The following projects are similar and may be worth checking out:
Metadata
Release files for auxly 0.9.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 | |
|---|---|---|---|---|
| auxly-0.9.0.tar.gz | 13.4 kB | Without provenance | Details |
Release files / auxly-0.9.0.tar.gz
| Download URL | auxly-0.9.0.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76dd5a37b75e61eadce6554150a72e2ef44f6183b57ad0b45a3476b11f436d5f
|
|
BLAKE2b-256 checksum How to use checksums |
b9000337bdfc1127c462828229604b47e7d5e4d66b65159aca24d43aa8f39f5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.8
|
Security for auxly 0.9.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.