semvec/pypi-packages huggingface dataset:
bashate 2.1.1
A pep8 equivalent for bash scripts
Requires Python: >=3.5

===============================
bashate
===============================

A pep8 equivalent for bash scripts

This program attempts to be an automated style checker for bash scripts
to fill the same part of code review that pep8 does in most OpenStack
projects. It started from humble beginnings in the DevStack project,
and will continue to evolve over time.

The output format aims to follow `pycodestyle (pep8) default output format
<https://github.com/PyCQA/pycodestyle/blob/master/pycodestyle.py#L108>`_.


- Free software: Apache license
- Documentation: https://docs.openstack.org/bashate
- Source: https://opendev.org/openstack/bashate/
- Bugs: https://bugs.launchpad.net/bash8
- Release notes: https://docs.openstack.org/releasenotes/bashate/index.html
- Contributing: https://docs.openstack.org/bashate/latest/contributor/index.html

Currently Supported Checks
--------------------------

Errors
~~~~~~

Basic white space errors, for consistent indenting

- E001: check that lines do not end with trailing whitespace
- E002: ensure that indents are only spaces, and not hard tabs
- E003: ensure all indents are a multiple of 4 spaces
- E004: file did not end with a newline
- E005: file does not begin with #! or have a .sh prefix
- E006: check for lines longer than 79 columns

Structure Errors
~~~~~~~~~~~~~~~~

A set of rules that help keep things consistent in control blocks.
These are ignored on long lines that have a continuation, because
unrolling that is kind of "interesting"

- E010: *do* not on the same line as *for*
- E011: *then* not on the same line as *if* or *elif*
- E012: heredoc didn't end before EOF
- E020: Function declaration not in format ``^function name {$``

Obsolete, deprecated or unsafe syntax
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Rules to identify obsolete, deprecated or unsafe syntax that should
not be used

- E040: Syntax errors reported by `bash -n`
- E041: Usage of $[ for arithmetic is deprecated for $((
- E042: local declaration hides errors
- E043: arithmetic compound has inconsistent return semantics
- E044: Use [[ for =~,<,> comparisions
devstack-tools 2.0.0
Devstack Helper Tools in Python
Requires Python: >=3.8

===============================
devstack-tools
===============================

Devstack Helper Tools in Python

This is a set of cli tools for supporting devstack. It moves some of
the complexity out of bash and into python where it's easier to have
comprehensive testing of behavior.

Currently this includes the ``dsconf`` tool, which provides a cli for
manipulating local.conf and ini files.

::

  usage: dsconf [-h]
              {iniset,inicomment,iniuncomment,inirm,extract-localrc,extract,setlc,setlc_raw,setlc_conf,merge_lc}
              ...

  optional arguments:
    -h, --help            show this help message and exit

  commands:
    {iniset,inicomment,iniuncomment,inirm,extract-localrc,extract,setlc,setlc_raw,setlc_conf,merge_lc}
                        sub-command help
    iniset              set item in ini file
    inicomment          comment item in ini file
    iniuncomment        uncomment item in ini file
    inirm               delete item from ini file
    extract-localrc     extract localrc from local.conf
    extract             extract and merge config from local.conf
    setlc               set variable in localrc of local.conf
    setlc_raw           set raw line at the end of localrc in local.conf
    setlc_conf          set variable in ini section of local.conf
    merge_lc            merge local.conf files


* Free software: Apache license
* Documentation: https://docs.openstack.org/devstack-tools/latest/
* Source: https://opendev.org/openstack/devstack-tools/
* Bugs: https://bugs.launchpad.net/devstack

Features
--------

* TODO
klaytn-etl-test 0.1.11
Tools for exporting Klaytn blockchain data to JSON
Requires Python: >=3.7.2,<4
Keywords: klaytn,etl,batch

# Klaytn ETL

Klaytn ETL lets you convert Klaytn blockchain data into convenient formats like JSONs, CSVs and relational databases.
This is a fork of [Ethereum ETL](https://github.com/blockchain-etl/ethereum-etl).

***Notice: Klaytn ETL is still on the beta version. However, CLIs are all functional.***

***Documents about command reference will be soon updated.***

***Please check issues to figure out current works.***

## Quickstart
Install Klaytn ETL:

```bash
pip3 install klaytn-etl-cli
```

Export blocks and transactions

```bash
> klaytnetl export_blocks_and_transactions --start-block 0 --end-block 5000 \
--blocks-output blocks.json --transactions-output transactions.json
```

Export ERC20 and ERC721 transfers

```bash
> klaytnetl export_token_transfers --start-block 0 --end-block 5000 \
--output token_transfers.json
```

Export traces

```bash
> klaytnetl export_traces --start-block 0 --end-block 5000 \
--output traces.json
```

Find other commands [here](klaytnetl/cli/__init__.py).

For the latest version, check out the repo and call 
```bash
> pip3 install -e . 
> python3 klaytnetl.py
```

### Running in Docker

1. Install Docker https://docs.docker.com/install/

2. Build a docker image
    ```bash
    > docker build -t klaytn-etl:latest .
    > docker image ls
    ```

3. Run a container out of the image
    ```bash
    > docker run -v $HOME/output:/klaytn-etl/output klaytn-etl:latest export_all -s 0 -e 5499999 -b 100000
    > docker run -v $HOME/output:/klaytn-etl/output klaytn-etl:latest export_all -s 2018-01-01 -e 2018-01-01
    ```