semvec/pypi-packages huggingface dataset:
rm-sdk-python 1.0.4
The Official Resellme Python SDK .
License: MIT
Requires Python: >=3.6

# Official Resellme Python SDK

## Usage
- Make sure you already got you developer token. If you dont have the token refer to this guide: - and that its set properly using this guide: -


## Installation Guide
- Use the pyhton package manager `pip` to install the official Python SDK

```python

pip3 install rm_sdk_python

```

## Import the Resellme module to your project

- Import the resellme package and initiate with the `API_KEY` from Resellme

```python

from rm_sdk_python import Resellme


resellme = Resellme(api_key='YOUR_RESELLME_API_KEY_TOKEN')
```


## Checking / Searching for Domain Availability

- The `resellme.search_domain` method can return a json object with the values such as `available` or `not_available`

```python
search_response = resellme.search_domain('xyz.co.zw')

# search_response is a json object
if search_response['status'] == 'available':
    # do registration etc
```

## Registering a New Domain

- The client's contact details are entered upon registering the domain
- The SDK uses default nameservers upon creation and registration of the domain, however there is room to update to your preferred nameservers, check the `Updating Nameserver section`

```python
# A contact is created with the details provided upon registering a domain
response = resellme.register_domain(
    domain_name='xbc.co.zw',
    first_name='Beven',
    last_name='Nyamande',
    email='beven@crontab.co.zw',
    company='test1',
    mobile='123123123',
    street_address='123 Xyz Street',
    core_business='Area of business undertaken by the company',
    city='Harare',
    country='Zimbabwe',
)
```

## Updating nameservers
- To update nameservers to custom nameservers, firstly provide the domain name of the site you want to update as shown below
- NB: The method returns a json object

```python
response = resellme.update_nameserver('test8.co.zw',ns1='ns1.xyz.com', ns2='ns2.xyz.com')

```

## Updating Contact details
- To update the `email, mobile, city` details for a specified domain use the following method
- The following method illustrates a case were you want to update all the fields, however you can choose any specific field
- NB: the method requires the domain and email as positional arguments

```python
updated_contact_details = resellme.update_contact('test.co.zw', email='beven@crontab.co.zw',
                                           first_name='your name',
                                           last_name='your surname',
                                           company='Xyz Inc',
                                           mobile='0777123123',
                                           street_address='Xyz Street',
                                           core_business='Vending',
                                           city='Harare',
                                           country='Zimbabwe')

```

## Get Domains
- You can use this method to fetch all your domains

```python
domains = resellme.get_all_domains()

```
nufeb-tools 0.1.26
Python-based tools and utilities for NUFEB simulations
License: MIT

===========
nufeb_tools
===========

|docs|  |pypi|  |tests|  |DOI|




Description
===========

Python-based tools and utilities for NUFEB simulations 

Getting Started
===============

Install via pip::

        pip install nufeb-tools

Generate NUFEB simulations from the CLI::

        nufeb-seed

Remove old runs::

        nufeb-clean

Get data from a simulation for analysis

.. code-block:: python

    from nufeb_tools import utils
    x = utils.get_data(test=True)

Plot the overall growth

.. code-block:: python

    from nufeb_tools import plot
    import matplotlib.pyplot as plt
    f, ax = plt.subplots()
    plot.overall_growth(x.biomass,ax=ax)

.. image:: /docs/_static/images/total_biomass_vs_time.png
   :align: center

Plot colonies based on initial seed cells

.. code-block:: python

    from nufeb_tools import utils, plot
    import matplotlib.pyplot as plt
    x = utils.get_data(directory=r'E:\sucrose\runs\Run_50_50_1.00e+00_1_2022-01-11_48525')
    f,ax = plt.subplots()
    plot.colony(x,25900,colors,ax=ax)
    plt.show()

.. image:: /docs/_static/images/colonies.png
   :align: center



.. |docs| image:: https://readthedocs.org/projects/nufeb-tools/badge/?version=latest
        :target: https://nufeb-tools.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status

.. |pypi| image:: https://badge.fury.io/py/nufeb-tools.svg
        :target: https://badge.fury.io/py/nufeb-tools

.. |tests| image:: https://github.com/Jsakkos/nufeb-tools/actions/workflows/Test.yml/badge.svg
        :alt: Tox testing status


.. |DOI| image:: https://zenodo.org/badge/372038007.svg
        :target: https://zenodo.org/badge/latestdoi/372038007