Saravanan666/pypi-org huggingface dataset:
Package: wahlfang
WahlfangA self-hostable online voting tool developed to include all the
features you would need to hold any online election you can dream ofDeveloped byStuStaNetWahlfang is a small-ish Django project
which aims at being an easy to use solution for online elections. From simple one-time
votes about where to grab a coffee to large and long meetings with multiple different
votes and elections - Wahlfang does it all.If you would like a new feature or have a bug to report please open anissue.Getting StartedTo setup your own wahlfang instance for productive use seedeploying.MetricsIn the default configuration wahlfang exports some internal application statistics asPrometheusmetrics at the endpoint/metrics. This behaviour can be turned off by settingsEXPORT_PROMETHEUS_METRICS = Falsein the application settings.We use thedjango-prometheusproject to export our exports.ContributingTo just get the current version up and running simply$gitclonehttps://gitlab.stusta.de/stustanet/wahlfang.git
$cdwahlfang
$pip3install-rrequirements.txt
$pip3install-rrequirements_dev.txt
$exportWAHLFANG_DEBUG=True
$exportPYTHONPATH="$PYTHONPATH:."$python3wahlfang/manage.pymigrate
$python3wahlfang/manage.pyrunserverlocalhost:8000Creating a local election management user:$python3wahlfang/manage.pycreate_adminLogin to the management interface running athttp://127.0.0.1:8000/management/.Run the linting and test suite$makelint
$maketestIf some model changed, you might have to make and/or apply migrations again:$python3wahlfang/manage.pymakemigrations
$python3wahlfang/manage.pymigrateDon't forget to add the new migration file to git. If the CI pipeline fails this is most likely the reason for it.ReleasingThe release process is automated in the gitlab ci.To make a new release bump the package version number inwahlfang.__init__.pyand tag the commit with the same version
number. The CI will then build the package, publish it as a gitlab release and push it to pypi.The pypi credentials must be set in the gitlab CI settings via the env variablesTWINE_USERNAMEandTWINE_PASSWORD.Development ReferencesDjango 3:https://docs.djangoproject.com/en/3.2/
Package: wahlrecht
# Python module for getting Wahlrecht.de polling dataInstall:pip install wahlrechtRun like this:$ python -m wahlrecht <jurisdiction> > output.csvjurisdictiondetermines which kind of election will be downloaded. It can be a state election with a state slug (like ‘baden-wuerttemberg’) or for the federal election ‘bund’.Or just download everything:$ sh download.shOr use like this as a Python module.:from wahlrecht import get_state_pollsfor info in get_state_polls(‘nrw’):print(info)
Package: wahoomc
wahooMapsCreatorwahooMapsCreator is a tool to create up-to-date maps for your Wahoo device. It supports BOLTv1, BOLTv2, ROAM, ROAMv2 and ELEMNT!You can generate maps for the countries you like with latest OSM data and you can control which OSM-tags are included.why? The maps of your device may be old because Wahoo did not release a newer version in the last years.Get it runningThe instructions are intended to be suitable for beginners.If anything is unclear or seams wrong, write an:pencil2: issueTo start with...:rocket: Quick Start Guide to download and install required programs:computer: Run wahooMapsCreator - detailled usage descriptionIn short: activate Anaconda environment, run wahooMapsCreator via CLI or via GUI.conda activate gdal-user
python -m wahoomc cli -co malta
python -m wahoomc gui:floppy_disk: Copy the map-files to your device after generationTo further adjust...:cookie: Get POIs displayed on your Wahoo:mount_fuji: Integrate contour lines into the generated maps:wrench: Control OSM tags to be included in your maps:computer: Preview your generated maps with cruiser:mag: Use a custom theme on your Wahoo to control what and in which zoom-level certain elements are renderedContribution / QuestionsYou are welcome to provide input via Pull Requests, Issues or in any other way!
If you have trouble using wahooMapsCreator, look into the FAQ, write an issue or join the telegram channelFAQ:pencil2: issuetelegram channel:https://t.me/joinchat/TaMhjouxlsAzNWZkMore details can be found here:CONTRIBUTINGThanks to@Intyre/Hank for the initial version of the script@Ebe66/ebo for the Windows- port@mweirauchfor bringing in new ideas, testing and using the tool@zenziwerkenfor the work done forPOIs!@macdetfor bringing in new thoughts, testing and making this a little more public@vtifor creating a GUI application to copy maps to wahoo and configure the devicePOIsas well as andocker imagefor wahooMapsCreator!
Package: wai.annotations.audio
Audio processing plugins for wai.annotations:audio-info-ac: sink for collating/outputting information on the audio classification filesaudio-info-sp: sink for collating/outputting information on the speech filesconvert-to-mono: ISP for converting MP3/OGG/FLAC/WAV to mono WAVconvert-to-wav: ISP for converting MP3/OGG/FLAC to WAVmel-spectrogram: XDC for generating plot from a mel spectrogram (outputs image classification instance)mfcc-spectrogram: XDC for generating plots from Mel-frequency cepstral coefficients (outputs image classification instance).pitch-shift: augmentation ISP for shifting the pitchresample-audio: ISP for resampling MP3/OGG/FLAC/WAVstft-spectrogram: XDC for generating plot from a short-time fourier-transform spectrogram (outputs image classification instance)time-stretch: augmentation ISP for time-stretching audio (speed up/slow down)trim-audio: ISP for trimming silence from audioChangelog1.0.2 (2022-11-23)Added–cmap(colormap) option tomel-spectrogram,mfcc-spectrogramandstft-spectrogram1.0.1 (2022-06-29)Addedmfcc-spectrogramXDC for generating plots from Mel-frequency cepstral coefficients.1.0.0 (2022-06-21)Initial release.
Package: wai.annotations.bluechannel
Blue-channel image segmentation format plugins for wai.annotations.from-blue-channel-is: reads image segmentation annotations from the blue channel of PNGsto-blue-channel-is: writes image segmentation annotations to the blue channel of PNGsChangelog1.0.2 (2022-06-13)FromBlueChannelclass now outputs logging message if setting of new annotation indices fails, as error
occurs before thewai.annotations - Sourced …logging message, making it possible to track the image
causing the problem.1.0.1 (2021-05-20)Fixed build.1.0.0 (2021-05-20)Initial release after separation from wai.annotations main repo.
Package: wai.annotations.coco
MS-COCO object detection format plugin for wai.annotations.from-coco-od: reads MS COCO datasetsto-coco-od: writes MS COCO datasetsChangelog1.0.2 (2022-06-13)methodlocated_object_to_annotation(module:wai.annotations.coco.util._located_object_to_annotation) skips
invalid polygons now rather than stopping the conversion1.0.1 (2021-05-20)Fixed build.1.0.0 (2021-05-20)Initial release after separation from wai.annotations main repo.
Package: wai.annotations.commonvoice
Common Voice speech annotations format plugin for wai.annotations.from-common-voice-sp: reads speech transcriptions in the Mozilla Common-Voice TSV-formatto-common-voice-sp: writes speech transcriptions in the Mozilla Common-Voice TSV-formatChangelog1.0.2 (2022-09-05)the expected header now usesaccentsrather thanaccent(but the reader accepts both)1.0.1 (2021-05-20)Fixed build.1.0.0 (2021-05-20)Initial release after separation from wai.annotations main repo.
Package: wai.annotations.coqui
Plugins for managing datasets for [coqui AI](https://coqui.ai/)
[STT](https://github.com/coqui-ai/STT) and [TTS](https://github.com/coqui-ai/TTS).from-coqui-stt-sp: reads speech transcriptions in the Coqui STT CSV-formatfrom-coqui-tts-sp: reads speech transcriptions in the Coqui TTS text-formatto-coqui-stt-sp: writes speech transcriptions in the Coqui STT CSV-formatto-coqui-tts-sp: writes speech transcriptions in the Coqui TTS text-formatChangelog1.0.0 (2022-09-05)Initial release.
Package: wai.annotations.generic
Generic plugins for making use of user-specified classes.generic-source-ac: wrapper around a user-supplied source class for audio classificationgeneric-source-ic: wrapper around a user-supplied source class for image classificationgeneric-source-is: wrapper around a user-supplied source class for image segmentationgeneric-source-od: wrapper around a user-supplied source class for object detectiongeneric-source-ac: wrapper around a user-supplied source class for spectrum classificationgeneric-source-sp: wrapper around a user-supplied source class for speechgeneric-isp-ac: wrapper around a user-supplied ISP class for audio classificationgeneric-isp-ic: wrapper around a user-supplied ISP class for image classificationgeneric-isp-is: wrapper around a user-supplied ISP class for image segmentationgeneric-isp-od: wrapper around a user-supplied ISP class for object detectiongeneric-isp-ac: wrapper around a user-supplied ISP class for spectrum classificationgeneric-isp-sp: wrapper around a user-supplied ISP class for speechgeneric-sink-ac: wrapper around a user-supplied sink class for audio classificationgeneric-sink-ic: wrapper around a user-supplied sink class for image classificationgeneric-sink-is: wrapper around a user-supplied sink class for image segmentationgeneric-sink-od: wrapper around a user-supplied sink class for object detectiongeneric-sink-ac: wrapper around a user-supplied sink class for spectrum classificationgeneric-sink-sp: wrapper around a user-supplied sink class for speechChangelog1.1.0 (2022-12-16)Added Spectrum Classification domain (requires wai.annotations.core>=0.2.2).1.0.0 (2022-06-21)Initial release.
Package: wai.annotations.grayscale
Grayscale image segmentation format plugins for wai.annotations.from-grayscale-is: reads image segmentation annotations from grayscale PNGsto-grayscale-is: writes image segmentation annotations to grayscale PNGsChangelog1.0.1 (2022-06-13)FromGrayscaleclass now usesnumpy.frombufferinstead of deprecatednumpy.fromstringmethod.FromGrayscaleclass now outputs logging message if setting of new annotation indices fails, as error
occurs before thewai.annotations - Sourced …logging message, making it possible to track the image
causing the problem.1.0.0 (2022-05-31)Initial release.
Package: wai.annotations.imgaug
Inline stream processors for image augmentation:crop: crops imagesflip: flips images either left-to-right, up-to-down or bothgaussian-blur: applies gaussian blur to imageshsl-grayscale: turns RGB images into fake grayscale ones by converting them to HSL and then using the L channel for all three channelslinear-contrast: applies linear contrast to imagesrotate: rotates images by a specified degree (0-360) or randomly within degree rangescale: scales images by a specified percentage (0-1) or randomly within percentage rangesub-images: extracts regions (incl annotations) from images using user-defined bounding boxesChangelog1.0.6 (2022-09-05)sub-imagesplugin now has a–verboseflag; only initializes the regions now once1.0.5 (2022-06-13)Addedsub-imagesplugin for extracting regions (including their annotations) based on
one or more bounding box definitions from the images coming through and only forwarding
these sub-images1.0.4 (2022-05-12)Fixed error message of AnnotationOverlay in case data of wrong domain is coming throughMoved AnnotationOverlay into wai.annotations.imgvis module1.0.3 (2022-05-05)–labelsoption of theadd-annotation-overlay-odplugin gets respected now,
also using correct label for text now (when varying the colors)1.0.2 (2022-05-05)addedadd-annotation-overlay-odplugin to overlay the object detections on the images1.0.1 (2022-03-01)added more typing hints to parametersadded ability to add augmented images rather than replace original ones, using
the-m/–mode addoption (–suffixoverrides the default suffix)addedscaleISP for scaling images1.0.0 (2022-02-23)Initial release: crop, flip, gaussian-blur, hsl-grayscale, linear-contrast, rotate
Package: wai.annotations.imgstats
Various sinks for generating image dataset statistics:area-histogram-[is|od]: generates histograms of the area occupied by the annotationslabel-dist-[ic|is|od]: label distribution outputChangelog1.0.3 (2022-06-13)label-dist-odnow has–label-keyoption to specify the meta-data key that stores the labellabel-dist-XYnow sort the labels in alphabetically order before outputting the statisticsaddedarea-histogram-isandarea-histogram-od1.0.2 (2022-05-09)movedto-annotation-overlay-odintowai.annotations.imgvismodule1.0.1 (2022-05-04)added-s/–scale-tooption toto-annotation-overlay-odcommand to scale all annotations
to a predefined image size.overlay output ofto-annotation-overlay-odis now enforcing PNG format1.0.0 (2022-05-02)Initial release: label-dist-ic, label-dist-is, label-dist-od, to-annotation-overlay-od
Package: wai.annotations.imgvis
Image visualization plugins for the wai.annotations library:add-annotation-overlay-ic: adds image classification overlays to imagesadd-annotation-overlay-is: adds image segmentation overlays to imagesadd-annotation-overlay-od: adds object detection overlays to imagescombine-annotations-od: for combining overlapping annotations between images into single annotationimage-viewer-ic: sink for displaying image classification imagesimage-viewer-is: sink for displaying image segmentation imagesimage-viewer-od: sink for displaying object detection imagesto-annotation-overlay-od: generates an image with all the annotation shapes (bbox or polygon) overlayedChangelog1.0.3 (2022-06-13)addedcombine-annotations-odfor combining overlapping annotations between images into single annotationadd-annotation-overlay-is/odnow usenarg=’+’for–labelsand–colorsoptions instead of comma-separated single argument1.0.2 (2022-05-11)making use of the new Image segmentation annotations propertylabel_imagesto get
separate images for generating overlays withAnnotationOverlayIS1.0.1 (2022-05-10)add-annotation-overlay-ic now can draw a filled background rectangle for the label
for better readability1.0.0 (2022-05-09)Initial release: add-annotation-overlay-(ic/is/od), image-viewer-(ic/is/od)Received to-annotation-overlay-od from wai.annotations.imgstats
Package: wai.annotations.indexedpng
Indexed PNG image segmentation format plugin for wai.annotations.from-indexed-png-is: reads image segmentation annotations from PNGs with an indexed paletteto-indexed-png-is: writes image segmentation annotations to PNGs with an indexed paletteChangelog1.0.1 (2022-06-13)FromIndexedPNGclass now outputs logging message if setting of new annotation indices fails, as error
occurs before thewai.annotations - Sourced …logging message, making it possible to track the image
causing the problem.1.0.0 (2021-05-20)Initial release after separation from wai.annotations main repo.
Package: wai.annotations.layersegments
Layer-segments image segmentation format plugins for wai.annotations.Changelog1.0.2 (2022-06-30)FromLayerSegmentsclass now outputs logging message if setting of new annotation indices fails, as error
occurs before thewai.annotations - Sourced …logging message, making it possible to track the image
causing the problem.Added–lenientflag toFromLayerSegmentsclass which allows conversion of non-binary images with just
two unique colors to binary ones instead of throwing an error.Added–invertflag toFromLayerSegmentsclass which allows inverting the colors (b/w <-> w/b) of the
binary annotation images.1.0.1 (2022-05-11)Image segmentation annotations receivedlabel_imagesproperty with code from the ToLayerSegments conversion1.0.0 (2021-05-20)Initial release after separation from wai.annotations main repo.
Package: wai.annotations.opex
OPEX format plugins for wai.annotations.from-opex-od- reads object detection annotations/predictions in OPEX formatto-opex-od- writes object detection annotations in OPEX formatOPEX format description:https://github.com/WaikatoLink2020/objdet-predictions-exchange-formatChangelog
=========1.0.0 (2022-05-10)Initial release: from-opex-id, to-opex-od
Package: wai.annotations.redis.predictions
Inline stream processors for making predictions via a Redis backend:redis-predict-ic: broadcasts images via Redis and listens for predictions in JSON being broadcast (label/prediction pairs)redis-predict-is: broadcasts images via Redis and listens for image predictions being broadcast (indexed or blue-channel PNG)redis-predict-od: broadcasts images via Redis and listens for predictions in OPEX format being broadcastChangelog1.0.2 (2022-06-13)redis-predict-isnow supportsgrayscalepredictions as well1.0.1 (2022-05-12)Added missing MANIFEST.in file1.0.0 (2022-05-12)Initial release: redis-predict-(ic/is/od)
Package: wai.annotations.roi
ROI image object-detection format plugins for wai.annotations.from-roi-od: reads datasets in ROI (region of interest) CSV formatto-roi-od: writes datasets in ROI (region of interest) CSV formatChangelog1.0.1 (2022-06-13)FromROI.convert_roi_objectnow also addslabel,score,minrect_wandminrect_hto the
meta-data of aLocatedObjectinstance.1.0.0 (2021-05-20)Initial release after separation from wai.annotations main repo.
Package: wai.annotations.subdir
Sub-directory audio/image classification format plugins for wai.annotations.from-subdir-ac: reads audio files from sub-directories named after their class labelsfrom-subdir-ic: reads images from sub-directories named after their class labelsfrom-subdir-sc: reads spectra from sub-directories named after their class labelsto-subdir-ac: writes audio files to sub-directories named after their class labelsto-subdir-ic: writes images to sub-directories named after their class labelsto-subdir-sc: writes spectra to sub-directories named after their class labelsChangelog2.0.1 (2021-12-16)Import bug-fixes.2.0.0 (2021-12-16)Added support for spectrum classification domain:from-subdir-scandto-subdir-sc.Split into base/specialisation structure to allow for easy specification of classification domains.1.0.1 (2022-06-21)added reader/writer for audio classification:from-subdir-acandto-subdir-ac1.0.0 (2021-05-20)Initial release after separation from wai.annotations main repo.
Package: wai.annotations.tf
Tensorflow format plugins for wai.annotations.Changelog1.3.0 (2022-03-10)Upgraded tensorflow dependency to allow for 2.7.*.1.2.0 (2021-11-11)Source ID for “numeric-dummy” mode is now a unique timestamp.Added dependencies for Tensorflow, Numpy.Bug fixes.1.1.0 (2021-07-28)Added--source-id-typeoption to avoid “StringToNumberOp could not correctly
convert string” exception with some algorithms (seehttps://github.com/google/automl/issues/307).1.0.0 (2021-05-20)Initial release after separation from wai.annotations main repo.
Package: wai.annotations.video
wai.annotations plugin for video support.The following sources are available:from-video-file-od: reads video files and forwards the frames in the object detection domain (with empty annotations)from-webcam-od: reads frames from a webcam and forwards the frames in the object detection domain (with empty annotations)The following inline stream processors (ISPs) are available:drop-frames: drops every nth frame from the streamfilter-frames-by-label-od: filter frames based on presence/absence of labels (score can be taken into account)skip-similar-frames: drops frames that are too similar to each otherThe following sinks are avilable:to-video-file-od: writes frames to an MJPG video filecalc-frame-changes: generates a histogram of the changes between frames, can be used for calculating a threshold forskip-similar-framesChangelog1.0.2 (2022-09-05)VideoFileReader source now passes on a file path with the frames as well1.0.1 (2022-06-13)Fixed error message of DropFrames/SkipSimilarFrames in case data of wrong domain is coming throughadded: filter-frames-by-label-od1.0.0 (2022-05-05)initial release: from-video-file-od, from-webcam-od, to-video-file-od, drop-frames, skip-similar-frames, calc-frame-changes
Package: wai.annotations.yolo
YOLO format plugins for wai.annotations.from-yolo-od: reads image object-detection annotations in the YOLO formatto-yolo-od: writes image object-detection annotations in the YOLO formatChangelog1.0.2 (2022-11-23)supports polygon format now (index + pairs of normalized x/y coordinates)YOLOODReadernow skips annotations if it fails to locate associated image1.0.1 (2022-09-05)theread_labels_filemethod ofFromYOLOODnow strips leading/trailing whitespaces
from the labels.1.0.0 (2022-03-01)Initial release.
Package: wai-client
Wai client appThis is a simple command-line or GUI application to query and update a Wai
server.  AWai serveris a simple
information service API that stores and provides users' given location and
status.What's WaiWai is a ridiculously simple server that records the textual location, status
and status emoji for the user to be retrieved by others, such as friends or
colleagues.  The impetus was for the author to advertise on a webpage when
they would next be working on campus.UsageWai provides a simple graphical user interface and a non-interactive
command-line interface.  They do not necessarily provide the same
functionality.The app launches in GUI mode when no command (such asquery) is provided.wai --helpusage: wai [-h] [-c CONFIG] [--uri URI] [--uuid UUID] {query,update} ...

Query or update location and status information with Wai server.

optional arguments:
  -h, --help            show this help message and exit
  -c CONFIG, --config CONFIG
                        configuration file
  --uri URI             URI for Wai server
  --uuid UUID           user ID

actions:
  Perform actions non-interactively. If unspecified, GUI will be launched

  {query,update}
    query               query for current user info
    update              update user infowai query --helpusage: wai query [-h] [--shell]

Query for current user info

optional arguments:
  -h, --help  show this help message and exit
  --shell     output results as shell variableswai update --helpusage: wai update [-h] [--key KEY] [--location LOCATION] [--status STATUS] [--emoji EMOJI]

Update user information

optional arguments:
  -h, --help           show this help message and exit
  --key KEY            user's API key
  --location LOCATION  set location
  --status STATUS      set status
  --emoji EMOJI        set emoji statusConfiguration fileThe Wai client will look for a configuration file as specified on the command
line or in either of$HOME/.config/wai/wai.confor$HOME/.wai.  This
example shows the format:[wai]
uri = <URI of Wai server>
uuid = <uuid given at registration>
key = <key used to register>LimitationsThe Wai client does not currently support registration.
Package: wai-datacomparator
Data Comparator ServiceData Comparator is a Python package for comparing data from two files. The service reads a configuration file that specifies the details of the comparison operation, such as the logger configurations, old file and new file for the comparison along with the file type, Primary key information. Easy to use and highly flexible, Data Comparator simplifies the process of merging data.InstallationYou can install DataComparator from PyPI:pipinstallwai-datacomparatorUsageTo use Data Comparator Service, you need to create a configuration file in JSON format. Hereâ€™s an example:{"logger":{"test_mode":true,"req_id":"001","application_name":"Wilson AI Test","application_version":"0.0.1","environment":"Development","environment_modifier":""},"data":{"old_file_path":"./scores_properties.csv","new_file_path":"./scores_properties_1.csv","csv_format":true},"comparison":{"primary_key":"property_id"}}Once you have your configuration file, you can perform the merge operation with a single function call:fromdata_comparatorimportDataComparatorconfig_path="./config.json"data=DataComparator(config_path=config_path)data.run_comparison()Replace "config.json" with the path to your actual configuration file.ContributingIf you want to contribute to this project, please submit a pull request.LicenseThis project is licensed under the MIT License.