Metadata-Version: 2.1
Name: fred-epplib
Version: 1.0.0
Summary: Fred-epplib is FRED EPP library.
Home-page: UNKNOWN
Author: Ondřej Fikar
Author-email: ondrej.fikar@nic.cz
License: GPLv3+
Description: ===========
        Fred-epplib
        ===========
        
        Fred EPP library provides the means to communicate with an EPP server. It consists from four main modules: `client`,
        `commands`, `responses`, and `models`.
        
        The `Client` class in the `client` module is used to exchange the messages with the server. Module `commands` contains
        the dataclasses representing the commands which may be sent to the server. `responses` module contains the dataclasses
        representing the responses received from the server. `models` module contains dataclasses which are used to compose both
        requests and responses.
        
        For more details plese refer to the source code documentation. We suggest starting with the `Client` class in
        the `client` module.
        
        Usage
        =====
        
        In order to exchange messages with the server a `Transport` instance has to be created and passed to the init of
        the `Client`. Then the `Client` is connected to the server using context manager or manually by calling the `connect`
        method. The commands are created as the instances of the `Request` base class and send via the `send` method of
        the `Client` instance. The response from the server is returned by `send` as an instance of the `Response` class. After
        response is received its data may be examined.
        
        See the example below
        
        .. code-block:: python
        
            from epplib.client import Client
            from epplib.commands import InfoDomain, Login, Logout
            from epplib.transport import SocketTransport
        
            hostname = 'localhost'
            cert_file = 'path/to/cert.pem'
            key_file = 'path/to/key.pem'
        
            transport = SocketTransport(hostname, cert_file=cert_file, key_file=key_file)
        
            with Client(transport) as client:
                login = Login(cl_id='my_id', password='passwd', obj_uris=['http://www.nic.cz/xml/epp/contact-1.6'])
                response_login = client.send(login)
                print(response_login.code)
        
                info = InfoDomain(name='mydomain.cz')
                response_info = client.send(info)
                print(response_info.res_data[0].ex_date)
        
                client.send(Logout())
        
        ChangeLog
        =========
        
        .. contents:: Releases
           :backlinks: none
           :local:
        
        1.0.0 (2022-12-14)
        -------------------
        
        * Add support for Python 3.11.
        * Set default port (#108).
        * Fix annotations.
        
        0.2.0 (2022-09-27)
        -------------------
        
        * Add ``auth_info`` to info commands (#101).
        * Fix ``UpdateDomain`` command (#105).
        * Expose list commands (#104).
        * Better error handling of empty response (#106).
        * Update EPP testing schemas (#101).
        * Log raw XML and transport errors (#102).
        
        0.1.1 (2022-07-21)
        -------------------
        
        * Fix license.
        
        0.1.0 (2022-07-20)
        -------------------
        
        Initial version
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Requires-Python: ~=3.7
Provides-Extra: quality
Provides-Extra: test
Provides-Extra: types
