produttore-e-consumatore2

Multiprocessing


License
GPL-3.0
Install
pip install produttore-e-consumatore2==2.1

Documentation

produttore_e_consumatore2

GitHub license Author Version Language Python sys.platform supported On GitHub

Description

Producer and consumer with multiprocessing. You can use this tool to get the files which are in a selected folder/ subfolder.

Required

  • choco/ apt

Installation

  • choco (Windows) (as Administartor)
    • choco install produttore_e_consumatore2 --version=01.01
  • Ubuntu using apt:
    • sudo add-apt-repository ppa:castellanidavide/school -y; sudo apt update; sudo apt install produttoreconsumatore2 -y

Update

  • Windows (using choco):
    • choco upgrade produttore_e_consumatore2
  • Ubuntu using apt:
    • sudo apt update; sudo apt upgrade

Delate

  • Windows (using choco):
    • choco remove produttore_e_consumatore2
  • Ubuntu using apt:
    • sudo apt remove produttoreconsumatore2

Usage

  • with GUI
    • Follow the labels (only folder one is obbligatory).
  • without GUI
    • produttore_e_consumatore2 [--batch | -b] - disable GUI mode
    • produttore_e_consumatore2 [--verbose] - verbose mode (if not in GUI mode)
    • produttore_e_consumatore2 [--csv] - enable csv output (if not in GUI mode)
    • produttore_e_consumatore2 [--folder] - enable csv output (if not in GUI mode)
    • produttore_e_consumatore2 [--url=... --token=... --table=...] - enable the upload to HarperDB (Replace "..." with the value(s)) (if not in GUI mode)

Directories structure

  • .gitignore
  • setup.py
  • LICENSE.md
  • .github
    • ISSUE_TEMPLATE
      • bug_report.md
      • feature-request.md
    • workflows
      • on-push.yml
      • on-release.yml
  • choco
    • set.txt
    • produttore_e_consumatore2.nuspec
    • tools
      • chocolateyinstall.ps1
      • chocolateyuninstall.ps1
      • LICENSE.txt
      • VERIFICATION.txt
  • debian
    • produttoreconsumatore2.1
    • produttoreconsumatore2.c
    • Makefile
    • requirements.in
    • debian
      • changelog
      • compat
      • control
      • copyright
      • postinst
      • postrm
      • preinst
      • rules
      • source
  • docs
    • logo.png
    • *.md
  • flussi (example output(s))
    • net.csv
    • OS.csv
  • log (example log(s))
    • trace.log
  • requirements
    • requirements.txt
  • produttore_e_consumatore2
    • __init__.py

Execution examples

  • produttore_e_consumatore2

Output location

  • *.csv (if enabled) in the location where the code was lauched
  • *.log
    • C:/Program Files/produttore_e_consumatore2/* on Windows
    • ~/* on linux
    • current location (if you didn't lauch the code with the correct rights)

Made by Castellani Davide If you have any problem please contact me: