Coder Social home page Coder Social logo

inkcsv's Introduction

InkCSV

InkCSV is a program that helps you to make invitations, certificates, name tags, etc. from a CSV file and a SVG template.

I made this program on a GNU/Linux distro, so I don't think it would work on another operating system (like Windows, BSD, or OS X).

Installation

To run this program, you will need:

  • Inkscape
  • Python (2.x or 3.x)

To install this program, copy inkcsv file to a $PATH directory.

If you have no idea what to do, please type these instructions in terminal:

sudo apt-get install inkscape python git
git clone https://github.com/PramastaRR/inkcsv.git
cd inkcsv
sudo cp inkcsv /usr/local/bin

Usage

inkcsv [CSV file name] [SVG template file name] [Words to replace] [DPI]
  • [CSV file name]: the data source, on CSV format.
  • [SVG template file name]: the template, on SVG format.
  • [Words to replace]: words to replace on the template, please separate each word with comma (,)
  • [DPI]: DPI of the exported PNG file. Inkscape's default is 96.

Example

Case: We are going to make name tags for employees in a company.

people.csv

Ann, Manager
Bonnie, Programmer
Coco, Designer

template.svg

alt text

With CSV data source and SVG template above, we can make name tags with:

inkcsv people.csv template.svg var_name,var_role 96

The results will be saved in exported directory. The results will look like this:

alt text

Contribution

If you are interested with this project, you can contribute by making pull requests. I need your help to tidy up the code and the documentation!

inkcsv's People

Contributors

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