Skip to main content

The scriptcollection is the place for little scripts which are maybe also useful in future.

Project description

ScriptCollection

PyPI CodeFactor Generic badge

This repository is the place for little scripts which are also useful in future so that someone does not have remember them and write them new from scratch. You can simply use the scripts.

When using ScriptCollection it is not required but recommended for better usability to have epew installed.

Functions

TODO

Hints

Most of the scripts are written in python 3.

Caution: Before executing any script of this repository read the sourcecode of the script (and the sourcecode of all functions called by this function directly or transitively) carefully and verify that the script does exactly what you want to do and nothing else.

Some functions are not entirely available on windows or require common third-party tools. See the Runtime-Dependencies-section for more information.

Get ScriptCollection

Installation via pip

pip3 install ScriptCollection

pip3 requires Python 3. See the PyPI-site for ScriptCollection

Download sourcecode using git

You can simply git-clone the ScriptCollection and then use the scripts under the provided license.

git clone https://github.com/anionDev/ScriptCollection.git

It may be more easy to pip-install the ScriptCollection but technically pip is not required. Actually you need to git-clone (or download as zip-file from Github the ScriptCollection to use the scripts in this repository which are not written in python.

Troubleshooting

It is recommended to always use only the newest version of the ScriptCollection. If you have an older version: Update it (e. g. using pip3 install ScriptCollection --upgrade if you installed the ScriptCollection via pip). If you still have problems, then feel free to create an issue.

If you have installed the ScriptCollection as pip-package you can simply check the version using Python with the following commands:

from ScriptCollection.core import get_ScriptCollection_version
get_ScriptCollection_version()

Or you can simply run pip3 freeze folder to get information about (all) currently installed pip-packages.

Development

Install dependencies

To develop ScriptCollection it is obviously required that the following commandline-commands are available on your system:

  • python (on some systems python3)
  • pip3

To install all required pip-packages simply execute the following commands:

pip3 install "defusedxml>=0.7.1"
pip3 install "keyboard>=0.13.5"
pip3 install "ntplib>=0.3.4"
pip3 install "pycdlib>=1.10.0"
pip3 install "PyPDF2>=1.26.0"
pip3 install "qrcode>=6.1"
pip3 install "send2trash>=1.5.0"
pip3 install "pylint>=2.6.0"
pip3 install "pytest>=6.1.2"
pip3 install "wheel>=0.35.1"

IDE

The recommended IDE for developing ScriptCollection is Visual Studio Code. The recommended addons for developing ScriptCollection with Visual Studio Code are:

Build

To Create an installable whl-package simply execute python Setup.py bdist_wheel --dist-dir ..

Runtime-Dependencies

The usual Python-dependencies will be installed automagically by pip.

For functions to to read or change the permissions or the owner of a file the ScriptCollection relies on the functionality of the following tools:

  • chmod
  • chown
  • ls

This tools must be available on the system where the functions should be executed. Meanwhile this tools are also available on Windows but may have a slightly limited functionality.

License

See License.txt for license-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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ScriptCollection-2.5.20-py3-none-any.whl (43.2 kB view details)

Uploaded Python 3

File details

Details for the file ScriptCollection-2.5.20-py3-none-any.whl.

File metadata

  • Download URL: ScriptCollection-2.5.20-py3-none-any.whl
  • Upload date:
  • Size: 43.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for ScriptCollection-2.5.20-py3-none-any.whl
Algorithm Hash digest
SHA256 d6af8bb1e5dc7e703d7c5cecfa089b9c4ad944657ad84db447c9913142a507de
MD5 25b0d723afb4d9a4096420037f6462f3
BLAKE2b-256 4bc33dbcb1da77c830d280cd94e40c75a1dcd38706783b367a33adc8a2ad959e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page