semvec/pypi-packages huggingface dataset:
solflatliner 1.0.118
A Python package to unfold soldity code with imports into a single file.
License: MIT
Requires Python: >=3.6,<4
Keywords: soldity solidity-unfolder solidity-flatliner               smart-contracts ethereum

# Solidity Flatliner

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; )

## Features

- [x] support external library folder destination
- [x] support output folder name
- [x] auto remove redundant license place and solidity version code  
- [x] auto remove redundant contract / interface / abstract contract / library
- [x] added support safety line

## Installation

There are no requirements for this tool.

```
pip3 install solflatliner
```
or if you want to get the upgrade
```
sudo pip3 install solflatliner --upgrade
```

### Create bin file for easy execution
```
#!/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8
# -*- coding: utf-8 -*-
import re
import sys
from solflatliner.cmd import cli
if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
    sys.exit(cli())

```

## Usage

```
usage: solflatliner [-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)
  -f, --ofolder         The output folder (default: verify)
  -lib, --library       Selection of library folder from the execution path. (default: lib)
  -l, --license         The license identifier from https://spdx.org/licenses/ (default: AGPL-3.0)
```

### Example

```
solu contract-with-imports.sol 0.4.24
```
It will output `flat.sol` (default output filename) with solidity version `0.4.24` in `verify/` folder.

```
solflatliner contract-with-imports.sol 0.4.20 --output contract-flat.sol
```
It will output `contract-flat.sol` with solidity version `0.4.20` in `verify/` folder.


### License

MIT License (2022), Jun-You Liu, Heskemo
ka-drf-utils 0.7.0
KitchenArt utility package
License: MIT

# KitchenArt DRF Utilities

This package contains helpers and utilities used at 
KitchenArt for django-based projects.

Features:
- Base Class Model for timestamped and soft delete.
- Serializer classes for timestamped.
- View classes for soft delete.
- Log Activity module
- Basic publisher classes
- Translation serializer classes
- Helper parse identity from href
- Helper for generate unique data id
- Custom drf exception handler

## Installation

```shell
pip install ka-drf-utils
```

# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.7.0] - 2022 - 09 - 05
### Fixed
- Update ugettext_lazy import for django 4

## [0.6.0] - 2021 - 08 - 08
### Added
- Add new helper function for generate unique data id

## [0.5.0] - 2021 - 02 - 23
### Changed
- Update view LogViewSetMixin to custom log serializer

## [0.4.0] - 2020 - 12 - 22
### Added
- Create view TranslationViewSetMixin to get detail all translation fields

## [0.3.1] - 2020 - 12 - 14
### Fixed
- fix signaling in LogViewSetMixin if user anonymous

## [0.3.0] - 2020 - 12 - 13
### Changed
- Simplify log module

### Removed
- Remove LogSerializerMixin

## [0.2.0] - 2020 - 12 - 13
### Removed
- Remove translation module

### Fixed
- Fix exchange on publisher 

## [0.1.1] - 2020 - 12 - 09
### Fixed
- Fix history.md in a setup.py 

## [0.1.0] - 2020 - 12 - 09
### Added
- TimestampedSerializerMixin for Timestamped Model
- SoftDeleteViewSetMixin for handling soft delete data 
- BaseModel for SoftDelete and Timestamped Model
- Helper for parse identity from href
- LinkHeaderPagination
- Custom receiver django signal
- Custom exception handler
- BasicPublisher class
- Translation module
- Activity Log module