semvec/pypi-packages huggingface dataset:
tezos-etl 1.4.6
Tools for exporting Tezos blockchain data to JSON
Requires Python: >=3.6.0,<3.8.0
Keywords: Tezos

# Tezos ETL

[![Build Status](https://travis-ci.org/blockchain-etl/tezos-etl.png)](https://travis-ci.org/blockchain-etl/tezos-etl)
[![Documentation Status](https://readthedocs.org/projects/tezos-etl/badge/?version=latest)](https://tezos-etl.readthedocs.io/en/latest/?badge=latest)

[Full documentation available here](http://tezos-etl.readthedocs.io/).

## Quickstart

Install Tezos ETL:

```bash
pip install tezos-etl
```

Export blocks, balance updates and operations ([Schema](docs/schema.md), [Reference](docs/commands.md#export)):

```bash
tezosetl export --start-block 1 --end-block 100 \
--provider-uri https://mainnet.api.tez.ie --output-dir output --output-format json
```

For the latest version, checkout the repo and call
 
```bash
pip install -e .
python tezosetl.py
```

## Running Tests

```bash
pip install -e .[dev]
echo "TEZOSETL_PROVIDER_URI variable is optional"
export TEZOSETL_PROVIDER_URI=https://mainnet.api.tez.ie
pytest -vv
```

### Running Tox Tests

```bash
pip install tox
tox
```

## Running in Docker

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

2. Build a docker image:
        
        docker build -t tezos-etl:latest .
        docker image ls
        
3. Start the export using the image:

        docker run -v $HOME/output:/tezos-etl/output tezos-etl:latest export_partitioned \
        -s 2018-06-30 -e 2018-07-01 -p https://mainnet.api.tez.ie --output-format csv
generate_report 1.0.0
自动生成测试报告工具

report_origin
=============

介绍
----

一款用于自动生成测试报告的工具

注意事项：需安装谷歌浏览器

-  chrome_driver.py
   用于检查是否安装谷歌浏览器驱动及驱动版本是否兼容，若无驱动或驱动版本不兼容，则自动下载
-  db_connect.py 存放操作数据库的方法
-  get_db.py 用于连接数据库
-  config.yml 存放数据库配置文件
-  project_data.yml 存放数据文件
-  template.docx 测试报告的模板
-  report_res：运行时自动生成，用于存放生成的结果图片
-  test_report.py：主文件引用的脚本文件
-  run.py 主文件，执行的入口

使用说明
--------

运行run.py文件，生成的测试报告默认保存在D:/中，可在运行时指定存放路径。

例：

::

   from generate_report import run   # 引包

   run.run()   # 运行run.py文件中的run函数


   请输入项目名称：
   请输入撰写人：
   请输入预估di值，若无预估di值，请输入数字0：
   请指定报告生成的路径，若不指定，请按回车键（注意：在输入路径时，请不要使用反斜杠）：

版本规范
--------

保持和python版本命名一致，格式：x.x.x

-  大版本：1.x.x 第一位变化
-  小版本：x.1.x 第二位变化
-  bug修复版本：x.x.1 最后一位变化
Hugo30128 0.0.1
A small example package
Requires Python: >=3.7

# M1-2022-git

## Introduction
This repository is a fork from the previous repository.
The bugs in the converter have been fixed and now we want to publish our work as a publicly available python package.

## Getting started
You should be working from **your own repository** that is a fork of M1-2022-git-workflow.
In order to run this project, you will have to follow these steps.
1. Clone this project
2. move into the project folder
``` shell
cd M1-2022-git-workflow
```
3. Set up a virtual environment
 * Create the virtual environment
 ```shell
 python -m venv myvenv
 ```
 * Activate venv
 ```shell
 . venv/bin/activate
 ```
4. Install pytest
```shell
pip install -U pytest
```
5. Execute main script
```shell
python main.py
```

## Instructions
### Merge feature branch into dev
Now that the converter has no more bugs, we want to merge our branch feature into the dev branch.
We will do a pull request (on your own repo). On GitHub, go to the "Pull requests tab" and click "New pull request".
Select *base* and *compare*. Remember : we want to merge *decimal-binary-converter* into *dev*. 
Then, *Create the pull request*. Add some description of the work you have done and publish the Pull Request.

**Note** : We could have just merge *decimal-binary-converter* into *dev* from the command line. However, when working on a real project, you probably won't have the rights to do so. Remember : dev is a public branch. So all the work going down there should be carefully reviewed and tested.


### Publish your work
We now have an awesome binary/decimal two ways converter ! It's time to publish it so the rest of the world can enjoy it !
We will publish it on PyPI (Python Package Index) which is a public repository of softwares for Python.
1. First, you have to create an account on [Pypi.org](https://pypi.org/)
2. Then, in your repository, you will find a [.github directory](/.github)
3. Inside this directory, you will find .yml files that defines workflows (using GitHub actions)
4. Open the yml files and take time to understand them. Do not hesitate to ask the teacher about them

#### Hands on !
5. We want to create a workflow that will, on publish, test our code and if tests succeed, then publish our package on PyPI
6. In GitHub, click on the *Actions* tab, then click on *new workflow*
7. Choose among the suggestions the template that best suits your use-case and click *Configure*
8. You may find some useful informations in the [Python documentation](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
9. When creating a release on GitHub, do not forget to create a tag corresponding to that release

#### Pull request
10. Once the workflow is setup and tested (you have published your package using it) you can open a pull request to the [original repository](https://github.com/rgt-yncrea/M1-2022-git-workflow)