Contém esquema de dados e funções para os coletores do DadosjusBr
Project description
Proto
- Esquema de dados em Protobuf.
Gerar código go e python
Gerando novos protos
GO
$ go install google.golang.org/protobuf/cmd/protoc-gen-go
// Gerar stub na raiz.
$ cd coleta
$ protoc --go_out=./ --go_opt=paths=source_relative coleta.proto
$ cd ../csv
$ protoc --go_out=./ pacote.proto
$ cd ..
$ protoc --go_out=pipeline/ --go_opt=paths=source_relative --proto_path=coleta --proto_path=pipeline pipeline/pipeline.proto
Python
// Gerar stub na raiz.
$ cd coleta
$ protoc --python_out=./ coleta.proto
$ cd ../csv
$ protoc --python_out=./ pacote.proto
$ cd ..
$ protoc --python_out=pipeline/ --proto_path=coleta --proto_path=pipeline pipeline/pipeline.proto
Atulizando a lib no pipy
$ python setup.py sdist
$ python -m twine upload --skip-existing dist/*
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
protoDadosjusbr-0.6.tar.gz
(6.2 kB
view details)
File details
Details for the file protoDadosjusbr-0.6.tar.gz.
File metadata
- Download URL: protoDadosjusbr-0.6.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fa08e247f0e2d543feb7c610fbc762a54d605d2e4a511f28f15ccef7df3b0c7
|
|
| MD5 |
75b6409b32a685f24717a76a0ae2fb53
|
|
| BLAKE2b-256 |
f3337e581624bd8cb230f4833d603baba35da63d237482c6b2691652d4d3d1f0
|