Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A simple Catmat (SIASG) XML Parser
Branch: master

This branch is even with oswaldoferreira:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
catmat
tests
.gitignore
LICENSE
README.md
setup.py

README.md

CatmatParser

A simple Catmat (SIASG) XML Parser

Installation:

git clone https://github.com/oswluiz/CatmatParser
cd CatmatParser
sudo python setup.py install

Usage:

"Treinamento":

from catmat.submitter import Submitter
s = Submitter()

# Getting by item code:
s.get_by_cod('000396636')

# Getting by item "radicals":
s.get_by_radical('lapis', 'preto')

"Produção":

from catmat.submitter import Submitter
s = Submitter(ambiente='produção', cpf='1231231231', password='123')

# Getting by item code:
s.get_by_cod('000396636')

# Getting by item "radicals":
s.get_by_radical('lapis', 'preto')
Something went wrong with that request. Please try again.