Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/o/p/OpenRelay-HEAD/apps/server_talk/views.py   OpenRelay(Download)
from server_talk.forms import JoinForm
from server_talk.api import RemoteCall
from server_talk.conf.settings import PORT, IPADDRESS
from server_talk.exceptions import AnnounceClientError
from server_talk.utils import CPUsage
            local_node = LocalNode.get()
            local_node_info = {
                'ip_address': IPADDRESS,
                'port': PORT,
                'uuid': local_node.uuid,

src/o/p/OpenRelay-HEAD/apps/server_talk/api.py   OpenRelay(Download)
 
from server_talk.models import LocalNode, Sibling, NetworkResourceVersion
from server_talk.conf.settings import PORT, IPADDRESS
from server_talk.exceptions import (AnnounceClientError, NoSuchNode,
    HeartbeatError, InventoryHashError, ResourceListError,
    def get_id_package(self):
        local_node = LocalNode.get()
        return {
            'ip_address': IPADDRESS,
            'port': PORT,