All Projects → medialab → Minet

medialab / Minet

Licence: gpl-3.0
A webmining CLI tool & library for python.

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Minet

Za Farmer
基于uiautomator2.0 的自动化测试工具
Stars: ✭ 60 (+1.69%)
Mutual labels:  cli
Cli Error Notifier
Sends native desktop notifications if CLI apps fail
Stars: ✭ 61 (+3.39%)
Mutual labels:  cli
Cloudflare Cli
CLI utility managing CloudFlare services using CloudFlare API
Stars: ✭ 61 (+3.39%)
Mutual labels:  cli
Php Fpm Status Cli
PHP-FPM status-page CLI
Stars: ✭ 60 (+1.69%)
Mutual labels:  cli
Cli Toolkit
PHP CLI Toolkit
Stars: ✭ 60 (+1.69%)
Mutual labels:  cli
Rtscli
Python CLI Stocks Ticker + Portfolio Tracker
Stars: ✭ 61 (+3.39%)
Mutual labels:  cli
Cabal Edit
A utility for managing Hackage dependencies and manipulating Cabal files from the command line.
Stars: ✭ 60 (+1.69%)
Mutual labels:  cli
Gojekyll
A fast clone of the Jekyll blogging engine, in Go
Stars: ✭ 62 (+5.08%)
Mutual labels:  cli
Xxv
The XXV visual hex viewer for the terminal.
Stars: ✭ 61 (+3.39%)
Mutual labels:  cli
Tidy Markdown
Beautify Markdown, fixing formatting mistakes and standardizing syntax
Stars: ✭ 61 (+3.39%)
Mutual labels:  cli
Fsq
A tool for querying the file system with a SQL-like language.
Stars: ✭ 60 (+1.69%)
Mutual labels:  cli
Wago
Automate the actions you do after saving code.
Stars: ✭ 60 (+1.69%)
Mutual labels:  cli
Stacker Cli
Docker Compose Templates
Stars: ✭ 61 (+3.39%)
Mutual labels:  cli
Baapan
✨ Super Cool NPM Playground right on the Node REPL ✨
Stars: ✭ 60 (+1.69%)
Mutual labels:  cli
Commando
An easy-to-use command-line application builder.
Stars: ✭ 62 (+5.08%)
Mutual labels:  cli
Netlify Builder
Deploy your Angular app to netlify from CLI
Stars: ✭ 60 (+1.69%)
Mutual labels:  cli
Syncano Node
Syncano Toolkit for JavaScript development
Stars: ✭ 61 (+3.39%)
Mutual labels:  cli
Pylanguagetool
Python Library and CLI for the LanguageTool JSON API
Stars: ✭ 62 (+5.08%)
Mutual labels:  cli
Art
🎨 A smart theme generator
Stars: ✭ 62 (+5.08%)
Mutual labels:  cli
Httpie Http2
Experimental HTTP/2 plugin for HTTPie
Stars: ✭ 61 (+3.39%)
Mutual labels:  cli

Build Status DOI

Minet

minet is a webmining CLI tool & library for python that can be used to collect and extract data from a large variety of web sources such as raw webpages, Facebook, CrowdTangle, YouTube, Twitter, Media Cloud etc.

It adopts a very simple approach to various webmining problems by letting you perform a variety of actions from the comfort of your command line. No database needed: raw data files such as CSV should be sufficient to do the work.

In addition, minet also exposes its high-level programmatic interface as a python library so you can tweak its behavior at will.

Shortcuts: Cookbook, CLI Docs, Lib Docs.

Use cases

  • Downloading large amount of urls very fast. (guide)
  • Writing scrapers to extract structured data from HTML pages.
  • Writing crawlers to automatically browse the web.
  • Extract raw text content from HTML pages. (example)
  • Normalize batches of urls contained in a CSV file to perform relevant aggregations (dropping irrelevant query items, extracting domain name etc.) (example)
  • Join two CSV files based on columns containing urls that need to be matched (guide).
  • Collecting data from CrowdTangle API (to collect and search posts mainly from Facebook and Instagram).
  • Collecting data from Facebook (comments, likes etc.)
  • Parsing Facebook urls in a CSV file.
  • Collecting data from Twitter (users, followers, followees etc.)
  • Scraping data (tweets etc.) from Twitter's website public facing search API.
  • Collecting data from YouTube (captions, comments, video metadata etc.)
  • Parsing YouTube urls in a CSV file.
  • Dumping a Hyphe corpus.
  • Collecting data from Media Cloud (search stories, dump topics etc.).

Features (from a technical standpoint)

  • Multithreaded, memory-efficient fetching from the web.
  • Multithreaded, scalable crawling using a comfy DSL.
  • Multiprocessed raw text content extraction from HTML pages.
  • Multiprocessed scraping from HTML pages using a comfy DSL.
  • URL-related heuristics utilities such as extraction, normalization and matching.
  • Data collection from various APIs such as CrowdTangle.

Installation

minet can be installed as a standalone CLI tool (currently only on mac, ubuntu & similar) by running the following command in your terminal:

curl -sSL https://raw.githubusercontent.com/medialab/minet/master/scripts/install.sh | bash

Don't trust us enough to pipe the result of a HTTP request into bash? We wouldn't either, so feel free to read the installation script here and run it on your end if you prefer.

On ubuntu & similar you might need to install curl and unzip before running the installation script if you don't already have it:

sudo apt-get install curl unzip

Else, minet can be installed directly as a python CLI tool and library using pip:

pip install minet

If you need more help to install and use minet from scratch, you can check those installation documents.

Finally if you want to install the standalone binaries by yourself (even for windows) you can find them in each release here.

Upgrading

To upgrade the standalone version, simply run the install script once again:

curl -sSL https://raw.githubusercontent.com/medialab/minet/master/scripts/install.sh | bash

To upgrade the python version you can use pip thusly:

pip install -U minet

Uninstallation

To uninstall the standalone version:

curl -sSL https://raw.githubusercontent.com/medialab/minet/master/scripts/uninstall.sh | bash

To uninstall the python version:

pip uninstall minet

Cookbook

To learn how to use minet and understand how it may fit your use cases, you should definitely check out our Cookbook.

Documentation

Contributing

To contribute to minet you can check out this documentation.

How to cite

minet is published on Zenodo as DOI

You can cite it thusly:

Guillaume Plique, Pauline Breteau, Jules Farjas, Héloïse Théro, & Jean Descamps. (2019, October 14). Minet, a webmining CLI tool & library for python. Zenodo. http://doi.org/10.5281/zenodo.4564399

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].