remove_quarantine pypi package
A package that on install removes quarantine bit from Indigo installed Plugins, from both Plugins and Plugins (Disabled) folders
Usage: Should be used behind the scenes to remove quarantine plugin related issues by plugin authors.
The package consists of very little, but on pip3 install remove_quarantine will run a script to remove quarantine bit from Indigo plugin packages
Simply having this in the requirements.txt file means with pip3 install of this library all current indigoPlugin bundles within Plugin and Plugin (Disabled) folders are unquarantined. This includes the current folder which is having libraries install into it. In my test this completely resolves the binary quarantine issue.
It is hard coded to Indigo version through lack of any possible other approach. Hence will need new releases with Major Indigo version changes.
Installation
To install the package, run:
pip3 install remove_quarantine==2023.2.*
With version here equally the Indigo version you wish to apply to. Note the last star updating to latest minor/patch version.
Usage
Here's how you can use the package:
Add it to requirements.txt
requirements.txt contents:
remove_quarantine==2023.2.*
- added to always update to any minor version/patch changes
No import in code needed. No further code needed. Version number == Indigo version number
Potential issues
If pip has cached the package and version then the unquarantine command will not be executed with import alone. This can be overcome by using the --no-cache-dir with pip3 install eg.
pip3 install --no-cache-dir remove_quarantine==2023.2.*
If this option is not available, then the below aspects can be used early in import process.
eg. plugin.py, remove_quarantine==2023.2.* in requirements
from remove_quarantine import remove_quarantine, show_logging
remove_quarantine()
import logging
import indigo
Other usage
Below is not needed, simply have this in the requirements.txt file means with every pip3 install of this library all current indigoPlugin bundles within Plugin and Plugin (Disabled) folders are unquarantined. This includes the current folder which is having libraries install into it. In my test this completely resolves the binary quarantine issue.
from remove_quarantine import remove_quarantine, show_logging
print(show_logging()) ## Will display logging of installation removal of quarantine bits
results_remove = remove_quarantine()
print(results_remove)
## Will re-run the quarantine removal process and print the results from this.
pip3 remove_quarantine
License
This project is licensed under the MIT License - see the LICENSE file for details
MIT License
Copyright (c) [2023]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
Metadata
Release files for remove-quarantine 2023.2.2
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 |
|---|---|---|---|---|
| remove_quarantine-2023.2.2.tar.gz | 6.2 kB | Without provenance | Details for remove_quarantine-2023.2.2.tar.gz |
Release files / remove_quarantine-2023.2.2.tar.gz
| Download URL | remove_quarantine-2023.2.2.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f667575c55f22dfe54f4f4512dfdb8910f69963706b986760a700f0651705dbd
|
|
BLAKE2b-256 checksum How to use checksums |
3a1ee01b4aa6c0f5ebfd5263a15c836b5f556daf33bea7fd254d67154ef3726b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Security for remove-quarantine 2023.2.2
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.