A very simple [De]Activator for config files
This tool renames files by adding and removing a predefined prefix and suffix. It's intented use is to quickly activate and deactivate config files.
Installation
$ pip install ActDeact
Usage
Usage: actDeact [options] args
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-a, --activate Activate file(s)
-d, --deactivate Deactivate file(s)
-v, --verbose Verbose output
-c, --config Show the filename of the config file for editing
Also two helper programs act and deact are provided. They are aliases to actDeact -d and actDeact -a and pass every argument directly to those programs.
Example
actDeact -d foo renames foo to foo_bak by default. This is equivaltent to deact foo .
actDeact -a foo renames foo_bak to foo by default. This is equivaltent to act foo .
Configuration
actDeact -c shows the filename of the configuration file. Its default content is:
[Main]
Prefix=
Suffix=_bak
In this file a prefix and a suffix can be set.
Metadata
Release files for ActDeact 1.0.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 |
|---|---|---|---|---|
| ActDeact-1.0.0.tar.gz | 9.2 kB | Without provenance | Details for ActDeact-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ActDeact-1.0.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for ActDeact-1.0.0-py2.py3-none-any.whl |
Total release size: 17.6 kB
Release files / ActDeact-1.0.0.tar.gz
| Download URL | ActDeact-1.0.0.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c7dd203218a74ab4d22bd34d2792677fc2cbcf0330322a168556cd8d03d4aa1
|
|
BLAKE2b-256 checksum How to use checksums |
5e6222cd9a0034c595fbc48ce3d0ea1b26ff9ac2e73c7d85927c38105134f2bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ActDeact-1.0.0-py2.py3-none-any.whl
| Download URL | ActDeact-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
74a824db8f3d94513e567205a65a866e5fee3c3396a7bd686d18a88c61aa9519
|
|
BLAKE2b-256 checksum How to use checksums |
af0623fd8a64e8737062809f3bc9aea44c5d06af64ce7ddae54db06d1ecbc0de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ActDeact 1.0.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.