Skip to main content

About

This git repo is about a swiss knife like tool collection for using vereinsflieger.de. It is addresses vereinsflieger administrators faced to the task of managing datasets on this plattform (like user access management, supporting club accounting and generating statistics). For me its a private project allowing me to apply architecture and new language patterns of python next of supporting my flight club aeroclub prina.

Content

bulk_edit

As first module bulk_edit supports you with a batch-like editing function for the painfully missing "bulk edit" functionality in the web gui of vereinsflieger (like known from JIRA). The usecase is the automatisation of "monkey edits" in the platform.

Examples

  • Change user status (e.g. in case of flight weeks by guests)
  • Grant (new) user permissions
  • Toggle flight permission ("Flugfreigabe")
  • Applying custom properties ("Mitgliedereigenschaften")
  • Updating flight accounting properties ("Abrechnungsart")

In past I was faced with this task where I need to change hundreds of datasets. I don't want todo this manually one by one. Approx. one year ago I started this idea based on sikuli (a nice java tool for screenshot based mouse and keyboard automation). Because its screenshot based it is highly machine dependent. Thus this tool was hard to share/maintain among others.

bulk_edit does this automatisation job referencing DOM elements of the webpage within the browser engine using the library selenium.

IMPORTANT NOTE

Please use the tool bulk_edit with care and at your own risk!

The file bulk_edit/__main__.py at the current stage of development contains hard coded the task preparation. See todo notes in source. Modify this file for your use case! Run the script only if you know what you are doing!

Requirements

Selenium uses an browser on your machine. I used it with Firefox. So next to the dependencies specified in requirements.txt, you need the following on your machine:

For Selenium and FF:

  1. Firefox installed
  2. Geckodriver
    1. Get latest release from https://github.com/mozilla/geckodriver/releases
    2. Add the geckodriver executable to your PATH environment variable.

Setup Dev Environment

The setup is pythonic simple. All dependencies are defined in the requirements.txt. I recommend to use the python virtual environment:

# create virtual environment in folder env
python -m venv env
# install dependencies
pip install -r requirements.txt

I used vscode as IDE. So take a look at .vscode/launch.json for program entry points for starting or debugging.

If you are using a different IDE (or like to start the program from command line), please start the program as module (using the python -m option).

!Before starting bulk_edit please read the [IMPORTANT NOTE] above!

# Start program by calling the module
python -m bulk_edit

Release files for vf-utils 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vf-utils 0.1.3
File Size Uploaded
vf_utils-0.1.3.tar.gz 10.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vf-utils 0.1.3
File Interpreter ABI Platform
vf_utils-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 22.3 kB

Release files / vf_utils-0.1.3.tar.gz

Download URL vf_utils-0.1.3.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
340ff1526d28084a009212429141528bd6a2f754cf1b22a73242cb980a39598f
BLAKE2b-256 checksum
How to use checksums
f40e9ae2d165cc299f25b73187e1b6ad9cf1cb95f510e856b57e64782a55e9b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

Release files / vf_utils-0.1.3-py3-none-any.whl

Download URL vf_utils-0.1.3-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1dd0afa7b0e52e0a012857265cdc96cc198d097fb05fa78bc875c1be5e8ba03d
BLAKE2b-256 checksum
How to use checksums
fd493ce197435002c26c9eac3567139bd70043862d3882f850650b54c263b277
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page