Giter VIP home page Giter VIP logo

paperlessscripts's Introduction

Paperless Scripts

This repository contains scripts to help with some paperless workflows.

Installation

Linux

  1. Clone this repository
  2. Create a virtual environment: python -m venv venv
  3. Activate the virtual environment: source venv/bin/activate
  4. Install the requirements: pip install -r requirements.txt

Windows

  1. Clone this repository
  2. Create a virtual environment: python -m venv venv
  3. Activate the virtual environment: venv\Scripts\activate.bat or source venv\Scripts\activate
  4. Install the requirements: pip install -r requirements.txt

Usage

Generate ASNs

Display the help message for more information:

python asn/generate.py -h

You will finde the generated PDFs in the asn folder.

You can visit also the Makefile for more information about the usage.

Sources

  1. Paperless QR-Code ASN
  2. Generate ASN
  3. Custom ASN script

API - Scripts

Manage paperless user defined fields for documenttypes

  1. configure config.py and config_documenttypes.py, use *.template if you want an example
  2. Initially use organize-doctype-fields to change all existing documents in your paperless instance
  3. Regulary use update-open-document-fields.py to update documents with tag "Offen" for defined type fields

paperlessscripts's People

Contributors

bschlagheck avatar

Stargazers

 avatar

Watchers

 avatar

paperlessscripts's Issues

Switch to json configs

The current version includes config files with .py.

But it would be better if we use .json files in ./api like in ./asn.

Issue with Installation Instructions on Windows OS

Summary

The current installation instructions in the README do not include specific steps for Windows OS, leading to potential confusion or issues during the setup process.

Detailed Information

The installation guide currently suggests using the command source venv/bin/activate for activating the virtual environment. This command is suitable for Linux-based systems, but it does not work on Windows. In Windows, the correct command to activate the virtual environment is source venv\Scripts\activate (depending on the terminal, it can also be source venv/Scripts/activate).

This difference in file system and command syntax between Linux and Windows can cause issues for users trying to set up the project on Windows machines.

Suggested Solution

It would be helpful to update the README or the installation instructions to include this information for Windows users. A possible addition could be a note under the installation section, specifying the different commands for Linux and Windows.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.