Skip to content

a collections of Python tools for processing images and data

Notifications You must be signed in to change notification settings

VidiHawk/python-scripts

Repository files navigation

Data Processing Tools

This is intended to grow into a library of useful data processing tools scripted in Python.

Index

Add header to any file

This script will populate a copyright header accross all files in a directory.

Image processing

General file processing

Map data processing

Prerequisites

Setup

Clone this repo

git clone https://github.com/VidiHawk/python-scripts

cd <your project's file>

Create a virtual environment:

pip install virtualenv python3 -m venv /path/to/new/virtual/environment

Activate it: source /path/to/new/virtual/environment/bin/activate

Then install dependencies

pip install -r requirements.txt

Adding your own tools

If you want to add packages to the requirement.txt file, I recommand using the pipreqs package. To install it:

pip install pipreqs

To build automatically your requirements.txt, just run the following command in the project directory:

pipreqs . --force

The --force flag will overwrite the existing requirements.txt file.

Notes

These scripts have been created and tested on the Ubuntu 20.04.4 LTS operating system and Python 3.8.10

Acknoledgements

About

a collections of Python tools for processing images and data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages