{"id":43983687,"url":"https://github.com/gerencianet/gn-api-sdk-python","last_synced_at":"2026-02-07T09:30:53.063Z","repository":{"id":52947573,"uuid":"49427038","full_name":"gerencianet/gn-api-sdk-python","owner":"gerencianet","description":"SDK em Python integrada a API Gerencianet. Esta SDK está preparada para integração à API Pix e API Boletos da Gerencianet, que lhe permite realizar o gerenciamento de cobranças Pix com QR Code e Pix Copia e Cola, boleto/Bolix, carnê, cartão de crédito e muito mais.","archived":false,"fork":false,"pushed_at":"2022-07-13T15:05:26.000Z","size":96,"stargazers_count":40,"open_issues_count":2,"forks_count":17,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-09-17T18:07:49.508Z","etag":null,"topics":["assinatura","billet","boleto","bolix","card","carne","carnet","cartao-de-credito","link-de-pagamento","marketplace","pix","pix-copia-e-cola","python","qrcode","sdk","sdk-python","split","subscription"],"latest_commit_sha":null,"homepage":"https://dev.gerencianet.com.br/docs/instalacao-sdk-python","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gerencianet.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-11T13:07:20.000Z","updated_at":"2025-04-08T15:36:25.000Z","dependencies_parsed_at":"2022-08-27T22:30:57.295Z","dependency_job_id":null,"html_url":"https://github.com/gerencianet/gn-api-sdk-python","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/gerencianet/gn-api-sdk-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerencianet%2Fgn-api-sdk-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerencianet%2Fgn-api-sdk-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerencianet%2Fgn-api-sdk-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerencianet%2Fgn-api-sdk-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gerencianet","download_url":"https://codeload.github.com/gerencianet/gn-api-sdk-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerencianet%2Fgn-api-sdk-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29191384,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assinatura","billet","boleto","bolix","card","carne","carnet","cartao-de-credito","link-de-pagamento","marketplace","pix","pix-copia-e-cola","python","qrcode","sdk","sdk-python","split","subscription"],"created_at":"2026-02-07T09:30:50.826Z","updated_at":"2026-02-07T09:30:53.051Z","avatar_url":"https://github.com/gerencianet.png","language":"Python","readme":"# gn-api-sdk-python\n\n\u003e A python library for integration of your backend with the payment services\nprovided by [Gerencianet](http://gerencianet.com.br).\n\n[![Build Status](https://travis-ci.org/gerencianet/gn-api-sdk-python.svg)](https://travis-ci.org/gerencianet/gn-api-sdk-python)\n[![Coverage Status](https://coveralls.io/repos/gerencianet/gn-api-sdk-python/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/gerencianet/gn-api-sdk-python?branch=master)\n[![Code Climate](https://codeclimate.com/github/gerencianet/gn-api-sdk-python/badges/gpa.svg)](https://codeclimate.com/github/gerencianet/gn-api-sdk-python)\n\n## Installation\n\nInstall with Pip:\n\n```bash\n$ pip install gerencianet\n```\n## Tested with\n```\npython 2.7, 3.3, 3.4, 3.5 and 3.9\n```\n## Atenção\n```\nA Gerencianet está disponibilizando um novo endpoint para requisitar o envio de Pix, este endpoint passará a ter um idEnvio como parâmetro na requisição, além disso o método passa a ser o PUT ao invés do POST para fins de idempotência. \n```\n\n## Basic usage\n\n```python\n# encoding: utf-8\n\nfrom gerencianet import Gerencianet\n\ncredentials = {\n    'client_id': 'client_id',\n    'client_secret': 'client_secret',\n    'sandbox': True,\n    'certificate': 'insira-o-caminho-completo-do-certificado'\n}\n\ngn = Gerencianet(credentials)\n\nbody = {\n    'calendario': {\n        'expiracao': 3600\n    },\n    'devedor': {\n        'cpf': '12345678909',\n        'nome': 'Francisco da Silva'\n    },\n    'valor': {\n        'original': '123.45'\n    },\n    'chave': '71cdf9ba-c695-4e3c-b010-abb521a3f1be',\n    'solicitacaoPagador': 'Cobrança dos serviços prestados.'\n}\n\nresponse =  gn.pix_create_immediate_charge(body=body)\nprint(response)\n\n```\n\n## Examples\n\nYou can run the examples inside `examples` with\n`$ python examples/example.py`:\n\n```bash\n$ python examples/create_charge.py\n```\n\nJust remember to set the correct credentials inside `examples/credentials.py` before running.\n\n## Tests\n\nTo run the tests, just run *pytest*:\n\n```bash\n$ py.test\n```\n\n## Additional documentation\n\nThe full documentation with all available endpoints is in https://dev.gerencianet.com.br/.\n\n## Changelog\n\n[CHANGELOG](CHANGELOG.md)\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/gerencianet/gn-api-sdk-python. This project is intended to be a safe, welcoming space for collaboration.\n\n## License\n\nThe library is available as open source under the terms of the [MIT License](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgerencianet%2Fgn-api-sdk-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgerencianet%2Fgn-api-sdk-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgerencianet%2Fgn-api-sdk-python/lists"}