semvec/pypi-packages huggingface dataset:
solidity-unfolder 1.0.1
A Python package to unfold soldity code with imports into a single file.
License: MIT
Requires Python: >=3
Keywords: soldity solidity-unfolder solidity-flattener               smart-contracts ethereum

# Solidity Unfolder

Unfolds all local imports in a solidity file to generate a flat solidity file.


## Introduction
Manually combining all imports in a solidity file when verifying your contract source on [Etherscan](https://etherscan.io) is time-consuming and cumbersome. This tool automatically traverses the dependency graph of imports and combines them in the correct order, which is ready to be pasted into the contract verifier.

> NOTE: This tool won't work with imports that are aliased (i.e. import "./foo.sol" as bar; )


## Installation

There's no any requirements for this tool.

```
pip install solidity-unfolder
```


## Usage

```
usage: solu [-h] [-o *.sol] *.sol *.*.*

Unfolds all local imports in a solidity file to generate a flat solidity file.
Put the output file into out/ folders.

positional arguments:
  *.sol                 target filename with imports
  *.*.*                 solidity compiler version e.g. 0.4.24

optional arguments:
  -h, --help            show this help message and exit
  -o *.sol, --output *.sol
                        output filename (default: flat.sol)
```


## 	Contact
Feel free to [contact me](mailto:junyouliu9@gmail.com) if there's any problems. And welcome to open issues and send pull requests.

Inspired by [BlockCatIO](https://github.com/BlockCatIO/solidity-flattener)

### License

MIT License (2018), Jun-You Liu
py-app-config 1.0.0
Python Application Configuration.
License: MIT
Keywords: application configuration recursive update read config

=========
py-config
=========

.. image:: https://travis-ci.org/Maples7/py-config.svg?branch=master
    :target: https://travis-ci.org/Maples7/py-config

.. image:: https://img.shields.io/pypi/v/py-app-config.svg
    :target: https://pypi.python.org/pypi/py-app-config

Python Application Configuration. Py-config organizes hierarchical configurations for your app deployments.


Usage
=====

Installation
------------

.. code:: shell

    pip install py-app-config


Best Practice
-------------

Firstly, you should have a ``config`` folder under the codebase of your application, like this:

.. code:: shell

    .
    ├── config
    │   ├── __init__.py
    │   ├── default.json
    │   ├── development.json
    │   ├── production.json
    │   └── test.json
    .


Secondly, set environment variable ``PY_ENV`` to one of the names of JOSN files in the ``config`` folder, and it defaults to be ``development``.

In your ``__init__.py`` under ``config`` folder, these codes can be used:

.. code:: python

    import os
    from py_config import set_config_dir, get_config

    config_dir = os.path.abspath(os.path.dirname(__file__))
    set_config_dir(config_dir)
    config = get_config()

Then, you can use ``from config import config`` to import your app config in any other places in you codebase.

The final ``config`` would **merge** ``default.json`` and ``<PY_ENV>.json``. See `dict-recursive-update <https://github.com/Maples7/dict-recursive-update>`_ for the **recursive** update rules.


APIs
----

.. code:: python

    # Set the config directory path
    set_config_dir(
        config_dir=None  # Directory path of `config` folder
    )

    # Get final config according to the `config_dir`. 
    # It should be executed every time after a new `config_dir` is set.
    get_config()


Relatives
=========

- `dict-recursive-update <https://github.com/Maples7/dict-recursive-update>`_
- `node-config <https://github.com/lorenwest/node-config>`_


License
=======
`MIT <./LICENSE.txt>`_
marius 0.1.3
Light weight job scheduling tool with more performance and scalability.
License: MIT

## Marius
--------
Light weight job scheduling tool with more performance and scalability.<br/>
Name come from [Gaius Marius](https://en.wikipedia.org/wiki/Gaius_Marius)

### Installation

```shell
pip install marius
```

### Usage Example

```python
import time
from marius import Task, TimeLine


def func(num):
    print('task-{0}'.format(num))


if __name__ == '__main__':
    tl = TimeLine()
    now = time.time()
    tl.add(Task(iter([now + i for i in [2, 3, 5]]), func, 3))
    while tl.has_tasks():
        tl.wait_next()
        tl.run()
    else:
        print("all job run over")

```

### TODO
1. ~~add automatic test support~~
2. ~~add more helper function~~
3. add doc

### Welcome to contribute
Feel free to open a issue or start a pull request. <br/>
You are welcome.