Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ concurrency = multiprocessing
parallel = true
sigterm = true
omit =
hexonet/__init__.py
hexonet/apiconnector/__init__.py
centralnicreseller/__init__.py
centralnicreseller/apiconnector/__init__.py
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"ms-vscode-remote.remote-containers",
"mrmlnc.vscode-apache",
"ms-azuretools.vscode-docker",
"eamodio.gitlens"
"eamodio.gitlens",
"GitHub.copilot"
],
"settings": {
"terminal.integrated.defaultProfile.linux": "zsh",
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/supporting_files/scripts/post-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source ~/.zshrc
pip install --upgrade pip
pip install --upgrade setuptools
pip -V
pip install -r requirements.txt
#pip install -r requirements.txt

echo "=> Generating Symlinks for Zsh History and Git config"
# Create symlink for gitconfig and zsh history file
Expand Down
14 changes: 7 additions & 7 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
[
"@semantic-release/exec",
{
"prepareCmd": "./scripts/generatedocs.sh && ./scripts/createdistribution.sh",
"prepareCmd": "./scripts/createdistribution.sh",
"publishCmd": "./scripts/uploaddistribution_test.sh && ./scripts/uploaddistribution_live.sh"
}
],
Expand All @@ -21,8 +21,8 @@
"replacements": [
{
"files": [
"hexonet/apiconnector/apiclient.py",
"hexonet/apiconnector/__init__.py",
"centralnicreseller/apiconnector/apiclient.py",
"centralnicreseller/apiconnector/__init__.py",
"pyproject.toml"
],
"from": "\"\\d+\\.\\d+\\.\\d+\"",
Expand All @@ -40,8 +40,8 @@
"HISTORY.md",
"package?(-lock).json",
"docs",
"hexonet/apiconnector/__init__.py",
"hexonet/apiconnector/apiclient.py",
"centralnicreseller/apiconnector/__init__.py",
"centralnicreseller/apiconnector/apiclient.py",
"htmlcov"
]
}
Expand All @@ -52,8 +52,8 @@
{
"assets": [
{
"label": "hexonet.apiconnector (tar.gz)",
"path": "dist/hexonet.apiconnector-${nextRelease.version}.tar.gz"
"label": "centralnicreseller.apiconnector (tar.gz)",
"path": "dist/centralnicreseller.apiconnector-${nextRelease.version}.tar.gz"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion AUTHORS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
> ⚠ This document _only_ reflects the responsible developers at HEXONET GmbH. For a list of MUCH-APPRECIATED CONTRIBUTORS -- people who helped developing and extending this library, applying patches, adding helpful comments
> ⚠ This document _only_ reflects the responsible developers at Team Internet Group PLC. For a list of MUCH-APPRECIATED CONTRIBUTORS -- people who helped developing and extending this library, applying patches, adding helpful comments
> and thus generally made it that much better, see [GitHub's list of contributors](https://github.com/centralnicgroup-opensource/rtldev-middleware-python-sdk/contributors).

- [Kai Schwarz](//github.com/KaiSchwarz-cnic) - Development Lead
4 changes: 0 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ email, or any other method with the owners of this repository before making a ch

Please note we have a code of conduct, please follow it in all your interactions with the project.

## Pull Request Process

Read [here](https://hexonet-python-sdk.readthedocs.io/en/latest/developmentguide.html#pull-request-pr-procedure).

## Code of Conduct

### Our Pledge
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 HEXONET
Copyright (c) 2024 CentralNic Reseller, Team Internet Group PLC.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
37 changes: 31 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,45 @@

[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![Build Status](https://github.com/centralnicgroup-opensource/rtldev-middleware-python-sdk/workflows/Release/badge.svg?branch=master)](https://github.com/centralnicgroup-opensource/rtldev-middleware-python-sdk/workflows/Release/badge.svg?branch=master)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/hexonet.apiconnector.svg)](https://www.python.org/)
[![PyPI](https://img.shields.io/pypi/v/hexonet.apiconnector.svg)](https://pypi.org/project/hexonet.apiconnector/)
[![Documentation Status](https://readthedocs.org/projects/hexonet-python-sdk/badge/?version=latest)](https://hexonet-python-sdk.readthedocs.io/en/latest/?badge=latest)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/centralnicreseller.apiconnector.svg)](https://www.python.org/)
[![PyPI](https://img.shields.io/pypi/v/centralnicreseller.apiconnector.svg)](https://pypi.org/project/centralnicreseller.apiconnector/)
[![Documentation Status](https://readthedocs.org/projects/centralnicreseller-python-sdk/badge/?version=latest)](https://centralnicreseller-python-sdk.readthedocs.io/en/latest/?badge=latest)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/centralnicgroup-opensource/rtldev-middleware-python-sdk/blob/master/CONTRIBUTING.md)

This module is a connector library for the insanely fast HEXONET Backend API. For further informations visit our [homepage](http://hexonet.net) and do not hesitate to [contact us](https://www.hexonet.net/contact).
This module is a connector library for the insanely fast CentralNic Reseller Backend API. For further informations visit our [homepage](https://www.centralnicreseller.com) and do not hesitate to [contact us](https://www.centralnicreseller.com/contact).

## Deprecation Notice: Hexonet Python SDK

This SDK succeeds the deprecated Hexonet Python SDK. It is an enhanced version that builds upon the foundation laid by the Hexonet SDK, offering improved features and performance. Hexonet is migrating to CentralNic Reseller, ensuring continued support and development under the new branding.

## Resources

- Documentation:
- [HEXONET](https://www.hexonet.support/hc/en-gb/articles/13648020541981-Self-Development-Kit-for-Python)
- [Documentation](https://support.centralnicreseller.com/hc/en-gb/articles/5714403954333-Self-Development-Kit-for-Python)
- [Release Notes](https://github.com/centralnicgroup-opensource/rtldev-middleware-python-sdk/releases)

## Running the Demo Application

To run the demo application, follow these steps:

1. **Set Your Credentials**: Ensure your credentials are available. You can either:
- Replace them directly in the application file.
- Set the environment variables `CNR_TEST_USER` and `CNR_TEST_PASSWORD` in your terminal.

2. **Execute the Demo**: Once your credentials are set, run the following command in the terminal:

```sh
npm run test-demo
```

3. **Update Demo Contents**: If you need to update the contents of the demo file, you can find it at:

```plaintext
tests/app.py
```

By following these steps, you can successfully run and update the demo application.

## Authors

List of responsible developers can be found [here](https://github.com/centralnicgroup-opensource/rtldev-middleware-python-sdk/blob/master/AUTHORS.md)
Expand Down
File renamed without changes.
11 changes: 11 additions & 0 deletions centralnicreseller/apiconnector/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# -*- coding: utf-8 -*-
"""
centralnicreseller.apiconnector
~~~~~~~~~~~~~~~~~~~~
A connector library for the insanely fast CentralNicReseller (fka. RRPProxy) Backend API.
:copyright: © 2024 Team Internet Group PLC.
:license: MIT, see LICENSE for more details.
"""

__version__ = "4.0.3"
name = "centralnicreseller.apiconnector"
Loading