GithubHelp home page GithubHelp logo

eaglerock1337 / autobob-sidekick Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 11.35 MB

An automation tool for annoying Dr. Bobberts text formatting!

License: BSD 3-Clause "New" or "Revised" License

Python 94.25% Dockerfile 0.28% Makefile 1.44% Shell 4.02%

autobob-sidekick's Introduction

autobob-sidekick

An automation tool for annoying Dr. Bobberts text formatting!

requirements

Using this tool requires the following:

  • Python 3.6 or later installed on your system
  • pip (pip3) for installing Python modules
  • access to a shell for using the makefile or installer

installation

  • clone this repo to your filesystem
  • open a shell to this directory
  • run make if you have it installed, otherwise run setup.sh
  • the makefile/script will set up the necessary dependencies and use pyinstaller to bundle the application
  • the autobob application will be copied to the current directory

You can copy the autobob executable wherever is most convenient for your use. Simply run autobob from the shell or the GUI and enjoy!

development

  • install pipenv with pip install --user pipenv
  • run pipenv install --dev to set up the development environment.
  • run pipenv shell to instanciate a shell inside the virtual environment for the application.
  • you can run python autobob.py to run the command inside the virtualenv.
  • you can alternatively run pipenv run python autobob.py outside of the virtualenv.
  • to compile the application, run make compile to compile the executable.
  • to specify an icon, add --icon /path/to/icon/file to the pyinstaller command.
  • to run tests, run make test.
  • to run the code linter, run black . and the code will automatically be formatted to Python code conventions.
  • to test pyinstaller, make, or setup.sh in a container, use make docker to set up a docker container.

program layout

The following files make up the application and its data:

  • autobob.py - Main program that uses the sidekick module
  • Makefile - Make tools for running and compiling the application
  • setup.sh - A setup script for systems without make installed
  • sidekick/autobob.py - AutoBob() class and its member functions
  • sidekick/codes.py - Lists and dicts for treatment and auxillary codes
  • sidekick/fields.py - Fields and output text for specific fields
  • sidekick/layouts.py - Layout nested lists for PySimpleGUI window formatting
  • Dockerfile - A Docker image for testing the pyinstaller and setup commands

The other files and directories are as follows:

  • dist/ - Generated by pyinstaller for outputting dist/autobob executable
  • .gitignore - Used by git to know which files to ignore in source control
  • autobob.spec - Generated by pyinstaller when creating executable file
  • LICENSE - BSD 3-Clause license for sharing to others
  • NOTES.md - Notes taken for how program should work
  • Pipfile - Used by pipenv to define the program's virtual environment
  • Pipfile.lock - Used by pipenv when generating the virtual environment locally

autobob-sidekick's People

Contributors

eaglerock1337 avatar

Watchers

 avatar

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.