Code Monkey home page Code Monkey logo

wordcloud-cli's Introduction

wordcloud-cli

Generate wordcloud images from a data file: raw text, CSV or Parquet.

Examples

Reading from a Parquet file:

  • Countries trading with New Zealand
pipenv run python main.py examples\NZ_trade.parquet   country_code     images\mask.small.png

NZ trade countries

... adding a mask: NZ trade countries with mask

Reading from a CSV file:

pipenv run python main.py examples\NZ_trade.csv   country_codez     images\mask.small.png

NZ trade countries - CSV

... adding a mask: NZ trade countries - CSV with mask

Reading from a raw text file:

pipenv run python main.py examples\king_lear.txt   word     images\mask.small.png

King Lear - raw text

... adding a mask: King Lear - raw text with mask

Setup

Python: 3.11.8+

pipenv install

Usage

pipenv run python main.py <path to data file> <word column name> <path to mask.png>

References

wordcloud-cli's People

Contributors

mrseanryan avatar

Stargazers

Ahmed Hashim 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.