Giter VIP home page Giter VIP logo

a-model's Introduction

There are a lot of levels at which we can try to better understand Datascope's profitability and ability to grow. For as simple of a concept as "profitability" is, it is inextricably linked to factors like personal take-home pay, type of work we do (poke my eyes out tasks are less fun), and amount of time we work. To get a better sense of this, the goal of this model is to make it easier for everyone to understand how their personal goals are tied to Datascope's.

quickstart

  1. brew install geckodriver or brew upgrade geckodriver. Make sure you are on geckodriver 0.16.1 or newer.

  2. Create a virtualenv and install the requirements

    mkvirtualenv a-model
    pip install -r requirements/python-dev
    brew install geckodriver
  3. Update some environment variables to be able to run the scripts in the bin directory using the a_model python package

    echo 'export PYTHONPATH=`pwd`'     >> ~/.virtualenvs/a-model/bin/postactivate
    echo '__AMODEL_PATH=$PATH'         >> ~/.virtualenvs/a-model/bin/postactivate
    echo 'export PATH=$PATH:`pwd`/bin' >> ~/.virtualenvs/a-model/bin/postactivate
    echo 'unset PYTHONPATH'            >> ~/.virtualenvs/a-model/bin/predeactivate
    echo 'export PATH=$__AMODEL_PATH'  >> ~/.virtualenvs/a-model/bin/predeactivate

    NOTE: The first time you do this, you will also need to source ~/.virtualenvs/a-model/bin/postactivate for these changes to take effect within your new virtualenv. From here on out though, these bash environment variables will be started by default

  4. Some of the scripts use selenium to download various things. Make sure you have the most recent version of Firefox installed. Upgrade instructions here.

  5. Create a soft link to the a-model shared Dropbox folder, which has various credentials you'll need for downloading things.

    ln -s ~/Dropbox/Library/a-model Dropbox
  6. Run the sync_quickbooks_gdrive.py to download the most up-to-date information from quickbooks. You can also sync the data by running make csvs

  7. Play with the models on an individual basis (see below) or by running make to generate a bunch of figures at once.

  8. Build Status See .travis.yml for details on the test suite

a-model's People

Contributors

michaelmoliterno avatar stringertheory avatar

Watchers

 avatar  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.