semvec/pypi-packages huggingface dataset:
roc2.1.1 2.1.2
just a simple test of vipkid
License: MIT
Keywords: simple,test

####

ÔËÐÐ°ì·¨£º
   
    »·¾³£ºpython2    
    ÔËÐÐÇ°ÏÈ°²×°ROC,transformºÍconRoc,°²×°°ì·¨£º
    pip install roc2.1.2


    roc:
        ÊäÈë£ºÎÄ¼þ¼Ðtruth£¨±ê×¢½á¹ûÎÄ¼þ¼Ð£©,test£¨Ä£ÐÍÊä³öµÄ½á¹ûÎÄ¼þ¼Ð£©,result(Òª±£´æµÄtxtÎÄ±¾ÎÄµµÂ·¾¶£©£¬roc(Òª±£´æµÄÍ¼Æ¬Â·¾¶£©
        python 
                from ROC import roc
                roc.roc("truth","test","result","roc")
        Êä³ö£ºrocºÍ·ÖÊýÕÛÏßÍ¼,½á¹ûµÄÎÄ±¾ÎÄµµ
        PS:result ºÍroc²»´ø¸ñÊ½£¨Àý£º'D:\\python_work\\result')


    conRoc:
        ÊäÈë£ºÎÄ¼þ¼Ðpre_file(ÐèÒª»æÍ¼µÄtxtËùÔÚµÄÎÄ¼þ¼Ð£©,image(Òª±£´æµÄÍ¼Æ¬Â·¾¶£©,titlestr(Í¼Æ¬±êÌâ£©
        python 
                from ROC import conRoc
                conRoc.conRoc("pre_file","image")
        Êä³ö£ºrocÕÛÏßÍ¼
        PS:image²»´ø¸ñÊ½£¨Àý£º'D:\\python_work\\image') 
     
   
    txt2xml:
        ÊäÈë£ºtxt_file(txt¸ñÊ½±ê×¢ÐÅÏ¢Ëù´æ·ÅÎÄ¼þ¼Ð£©
        python
                from transform import txt2xml
                txt2xml.txt2xml("txt_file","xml_file")
        Êä³ö£ºxml_file(xml¸ñÊ½±ê×¢ÐÅÏ¢Ëù´æ·ÅÎÄ¼þ¼Ð£©  





ÎÄ¼þ¼ÐËµÃ÷£º

transformÎÄ¼þ¼Ð£º

txt2xml £º½«txt¸ñÊ½ÎÄ±¾×ª»»ÎªxmlÎÄ¼þ£¨Ã¿¸ötxtÎÄ¼þ×ª»»ÎªÒ»¸öxmlÎÄ¼þ£©
          ÐèÒª×ª»»µÄËùÓÐtxtÎÄ¼þ·ÅÔÚtxt_fileÖÐ£¬×ª»»ºóµÄxmlÎÄ¼þ´æ·ÅÔÚxml_fileÖÐ                    

  
ROCÎÄ¼þ¼Ð£º

roc: »æÖÆrocÇúÏßºÍ·ÖÊýÇúÏß²¢¼ÆËãacu¡£Êý¾ÝÀ´Ô´ÓÚdbÁÐ±í

IOU: ¼ÆËãÁ½¾ØÐÎIOU,´«ÈëÊý¾ÝÎªÃ¿¸ö¾ØÐÎÁ½Ìõ¶Ô½ÇÏßµÄºá×Ý×ø±êReframe=[X1,Y1,X2,Y2],GTframe=[X1,Y1,X2,Y2]¡£

read:¶ÁÈ¡xmlÎÄ¼þµÄËùÓÐ±ê×¢µÄ±êÇ©Êý¾Ý(xmin,ymin,xmax,ymax)¡£´«ÈëÊý¾ÝÎª´ý²âÊÔxmlÎÄµµµÄÔªËØ¶ÔÏó¡£

Analyze_xml£º½âÎöxmlÎÄ¼þ²¢µÃ³öIOU±È¶ÔÖÐ±È¶Ô´íÎó(ÖØµþ±ÈÂÊÐ¡ÓÚ0.5£©ºÍ±È¶ÔÕýÈ·µÄ¸öÊý¡£
             ÊäÈë£ºtruthÎª±ê×¼xmlÎÄ¼þËùÔÚµÄÎÄ¼þ¼Ð£¬testÎª´ý±È¶ÔµÄxmlÎÄ¼þËùÔÚµÄÎÄ¼þ¼Ð¡£


conROCÎÄ¼þ¼Ð:

conRoc:¸ù¾ÝÎÄ¼þ¼ÐÖÐµÄËùÓÐtxtÎÄ¼þÄÚÈÝ»æÖÆÇúÏßÍ¼£¨Ã¿¸öÎÄ¼þ¶ÔÓ¦Á½ÌõÍ¬É«µÄÕÛÏß£©

####
aaa2.1.1 2.1.1
just a simple test of vipkid
License: MIT
Keywords: simple,test

####

ÔËÐÐ°ì·¨£º
   
    »·¾³£ºpython2    
    ÔËÐÐÇ°ÏÈ°²×°ROC,transformºÍconRoc,°²×°°ì·¨£º
    pip install roc2.1.2


    roc:
        ÊäÈë£ºÎÄ¼þ¼Ðtruth£¨±ê×¢½á¹ûÎÄ¼þ¼Ð£©,test£¨Ä£ÐÍÊä³öµÄ½á¹ûÎÄ¼þ¼Ð£©,result(Òª±£´æµÄtxtÎÄ±¾ÎÄµµÂ·¾¶£©£¬roc(Òª±£´æµÄÍ¼Æ¬Â·¾¶£©
        python 
                from ROC import roc
                roc.roc("truth","test","result","roc")
        Êä³ö£ºrocºÍ·ÖÊýÕÛÏßÍ¼,½á¹ûµÄÎÄ±¾ÎÄµµ
        PS:result ºÍroc²»´ø¸ñÊ½£¨Àý£º'D:\\python_work\\result')


    conRoc:
        ÊäÈë£ºÎÄ¼þ¼Ðpre_file(ÐèÒª»æÍ¼µÄtxtËùÔÚµÄÎÄ¼þ¼Ð£©,image(Òª±£´æµÄÍ¼Æ¬Â·¾¶£©,titlestr(Í¼Æ¬±êÌâ£©
        python 
                from ROC import conRoc
                conRoc.conRoc("pre_file","image")
        Êä³ö£ºrocÕÛÏßÍ¼
        PS:image²»´ø¸ñÊ½£¨Àý£º'D:\\python_work\\image') 
     
   
    txt2xml:
        ÊäÈë£ºtxt_file(txt¸ñÊ½±ê×¢ÐÅÏ¢Ëù´æ·ÅÎÄ¼þ¼Ð£©
        python
                from transform import txt2xml
                txt2xml.txt2xml("txt_file","xml_file")
        Êä³ö£ºxml_file(xml¸ñÊ½±ê×¢ÐÅÏ¢Ëù´æ·ÅÎÄ¼þ¼Ð£©  





ÎÄ¼þ¼ÐËµÃ÷£º

transformÎÄ¼þ¼Ð£º

txt2xml £º½«txt¸ñÊ½ÎÄ±¾×ª»»ÎªxmlÎÄ¼þ£¨Ã¿¸ötxtÎÄ¼þ×ª»»ÎªÒ»¸öxmlÎÄ¼þ£©
          ÐèÒª×ª»»µÄËùÓÐtxtÎÄ¼þ·ÅÔÚtxt_fileÖÐ£¬×ª»»ºóµÄxmlÎÄ¼þ´æ·ÅÔÚxml_fileÖÐ                    

  
ROCÎÄ¼þ¼Ð£º

roc: »æÖÆrocÇúÏßºÍ·ÖÊýÇúÏß²¢¼ÆËãacu¡£Êý¾ÝÀ´Ô´ÓÚdbÁÐ±í

IOU: ¼ÆËãÁ½¾ØÐÎIOU,´«ÈëÊý¾ÝÎªÃ¿¸ö¾ØÐÎÁ½Ìõ¶Ô½ÇÏßµÄºá×Ý×ø±êReframe=[X1,Y1,X2,Y2],GTframe=[X1,Y1,X2,Y2]¡£

read:¶ÁÈ¡xmlÎÄ¼þµÄËùÓÐ±ê×¢µÄ±êÇ©Êý¾Ý(xmin,ymin,xmax,ymax)¡£´«ÈëÊý¾ÝÎª´ý²âÊÔxmlÎÄµµµÄÔªËØ¶ÔÏó¡£

Analyze_xml£º½âÎöxmlÎÄ¼þ²¢µÃ³öIOU±È¶ÔÖÐ±È¶Ô´íÎó(ÖØµþ±ÈÂÊÐ¡ÓÚ0.5£©ºÍ±È¶ÔÕýÈ·µÄ¸öÊý¡£
             ÊäÈë£ºtruthÎª±ê×¼xmlÎÄ¼þËùÔÚµÄÎÄ¼þ¼Ð£¬testÎª´ý±È¶ÔµÄxmlÎÄ¼þËùÔÚµÄÎÄ¼þ¼Ð¡£


conROCÎÄ¼þ¼Ð:

conRoc:¸ù¾ÝÎÄ¼þ¼ÐÖÐµÄËùÓÐtxtÎÄ¼þÄÚÈÝ»æÖÆÇúÏßÍ¼£¨Ã¿¸öÎÄ¼þ¶ÔÓ¦Á½ÌõÍ¬É«µÄÕÛÏß£©

####
roc-2.1.1 2.1.1
just a simple test of vipkid
License: MIT
Keywords: simple,test

####

ÔËÐÐ°ì·¨£º
   
    »·¾³£ºpython2    
    ÔËÐÐÇ°ÏÈ°²×°ROC,transformºÍconRoc,°²×°°ì·¨£º
    pip install roc-2.1.1


    roc:
        ÊäÈë£ºÎÄ¼þ¼Ðtruth£¨±ê×¢½á¹ûÎÄ¼þ¼Ð£©,test£¨Ä£ÐÍÊä³öµÄ½á¹ûÎÄ¼þ¼Ð£©,result(Òª±£´æµÄtxtÎÄ±¾ÎÄµµÂ·¾¶£©£¬roc(Òª±£´æµÄÍ¼Æ¬Â·¾¶£©
        python 
                from ROC import roc
                roc.roc("truth","test","result","roc")
        Êä³ö£ºrocºÍ·ÖÊýÕÛÏßÍ¼,½á¹ûµÄÎÄ±¾ÎÄµµ
        PS:result ºÍroc²»´ø¸ñÊ½£¨Àý£º'D:\\python_work\\result')


    conRoc:
        ÊäÈë£ºÎÄ¼þ¼Ðpre_file(ÐèÒª»æÍ¼µÄtxtËùÔÚµÄÎÄ¼þ¼Ð£©,image(Òª±£´æµÄÍ¼Æ¬Â·¾¶£©
        python 
                from ROC import conRoc
                conRoc.conRoc("pre_file","image")
        Êä³ö£ºrocÕÛÏßÍ¼
        PS:image²»´ø¸ñÊ½£¨Àý£º'D:\\python_work\\image') 
     
   
    txt2xml:
        ÊäÈë£ºtxt_file(txt¸ñÊ½±ê×¢ÐÅÏ¢Ëù´æ·ÅÎÄ¼þ¼Ð£©
        python
                from transform import txt2xml
                txt2xml.txt2xml("txt_file","xml_file")
        Êä³ö£ºxml_file(xml¸ñÊ½±ê×¢ÐÅÏ¢Ëù´æ·ÅÎÄ¼þ¼Ð£©  





ÎÄ¼þ¼ÐËµÃ÷£º

transformÎÄ¼þ¼Ð£º

txt2xml £º½«txt¸ñÊ½ÎÄ±¾×ª»»ÎªxmlÎÄ¼þ£¨Ã¿¸ötxtÎÄ¼þ×ª»»ÎªÒ»¸öxmlÎÄ¼þ£©
          ÐèÒª×ª»»µÄËùÓÐtxtÎÄ¼þ·ÅÔÚtxt_fileÖÐ£¬×ª»»ºóµÄxmlÎÄ¼þ´æ·ÅÔÚxml_fileÖÐ                    

  
ROCÎÄ¼þ¼Ð£º

roc: »æÖÆrocÇúÏßºÍ·ÖÊýÇúÏß²¢¼ÆËãacu¡£Êý¾ÝÀ´Ô´ÓÚdbÁÐ±í

IOU: ¼ÆËãÁ½¾ØÐÎIOU,´«ÈëÊý¾ÝÎªÃ¿¸ö¾ØÐÎÁ½Ìõ¶Ô½ÇÏßµÄºá×Ý×ø±êReframe=[X1,Y1,X2,Y2],GTframe=[X1,Y1,X2,Y2]¡£

read:¶ÁÈ¡xmlÎÄ¼þµÄËùÓÐ±ê×¢µÄ±êÇ©Êý¾Ý(xmin,ymin,xmax,ymax)¡£´«ÈëÊý¾ÝÎª´ý²âÊÔxmlÎÄµµµÄÔªËØ¶ÔÏó¡£

Analyze_xml£º½âÎöxmlÎÄ¼þ²¢µÃ³öIOU±È¶ÔÖÐ±È¶Ô´íÎó(ÖØµþ±ÈÂÊÐ¡ÓÚ0.5£©ºÍ±È¶ÔÕýÈ·µÄ¸öÊý¡£
             ÊäÈë£ºtruthÎª±ê×¼xmlÎÄ¼þËùÔÚµÄÎÄ¼þ¼Ð£¬testÎª´ý±È¶ÔµÄxmlÎÄ¼þËùÔÚµÄÎÄ¼þ¼Ð¡£


conROCÎÄ¼þ¼Ð:

conRoc:¸ù¾ÝÎÄ¼þ¼ÐÖÐµÄËùÓÐtxtÎÄ¼þÄÚÈÝ»æÖÆÇúÏßÍ¼£¨Ã¿¸öÎÄ¼þ¶ÔÓ¦Á½ÌõÍ¬É«µÄÕÛÏß£©

####
consul-sd 0.1.3
Python client for Consul Service Discovery API
License: MIT

Consul Service Discovery API
----------------------------
This module provides a simple way to work with the 
`Consul Service Discovery API <https://www.consul.io/docs/agent/http.html>`_
from python.


Examples
--------
Usage examples::

    import consulsd
    service = consulsd.Client()
    service.register(id='flexlm1', name='flexlm',
                address='10.112.0.211', port=28518,
                tags=('flexlm1', light', 'v1'),
                check={'id': 'flexlm', 'name': 'flexlm on port 28518',
                       'tcp': '10.112.0.211:28518',
                       'Interval': '30s', 'timeout': '2s'})
    service.deregister(id='flexlm1')
    service.list()
    service.info(name='flexlm')

The registration/deregistration is done using the consul agent API::

    http://localhost:8500
    PUT /v1/agent/service/register
    PUT /v1/agent/service/deregister/<serviceId>

To query the information the catalog API is used::

    http://localhost:8500
    GET /v1/catalog/services
    GET /v1/catalog/service/bigdata
    GET /v1/catalog/nodes
    GET /v1/catalog/node/c13-9

The payload for the registration request has the following format::

    {
      "ID": "flexlm1",
      "Name": "flexlm",
      "Tags": ["flexlm1", light", "v1"],
      "Address": "10.112.0.211",
      "Port": 28518,
      "Check": {
        "id": "flexlm",
        "name": "flexlm on port 28518",
        "tcp": "10.112.0.211:28518",
        "Interval": "30s",
        "timeout": "2s"
      }
    }