https://github.com/hiqdev/heppy
Python EPP client and library
https://github.com/hiqdev/heppy
hacktoberfest
Last synced: 12 months ago
JSON representation
Python EPP client and library
- Host: GitHub
- URL: https://github.com/hiqdev/heppy
- Owner: hiqdev
- License: bsd-3-clause
- Created: 2015-10-12T15:53:41.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-01-11T12:31:40.000Z (over 2 years ago)
- Last Synced: 2024-03-11T22:44:23.087Z (over 2 years ago)
- Topics: hacktoberfest
- Language: Python
- Homepage:
- Size: 289 KB
- Stars: 20
- Watchers: 5
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Roadmap: ROADMAP.md
Awesome Lists containing this project
README
# hEPPy
**EPP client and library in Python**
[](https://badge.fury.io/gh/hiqdev%2Fheppy)
[](https://scrutinizer-ci.com/g/hiqdev/heppy/)
[](https://scrutinizer-ci.com/g/hiqdev/heppy/)
[EPP](https://en.wikipedia.org/wiki/Extensible_Provisioning_Protocol) is Extensible Provisioning Protocol used for registrar-registry communication to register and manage domains.
This package provides:
- library for building and parsing EPP requests and responses
- EPP client implemented as a UNIX daemon
- whole infrastructure for implementing domain name registrar
For the moment it is in early stage of development.
## Configuration
### etc/epp.verisign-grs.com.json
```json
{
"epp": {
"host": "epp.verisign-grs.com",
"port": 700,
"login": "LOGIN",
"password": "PASSWORD",
"certfile": "ssl/my.cert",
"keyfile": "ssl/my.key",
"ca_certs": "ssl/my.intermediate"
},
"RabbitMQ": {
"queue": "epp.verisign-grs.com",
"host": "localhost"
},
"local": {
"address": "/tmp/epp/epp.verisign-grs.com:NN"
},
"zones" : [
".com",
".net"
]
}
```
## Usage
Start EPP client daemon:
```sh
./bin/heppyd etc/verisign/epp.json start
```
Configure and start EPP client daemon with systemd:
```sh
./bin/heppyd etc/verisign/epp.json systemd up
```
Register domain:
```sh
./bin/heppyc etc/verisign/epp.json domain:create '-name=xn----0tbbnc0a.com' -pw=23_sA:d34 -period=1 -extensions.1=idnLang:tag -idnLang.tag=RUS -extensions.0=namestoreExt:subProduct -namestoreExt.subProduct=COM
```
## TODO
- Send hello command every X minutes.
- Kill client every X hours.
## License
This project is released under the terms of the BSD-3-Clause [license](LICENSE).
Read more [here](http://choosealicense.com/licenses/bsd-3-clause).
Copyright © 2015-2017, HiQDev (http://hiqdev.com/)