Code Monkey home page Code Monkey logo

villagers_tree's Introduction

Villagers Tree

A python package to generate a tree visualization of Villagers cards.

Author:

Installation

Pre-requisite : Install conda

  • Open a terminal window and type conda. If no error message appear (but a long how-to message) then you have successfully installed conda.

  • Otherwise, you may choose to install either the miniconda tool or the anaconda distribution suitable for your OS.

Download the source repository

Using the git command line tool

  • Open a terminal window and navigate to the directory of your choice using the cd command.

  • Copy the source repository using git by typing:

git clone https://github.com/gcerutti/villagers_tree.git

Create a new conda environment

  • In the terminal window, go to the directory where you copied the source repository:
cd villagers_tree
  • Create a new environment containing all the script dependencies using the provided YAML file:
conda env create -f environment.yml

Install the package

  • To install the python package in the environment you just created, you need to activate it first.
conda activate villagers_tree
  • Install the package contents.
python -m pip install -e .

Usage

Activate the conda environment

  • Each time you open a nw terminal window to use the script, you will need to activate the environment you created to access the dependencies
conda activate villagers_tree

Run the generation script

  • To generate all Villagers cards separately, run the card generation script:
generate_villager_cards

NOTE: the cards will be generated as separate .png files, under the output/villager_cards folder.

villagers_tree's People

Contributors

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