{ "info": { "author": "Rafael G. Winter, T\u00falio Cesar Martins", "author_email": "totvs-erp-rm-python@googlegroups.com", "bugtrack_url": null, "classifiers": [], "description": "# totverprm\nAPI para acesso aos Webservices do TOTVS ERP RM.\n\n## Instala\u00e7\u00e3o\n\npip install totvserprmgam\n\n### Exemplo para retornar dados de um cliente:\n```python\nfrom totvserprmgam.financial import Client\n\nserver = '192.168.1.100:8051'\nusername = 'admin'\npassword = 'admin'\n\nclient = Client(server, username, password)\n\nclient_1 = client.get(codcoligada=0, id='0000496')\n\n```\n\n### Exemplo para retornar dados de todos clientes:\n```python\nfrom totvserprmgam.financial import Client\n\nserver = '192.168.1.100:8051'\nusername = 'admin'\npassword = 'admin'\n\nclient = Client(server, username, password)\n\nclients = client.all(codcoligada=0)\n\n```\n\n### Exemplo para cria\u00e7\u00e3o de um aluno:\n```python\nfrom datetime import datetime\nfrom totvserprmgam.educational import Student\n\nserver = '192.168.1.100:8051'\nusername = 'admin'\npassword = 'admin'\n\nstundet = Student(server, username, password)\nstundet.create(\n codcoligada=1,\n codtipocurso=1,\n data_nascimento=datetime(1992, 2, 3, 4, 5),\n estado_natal='MG',\n naturalidade='Belo Horizonte',\n cpf='11781328110',\n nome='Fulano de tal',\n sexo='Masculino',\n tipo_rua=1, # RUA = 1 / AVENIDA = 6\n tipo_bairro=1, # BAIRRO = 1\n bairro='Belvedere',\n rua='Rua Professor Pedro Aleixo',\n numero=695,\n estado='MG', # EX = Exterior\n cidade='Belo Horizonte',\n codigo_municipio=06200, # Ultimos 5 digitos do codigo do ibge do munic\u00edpio\n pais='Brasil',\n cep='30320-300',\n codcurso='00001',\n codcliente='0000001',\n codcoligada_cliente=0,\n email='teste@vetrol.com.br',\n telefone1='(32) 99999-9999',\n telefone2='(31) 99999-9998',\n telefone3='(31) 99999-9997'\n)\n```\n\n### Exemplo para cria\u00e7\u00e3o de um cliente:\n```python\nfrom datetime import datetime\nfrom totvserprmgam.financial import Client\n\nserver = '192.168.1.100:8051'\nusername = 'admin'\npassword = 'admin'\n\nclient = Client(server, username, password)\nclient.create(\n ativo=True,\n codexterno=1,\n codcoligada=0,\n codcoligada_contexto=1,\n tipo_cliente='000', # 000 para Aluno\n cpf_cnpj='11781328110', # Sem formata\u00e7\u00e3o\n tipo_rua=1, # RUA = 1 / AVENIDA = 6\n tipo_bairro=1, # BAIRRO = 1\n bairro='Belvedere',\n rua='Rua Professor Pedro Aleixo',\n numero=695,\n estado='MG', # EX = Exterior\n cidade='Belo Horizonte',\n codigo_municipio=06200, # Ultimos 5 digitos do codigo do ibge do munic\u00edpio\n pais=1, # 1 = Brasil, 2 = Portugal, 11 = Angola\n data_nascimento=datetime(1990,5,14),\n nome='Fulano de tal',\n classificacao=1, # 1 = Cliente, 2 = Fornecedor, 3 = Ambos\n categoria='F', # F = Pessoa F\u00edsica, J = Pessoa Jur\u00eddica\n cep='30320-300',\n email='teste@vetrol.com.br',\n)\n\n```\n\n### Exemplo para cria\u00e7\u00e3o de um boleto:\n```python\nfrom datetime import datetime\nfrom totvserprmgam.financial import Billet\n\nserver = '192.168.1.100:8051'\nusername = 'admin'\npassword = 'admin'\n\nboleto = Billet(server, username, password)\nboleto.create(\n codcoligada=1,\n codcoligada_contexto=1,\n codcoligada_cfo=0,\n codcoligada_fin=0,\n data_vencimento=datetime(2017,10,30),\n valor='100,55', # Enviar string com separa\u00e7\u00e3o por v\u00edrgula\n codcliente='0000470',\n codfilial=1,\n classificacao=1, # 1 = Receber, 2 = Pagar\n tipo_documento='999', # 999 = Taxa de ades\u00e3o\n historico='Teste', # Descri\u00e7\u00e3o\n centro_custo='01.019',\n codnatfinanceira='01.001.0001',\n id_vendedor=1400\n)\n```\n\n\n### Exemplo de consulta SQL:\n```python\nfrom totvserprmgam.retrieve import ConsultSQL\n\nserver = '192.168.1.100:8051'\nusername = 'admin'\npassword = 'admin'\n\nconsultsql = ConsultSQL(server, username, password)\nconsultsql.get(\n codcoligada=0,\n codsistema='F',\n codsentenca='CODIGO_CONSULTA',\n parameters={'PARAMETRO_1': 'VALOR_1', 'PARAMETRO_2': 'VALOR_1'}\n)\n```", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/grupoandrademartins/totvserprm", "keywords": "totvs webservice erp rm soap api", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "totvserprmgam", "package_url": "https://pypi.org/project/totvserprmgam/", "platform": "", "project_url": "https://pypi.org/project/totvserprmgam/", "project_urls": { "Homepage": "https://github.com/grupoandrademartins/totvserprm" }, "release_url": "https://pypi.org/project/totvserprmgam/1.0.22/", "requires_dist": null, "requires_python": "", "summary": "API para webservices do TOTVS ERP RM", "version": "1.0.22" }, "last_serial": 3813920, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "eff7bad7fa70f3b8c0bb488be9d778d6", "sha256": "92a96c3819e17bcc2d3ee83e43d855d719fcdfb42da0a002ed0eea0721ef53cb" }, "downloads": -1, "filename": "totvserprmgam-1.0.0.tar.gz", "has_sig": false, "md5_digest": "eff7bad7fa70f3b8c0bb488be9d778d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5537, "upload_time": "2017-12-28T16:51:38", "url": "https://files.pythonhosted.org/packages/63/68/7a01bcd09d63e3a1cdc3f9e21cb3e3fa6afb3d186a7c1cebc92688c3e482/totvserprmgam-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "c684babb115c0bae853d35ae3ea93d25", "sha256": "3220c6741e925fe067c66accc8087336a305e4e32d39df1c16d804f67137d69d" }, "downloads": -1, "filename": "totvserprmgam-1.0.1.tar.gz", "has_sig": false, "md5_digest": "c684babb115c0bae853d35ae3ea93d25", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5575, "upload_time": "2017-12-28T18:18:22", "url": "https://files.pythonhosted.org/packages/af/50/632edec59ab2312da88b2c4370978b8a5823e67621fa998b2818b2886348/totvserprmgam-1.0.1.tar.gz" } ], "1.0.10": [ { "comment_text": "", "digests": { "md5": "e49d961dd8d63dfbbb85076bee464eb6", "sha256": "b0526fe848b0e07708e3d1533dada11a72c1909fc539b0c837e2e5c7cc625c14" }, "downloads": -1, "filename": "totvserprmgam-1.0.10.tar.gz", "has_sig": false, "md5_digest": "e49d961dd8d63dfbbb85076bee464eb6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5951, "upload_time": "2018-02-05T11:03:03", "url": "https://files.pythonhosted.org/packages/26/2c/5c406ec591755e3c88bee6855d4a11f1b4ed36c88c2b888fe91a5603c5ca/totvserprmgam-1.0.10.tar.gz" } ], "1.0.12": [ { "comment_text": "", "digests": { "md5": "a0be3cc2acdb9aeaf175bf3744c67d89", "sha256": "e08d6429fd0226ef5c3d3db2b0678975a39f4001d00b007817f9bb9a14232490" }, "downloads": -1, "filename": "totvserprmgam-1.0.12.tar.gz", "has_sig": false, "md5_digest": "a0be3cc2acdb9aeaf175bf3744c67d89", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5951, "upload_time": "2018-02-05T13:44:37", "url": "https://files.pythonhosted.org/packages/68/ce/599fe0412ee2fbb3c13b0aedf6203b484ff0f3da023fd83ca05d643bd8e5/totvserprmgam-1.0.12.tar.gz" } ], "1.0.13": [ { "comment_text": "", "digests": { "md5": "6f44325e49bfed4b0542dca4da11299e", "sha256": "ca30d4cca8d09fe8cfb4abc069082d45e255c3878c24b64a936b0046204bd875" }, "downloads": -1, "filename": "totvserprmgam-1.0.13.tar.gz", "has_sig": false, "md5_digest": "6f44325e49bfed4b0542dca4da11299e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5931, "upload_time": "2018-02-05T13:46:09", "url": "https://files.pythonhosted.org/packages/e2/7f/295e3ee5cc4fbcbadcca13bc0c4b8129385e52983c15eff2bf684351b6f4/totvserprmgam-1.0.13.tar.gz" } ], "1.0.14": [ { "comment_text": "", "digests": { "md5": "3d6a4ec977c2556330659aa3458f51f2", "sha256": "a3567787b91915a6ad080e7e047c80ae5f5c967b45d735bf3689b33dc7661ddd" }, "downloads": -1, "filename": "totvserprmgam-1.0.14.tar.gz", "has_sig": false, "md5_digest": "3d6a4ec977c2556330659aa3458f51f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5949, "upload_time": "2018-02-07T16:41:37", "url": "https://files.pythonhosted.org/packages/31/82/763deae220997ae56f882ddfd3a9c70b6011ce61e223a5296757df12395d/totvserprmgam-1.0.14.tar.gz" } ], "1.0.15": [ { "comment_text": "", "digests": { "md5": "37777960b0b967880815dfc01bfdf3d0", "sha256": "aad1cd795ec687227566483072af3e5be67fe73e4c17b3d19086dfe78356cc88" }, "downloads": -1, "filename": "totvserprmgam-1.0.15.tar.gz", "has_sig": false, "md5_digest": "37777960b0b967880815dfc01bfdf3d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5955, "upload_time": "2018-02-09T11:22:01", "url": "https://files.pythonhosted.org/packages/e6/9a/83438d6573418bae4871f3e033752613468cede70da0c1ccb285df44086e/totvserprmgam-1.0.15.tar.gz" } ], "1.0.16": [ { "comment_text": "", "digests": { "md5": "03c884cd5c63f99bcb7102bd0ba4e496", "sha256": "cad051fc2c0de018d8890f2682fc86cc84e274c7f674367f88cac85f12968ce8" }, "downloads": -1, "filename": "totvserprmgam-1.0.16.tar.gz", "has_sig": false, "md5_digest": "03c884cd5c63f99bcb7102bd0ba4e496", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5934, "upload_time": "2018-02-09T13:39:42", "url": "https://files.pythonhosted.org/packages/f4/29/c5707b71a33395fe5018e024b59af518b1d4cec7e0384773bd16bed8890d/totvserprmgam-1.0.16.tar.gz" } ], "1.0.17": [ { "comment_text": "", "digests": { "md5": "89b67bc2a753e04c5e2e61217aeb0bd9", "sha256": "32c653c96a6f5ea5ebf5c92c29edb075ecee10f187e0339d0e6c7df811739308" }, "downloads": -1, "filename": "totvserprmgam-1.0.17.tar.gz", "has_sig": false, "md5_digest": "89b67bc2a753e04c5e2e61217aeb0bd9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5956, "upload_time": "2018-02-20T18:55:05", "url": "https://files.pythonhosted.org/packages/fa/5b/c5133543207f7e80d2c4db558b5b33f762f4514e63069840ed81ec46301b/totvserprmgam-1.0.17.tar.gz" } ], "1.0.18": [ { "comment_text": "", "digests": { "md5": "4e9701e60f6b5780a63faf9e9a5ad01a", "sha256": "3c5a770a31ed495344e5fc0d215c4c411975ce4f4e72e57bf17df3af29bb1e44" }, "downloads": -1, "filename": "totvserprmgam-1.0.18.tar.gz", "has_sig": false, "md5_digest": "4e9701e60f6b5780a63faf9e9a5ad01a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6031, "upload_time": "2018-02-22T16:30:34", "url": "https://files.pythonhosted.org/packages/77/08/86fbac225f261f04b8b95ec6e45a7b7fee79d2f717ba897556449d275c43/totvserprmgam-1.0.18.tar.gz" } ], "1.0.19": [ { "comment_text": "", "digests": { "md5": "6606841cd5e8380a82c5206132346faf", "sha256": "7517459a7ed02e44e7efe1f1b4d5eaaf0b6df70a9f17031ecf671287c268015b" }, "downloads": -1, "filename": "totvserprmgam-1.0.19.tar.gz", "has_sig": false, "md5_digest": "6606841cd5e8380a82c5206132346faf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6048, "upload_time": "2018-03-13T14:34:42", "url": "https://files.pythonhosted.org/packages/9e/59/3f5673f052d8898dc2f2803d9a670cd6ab0f62df4562609e71ed5aa647d5/totvserprmgam-1.0.19.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "8340a5ff8a473f263afb0cedd3af46d0", "sha256": "2573b1bf5f911dcd269ea20ba903f2cf79d2ef94c286070569e4c17fbeea4800" }, "downloads": -1, "filename": "totvserprmgam-1.0.2.tar.gz", "has_sig": false, "md5_digest": "8340a5ff8a473f263afb0cedd3af46d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5592, "upload_time": "2018-01-12T13:27:10", "url": "https://files.pythonhosted.org/packages/0a/df/0a5f7f71b441006dbbd7c0dffea9248522564dab6b6fa6ad1bafe38bd0db/totvserprmgam-1.0.2.tar.gz" } ], "1.0.20": [ { "comment_text": "", "digests": { "md5": "8a99a2a556a0cb9c6914f25283552ec3", "sha256": "33ebed0dbe60bd79d542298fd43ddc45b716c50a4f7e0ca890082e41045937ae" }, "downloads": -1, "filename": "totvserprmgam-1.0.20.tar.gz", "has_sig": false, "md5_digest": "8a99a2a556a0cb9c6914f25283552ec3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6058, "upload_time": "2018-03-14T18:44:57", "url": "https://files.pythonhosted.org/packages/45/7a/2d918752f8d5751fecd3ca9a08b4c91be82647a4542b52424097d21570b7/totvserprmgam-1.0.20.tar.gz" } ], "1.0.21": [ { "comment_text": "", "digests": { "md5": "9858a23d205f4b37ec5c9e36d0d5a61c", "sha256": "9d0b74ebffb39608a6f3c8a6dba81c153c384dcb4641d4fbc1934d20a9b6d3d7" }, "downloads": -1, "filename": "totvserprmgam-1.0.21.tar.gz", "has_sig": false, "md5_digest": "9858a23d205f4b37ec5c9e36d0d5a61c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6028, "upload_time": "2018-03-15T12:37:57", "url": "https://files.pythonhosted.org/packages/4c/6f/a5f7a4da99d4714730b82a0c5e10abb1bc152dac7c448e4f1f1f6cdce08e/totvserprmgam-1.0.21.tar.gz" } ], "1.0.22": [ { "comment_text": "", "digests": { "md5": "e13c9ad5a50cd9d06d32d8cdcb6308bd", "sha256": "14e65a881a611473ab949586b83ffc4cf14e62e65f600c8811db06c440879e16" }, "downloads": -1, "filename": "totvserprmgam-1.0.22.tar.gz", "has_sig": false, "md5_digest": "e13c9ad5a50cd9d06d32d8cdcb6308bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5913, "upload_time": "2018-04-27T12:03:34", "url": "https://files.pythonhosted.org/packages/40/7d/c077fbd533df8f6cdc595a08242719be7a88b7ac3ecc3a070db429b01861/totvserprmgam-1.0.22.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "1f055074e83d6feb294bca98fd72dcba", "sha256": "965c93e59b1dc8e926c5569e5d6795d5eeec27d73851b627df8eddd0a456aea2" }, "downloads": -1, "filename": "totvserprmgam-1.0.3.tar.gz", "has_sig": false, "md5_digest": "1f055074e83d6feb294bca98fd72dcba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5681, "upload_time": "2018-01-13T20:09:39", "url": "https://files.pythonhosted.org/packages/e3/0b/4ce1c6bc844b3f375b08c3dd48c0c8e1fac63f637e80e1163654fefd2a9b/totvserprmgam-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "a597564538f75fcb5aa5113bc72acebf", "sha256": "706aa358d605a622d1b64db5f8d8dea2f0f8dab00207f687862ec524e81b20ea" }, "downloads": -1, "filename": "totvserprmgam-1.0.4.tar.gz", "has_sig": false, "md5_digest": "a597564538f75fcb5aa5113bc72acebf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5703, "upload_time": "2018-02-01T18:07:55", "url": "https://files.pythonhosted.org/packages/b2/42/a009ee5d5fa8e1139ccda72ba41f22655028fba1b9786cb00f80bb43ade5/totvserprmgam-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "f9d4ac6fcd96e3e980bccca90afa1210", "sha256": "fd040e9a082f192d94327c85f6924e5ea51e10727b3d96d65ea1d2f90f0479a8" }, "downloads": -1, "filename": "totvserprmgam-1.0.5.tar.gz", "has_sig": false, "md5_digest": "f9d4ac6fcd96e3e980bccca90afa1210", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5723, "upload_time": "2018-02-03T13:23:02", "url": "https://files.pythonhosted.org/packages/ab/68/d8b7f505168faff948c3a1ecd9fe054b220943324d6e54399bb144f887e3/totvserprmgam-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "c72af0cb06f93e86d5886c1d392fcfab", "sha256": "1ef4d5cbcf600d52f810985e67a235c02eefd0da5171a78b7fff5f1aba1610ee" }, "downloads": -1, "filename": "totvserprmgam-1.0.6.tar.gz", "has_sig": false, "md5_digest": "c72af0cb06f93e86d5886c1d392fcfab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5717, "upload_time": "2018-02-03T13:25:37", "url": "https://files.pythonhosted.org/packages/5e/7e/1917f7c771712c17780853b4fcd1c3b854360fd491a7fb1b12c4d87c00a8/totvserprmgam-1.0.6.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "5d8237b6cd09b0a315fb11bd7517c897", "sha256": "568ab607c298112dd87bc3f597aebed2274dd520f8e4f13770cc0b9c0eab059d" }, "downloads": -1, "filename": "totvserprmgam-1.0.7.tar.gz", "has_sig": false, "md5_digest": "5d8237b6cd09b0a315fb11bd7517c897", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5712, "upload_time": "2018-02-03T13:28:25", "url": "https://files.pythonhosted.org/packages/fa/ee/16bf18a929eda6c8cae79ed364ab8f523ffebead7c0854c7a239c52ac0c3/totvserprmgam-1.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e13c9ad5a50cd9d06d32d8cdcb6308bd", "sha256": "14e65a881a611473ab949586b83ffc4cf14e62e65f600c8811db06c440879e16" }, "downloads": -1, "filename": "totvserprmgam-1.0.22.tar.gz", "has_sig": false, "md5_digest": "e13c9ad5a50cd9d06d32d8cdcb6308bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5913, "upload_time": "2018-04-27T12:03:34", "url": "https://files.pythonhosted.org/packages/40/7d/c077fbd533df8f6cdc595a08242719be7a88b7ac3ecc3a070db429b01861/totvserprmgam-1.0.22.tar.gz" } ] }