Giter VIP home page Giter VIP logo

twint2datashare's Introduction

Goal

This script is used to import twint json results into Datashare.

What's before all of that ?

Just use twint to extract tweets from USERNAME's account

twint -u USERNAME -o USERNAME.json --json

How to install it

List of requirements

  • click
  • elasticsearch

Install requirements

pip install -r requirements.txt

# How to use it

See help

python script.py --help

Call script

python script --username TWITTER_USERNAME --index ES_INDEX --host ES_HOST --port ES_PORT --filesPath FILE_PATH

  • username (mandatory) : username from where you extracted the tweets with twint.
  • index : Elasticsearch index name, default is local-datashare.
  • host : Elasticsearch host, default is 9200.
  • port : Elasticsearch port, default is 9200.
  • filesPath: Path where files are stored, default is "/home/dev/data".

twint2datashare's People

Contributors

annelhote avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

snorkeldepth

twint2datashare's Issues

Packaging

Change requirements.txt for setup.py and README.md to README.rst

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.