All Projects → mtth → Hdfs

mtth / Hdfs

Licence: mit
API and command line interface for HDFS

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Hdfs

Hdfs Shell
HDFS Shell is a HDFS manipulation tool to work with functions integrated in Hadoop DFS
Stars: ✭ 117 (-44.02%)
Mutual labels:  cli, hdfs
Gscholar
Query Google Scholar with Python
Stars: ✭ 209 (+0%)
Mutual labels:  cli
Chatette
A powerful dataset generator for Rasa NLU, inspired by Chatito
Stars: ✭ 205 (-1.91%)
Mutual labels:  cli
Stonky
A command line dashboard for monitoring stocks
Stars: ✭ 208 (-0.48%)
Mutual labels:  cli
Rts
RTS: request to struct. Generates Go structs from JSON server responses.
Stars: ✭ 206 (-1.44%)
Mutual labels:  cli
Particle Cli
Command Line Interface for Particle Cloud and devices
Stars: ✭ 208 (-0.48%)
Mutual labels:  cli
Webpack Dashboard
A CLI dashboard for webpack dev server
Stars: ✭ 13,850 (+6526.79%)
Mutual labels:  cli
Go Carpet
go-carpet - show test coverage in terminal for Go source files
Stars: ✭ 210 (+0.48%)
Mutual labels:  cli
Jsonexport
{} → 📄 it's easy to convert JSON to CSV
Stars: ✭ 208 (-0.48%)
Mutual labels:  cli
Stow
GNU Stow - mirror of savannah git repository occasionally with more bleeding-edge branches
Stars: ✭ 207 (-0.96%)
Mutual labels:  cli
Oci Cli
Command Line Interface for Oracle Cloud Infrastructure
Stars: ✭ 207 (-0.96%)
Mutual labels:  cli
Aws Recon
Multi-threaded AWS inventory collection tool with a focus on security-relevant resources and metadata.
Stars: ✭ 203 (-2.87%)
Mutual labels:  cli
Bcrypt
A Java standalone implementation of the bcrypt password hash function. Based on the Blowfish cipher it is the default password hash algorithm for OpenBSD and other systems including some Linux distributions. Includes a CLI Tool.
Stars: ✭ 207 (-0.96%)
Mutual labels:  cli
Storyblok
You found an issue with one of our products? - submit it here as an issue!
Stars: ✭ 206 (-1.44%)
Mutual labels:  cli
Vsh
vsh - HashiCorp Vault interactive shell and cli tool
Stars: ✭ 209 (+0%)
Mutual labels:  cli
Starport
The easiest way to build a blockchain.
Stars: ✭ 204 (-2.39%)
Mutual labels:  cli
Procdump For Linux
A Linux version of the ProcDump Sysinternals tool
Stars: ✭ 2,507 (+1099.52%)
Mutual labels:  cli
Nord Xresources
An arctic, north-bluish clean and elegant Xresources color theme.
Stars: ✭ 210 (+0.48%)
Mutual labels:  cli
Json 2 Csv
Convert JSON to CSV *or* CSV to JSON!
Stars: ✭ 210 (+0.48%)
Mutual labels:  cli
Xcolor
Lightweight color picker for X11
Stars: ✭ 209 (+0%)
Mutual labels:  cli

HdfsCLI Build badge Pypi badge Downloads badge

API and command line interface for HDFS.

$ hdfscli --alias=dev

Welcome to the interactive HDFS python shell.
The HDFS client is available as `CLIENT`.

In [1]: CLIENT.list('models/')
Out[1]: ['1.json', '2.json']

In [2]: CLIENT.status('models/2.json')
Out[2]: {
  'accessTime': 1439743128690,
  'blockSize': 134217728,
  'childrenNum': 0,
  'fileId': 16389,
  'group': 'supergroup',
  'length': 48,
  'modificationTime': 1439743129392,
  'owner': 'drwho',
  'pathSuffix': '',
  'permission': '755',
  'replication': 1,
  'storagePolicy': 0,
  'type': 'FILE'
}

In [3]: with CLIENT.read('models/2.json', encoding='utf-8') as reader:
  ...:     from json import load
  ...:     model = load(reader)
  ...:

Features

See the documentation to learn more.

Getting started

$ pip install hdfs

Then hop on over to the quickstart guide. A Conda feedstock is also available.

Testing

HdfsCLI is tested against both WebHDFS and HttpFS. There are two ways of running tests (see scripts/ for helpers to set up a test HDFS cluster):

$ HDFSCLI_TEST_URL=http://localhost:50070 nosetests # Using a namenode's URL.
$ HDFSCLI_TEST_ALIAS=dev nosetests # Using an alias.

Contributing

We'd love to hear what you think on the issues page. Pull requests are also most welcome!

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