Saravanan666/pypi-org huggingface dataset:
Package: uro
uroUsing a URL list for security testing can be painful as there are a lot of URLs that have uninteresting/duplicate content;uroaims to solve that.It doesn't make any http requests to the URLs and removes:incremental urls e.g./page/1/and/page/2/blog posts and similar human written content e.g./posts/a-brief-history-of-timeurls with same path but parameter value difference e.g./page.php?id=1and/page.php?id=2images, js, css and other "useless" filesInstallationThe recommended way to install uro is through pip as follows:pip3 install uro --userBasic UsageThe quickest way to inclue uro in your workflow is to feed it data through stdin and print it to your terminal.cat urls.txt | uroAdvanced usageReading urls from a file (-i/--input)python3 uro.txt -i input.txtWriting urls to a file (-o/--output)If the file already exists, uro will not overwrite the contents. Otherwise, it will create a new file.python3 uro.txt -i input.txt -o output.txtWhitelist (-w/--whitelist)uro will ignore all other extension except the ones provided.uro -w php asp htmlNote:Extensionless pages e.g. /books/1 will still be included. To remove them too, use--filter hasext.Blacklist (-b/--blacklist)uro will ignore the given extensions.uro -b jpg png js pdfNote:uro has a list of "useless" extensions which it removes by default; that list will be overidden by whatever extensions you provide through blacklist option. Extensionless pages e.g. /books/1 will still be included. To remove them too, use--filter hasext.Filters (-f/--filters)For granular control, uro supports the following filters:hasparams:only output urls that have query parameters e.g.http://example.com/page.php?id=noparams:only output urls that have no query parameters e.g.http://example.com/page.phphasexts:only output urls that have extensions e.g.http://example.com/page.phpnoexts:only output urls that have no extensions e.g.http://example.com/pagekeepcontent:keep human written content e.g. blogs.keepslash:don't remove trailing slash from urls e.g.http://example.com/page/vuln:only ouput urls with paramsters that are know to be vulnerable.More info.Example:uro --filters hasexts hasparams
Package: uroboros
uroborosSimple framework for building scalable CLI tool.NOTEThis framework currently under development. Please be careful to use.FeaturesSimple interfacePure pythonThin wrapper ofargparseNo third party dependenciesEasy to reuse common optionsEasy to create sub commandsNested sub command is also supportedEnvironmentPython >= 3.5No support for python 2.xInstall uroboros$pipinstalluroborosHow to useImplement your command usinguroboros.Commandand create a command tree.# sample.pyfromuroborosimportCommandfromuroboros.constantsimportExitStatusclassRootCommand(Command):"""Root command of your application"""name='sample'long_description='This is a sample command using uroboros'defbuild_option(self,parser):"""Add optional arguments"""parser.add_argument('--version',action='store_true',default=False,help='Print version')returnparserdefrun(self,args):"""Your own script to run"""ifargs.version:print("{name}v{version}".format(name=self.name,version='1.0.0'))else:self.print_help()returnExitStatus.SUCCESSclassHelloCommand(Command):"""Sub command of root"""name='hello'short_description='Hello world!'long_description='Print "Hello world!" to stdout'defrun(self,args):print(self.short_description)returnExitStatus.SUCCESS# Create command treeroot_cmd=RootCommand()root_cmd.add_command(HelloCommand())if__name__=='__main__':exit(root_cmd.execute())Then, your command works completely.$pythonsample.py-h
usage:sample[-h][--version]{hello}...

Thisisasamplecommandusinguroboros

optionalarguments:-h,--helpshowthishelpmessageandexit--versionPrintversion

Subcommands:{hello}helloHelloworld!
$pythonsample.py--version
samplev1.0.0
$pythonsample.pyhello
Helloworld!If you want to use new sub commandsample.py hello xxxx, you just implement newXXXXCommandand add it toHello.root_cmd=RootCommand().add_command(HelloCommand().add_command(XXXXCommand()))You can see other examples inexamples.DevelopFirst, clone this repository and install uroboros with editable option.$gitclonehttps://github.com/pddg/uroboros
$cd/path/to/uroboros
$pipinstall-e.UsePipenvfor lint and test.# Create environment$pipenvinstall--dev# Execute lint by flake8$pipenvrunlint# Execute test by py.test$pipenvruntestAlso support test withtox. Before execute test withtox, you should make available to use python3.5and3.6,3.7.LicenseApache 2.0AuthorShoma Kokuryo
Package: u-robotframework-testrail
RobotFramework TestrailShort DescriptionUpdated fork ofrobotframework-testrailInstallationpip install u-robotframework-testrailDocumentationSee documentation onGitHubUsageHow to enable TestRail APITestRail API ClientLibrary for working withTestRail.Example*** Settings ***

Library    TestRailAPIClient    host    user    password    run_id



*** Test Cases ***

Case

    ${project}=    Get Project    project_id

    ${section}=    Add Section    project_id=${project['id']    name=New Section

    ${case}=       Add Case    ${section['id']}    Title    Steps    Description    Refs    type_id    priority_id

    Update Case    ${case['id']}    request_fieldsTestRail ListenerFixing of testing results and updating test cases.ExampleCreate custom field "case_description" with type "text", which corresponds to the Robot Framework's test case documentation.Create Robot test:*** Test Cases ***

Autotest name

    [Documentation]    Autotest documentation

    [Tags]    testrailid=10    defects=BUG-1, BUG-2    references=REF-3, REF-4

    Fail    Test fail messageRun Robot Framework with listener:pybot --listener TestRailListener.py:testrail_server_name:tester_user_name:tester_user_password:run_id:https:update  robot_suite.robotTest with case_id=10 will be marked as failed in TestRail with message "Test fail message" and defects "BUG-1, BUG-2".Also title, description and references of this test will be updated in TestRail. Parameter "update" is optional.TestRail Pre-run ModifierPre-run modifier for starting test cases from a certain test run.ExampleCreate Robot test:*** Test Cases ***

    Autotest name 1

    [Documentation]    Autotest 1 documentation

    [Tags]    testrailid=10

    Fail    Test fail message

    Autotest name 2

    [Documentation]    Autotest 2 documentation

    [Tags]    testrailid=11

    Fail    Test fail messageRun Robot Framework with pre-run modifier:pybot --prerunmodifier TestRailPreRunModifier:testrail_server_name:tester_user_name:tester_user_password:run_id:http:results_depth robot_suite.robotOnly test cases that are included in the test runrun_idwill be executed.To execute tests from TestRail test run only with a certain status, for example "failed" and "blocked":pybot --prerunmodifier TestRailPreRunModifier:testrail_server_name:tester_user_name:tester_user_password:run_ind:http:results_depth:failed:blocked robot_suite.robotLicenseApache License 2.0
Package: uroko
urokoData scaling tool for CSV/TSV"uroko" means scale in Japanese.Input CSV/TSV data, output min-max scaled data with some functions.UsageUsage: uroko-cli [OPTIONS] [INPUT] [OUTPUT]

Options:
  --version               Show the version and exit.
  -c, --columns TEXT      columns to scale
  -a, --apply [log|sqrt]  apply whith calculation for scaling
  --csv                   load as csv
  --tsv                   load as tsv
  --help                  Show this message and exit.ExamplePlain$ echo """name,score
Sato,100
Kimura,50
Suzuki,80
""" | uroko-cli -c score
name,score
Sato,1.0
Kimura,0.0
Suzuki,0.6Use log scaleecho """name      value
kyoto   10000
gifu    100
gumma   1
""" | uroko-cli -c value -a log --tsv
name    value
kyoto   1.0
gifu    0.4604718013624446
gumma   0.0
Package: urouter
InstallationpipinstallurouterSupported web frameworksaiohttpStarletteQuickstartDefine handler in routerfromaiohttpimportwebfromurouter.exporters.aiohttp_exporterimportAioHttpRouterapp=web.Application()asyncdefhandler(request):returnweb.Response(text="Hello World")router=AioHttpRouter(app)router.get("/home",handler)# At this point aiohttp is ready to register all routesrouter.export()Define global middleware for all routesfromaiohttpimportwebfromurouter.exporters.aiohttp_exporterimportAioHttpRouterapp=web.Application()@web.middlewareasyncdefinfo_middleware(request,handler):# some operation before handle requestresponse=awaithandler(request)returnresponseasyncdefhandler(request):returnweb.Response(text="Hello World")router=(AioHttpRouter(app).use(info_middleware))# Register handlerrouter.get("/home",handler)# At this point aiohttp is ready to register all routesrouter.export()Define inline middleware (run only for specific handler)fromaiohttpimportwebfromurouter.exporters.aiohttp_exporterimportAioHttpRouterapp=web.Application()@web.middlewareasyncdefinfo_middleware(request,handler):# some operation before handle requestresponse=awaithandler(request)returnresponseasyncdefhandler(request):returnweb.Response(text="Hello World")router=AioHttpRouter(app)# Middleware registered only for `/home` routerouter.include(info_middleware).get("/home",handler)# At this point aiohttp is ready to register all routesrouter.export()Define subrouterfromaiohttpimportwebfromurouter.exporters.aiohttp_exporterimportAioHttpRouterapp=web.Application()@web.middlewareasyncdefinfo_middleware(request,handler):# some operation before handle requestresponse=awaithandler(request)returnresponseasyncdefhandler(request):returnweb.Response(text="Hello World")asyncdefsub_handler(request):returnweb.Response(text="Hello World")router=AioHttpRouter(app)router.include(info_middleware).get("/home",handler)# Create new routersubrouter=router.make_router()subrouter.get("/hello",sub_handler)# All registered router become starts with prefix `/sub/`# `/hello` becomes `/sub/hello`router.mount("/sub",subrouter)# At this point aiohttp is ready to register all routesrouter.export()Private/Public routerfromaiohttpimportwebfromurouter.exporters.aiohttp_exporterimportAioHttpRouterapp=web.Application()asyncdefauth_middleware(request,handler):returnweb.HTTPForbidden()asyncdefpublic(request):returnweb.Response(text="Hello World")asyncdefprivate(request):returnweb.Response(text="Private Zone")router=AioHttpRouter(app)private_route=router.make_router().use(auth_middleware)# Adding public handlerrouter.get("/home",public)# Adding public handlerprivate_route.get("/private",private)# Mount private router to main routerrouter.mount("/",private_route)# At this point aiohttp is ready to register all routesrouter.export()
Package: urp
urpparses URLs.
It’s a command-line tool that enables users to extract and modify their features.
It knows all about
schemes,
authentication,
hosts,
ports,
paths,
parameters,
query strings,
and
fragments.Basic Usageurptakes URLs as input,
and outputs URLs or features of URLs depending on its options.
It takes URLs specified as arguments and newline-delimited URLs from standard input.$ urp -s https://google.com
https
$ echo 'https://google.com' | urp -s
https
$ urp -D /search -Q q=urp 'https://google.com'
https://google.com/search?q=urpPrinting URL FeaturesIf any of these options are specified,urpwill abandon its default behavior of printing full URLs
and instead print the features specified.-s,--print-schemePrint scheme.-u,--print-usernamePrint username.-w,--print-passwordPrint password.-o,--print-hostnamePrint hostname.-p,--print-portPrint port.-a,--print-authorityPrint authority.
The authority is comprised of theusername,password,hostname,
andport.-d,--print-pathPrint path.--print-paramsPrint params.-q,--print-queryPrint query string.--print-query-namesPrint query parameter names.--print-query-valuesPrint query parameter values.-f,--print-fragmentPrint fragment.-gQUERY,--print-query-valueQUERYPrint value of query parameter.Modifying URLsModifying features of URLs will cause the changes to be reflected in the output,
both through the printing options and through default behavior.-SSCHEME,--schemeSCHEMESet scheme toSCHEME.-UUSERNAME,--usernameUSERNAMESet username toUSERNAME.-WPASSWORD,--passwordPASSWORDSet password toPASSWORD.-OHOSTNAME,--hostnameHOSTNAMESet hostname toHOSTNAME.-PPORT,--portPORTSet port toPORT.-DPATH,--pathPATHSet or append path asPATH.
IfPATHbegins with a/then the path is replaced.
Otherwise it is appended to the existing path.--paramsPARAMSSet params toPARAMS.--queryQUERYSet query toQUERY.-QPAIR,--append-queryPAIRAppend query parameter.PAIRshould have the formatNAME=VALUE.-FFRAGMENT,--fragmentFRAGMENTSet fragment toFRAGMENT.Altering BehaviorBy default,urpoutputs URL-encoded fields where necessary
and preserves the order of query parameters.--no-url-encodingDisable URL encoding in output.--no-query-paramsDisable query parameter parsing.urpwill not try to parseNAME=VALUEpairs from queries.--sort-querySort query parameters by name in output.-xQUERY,--ignore-queryQUERYIgnore query parameter.Each URL processed emits arecord,
consisting of multiplefields.
By default,
records are separated with newlines
and fields are separated with spaces.
To change the record separator,
set theRSenvironment variable.
To change the field separator,
set theOFSenvironment variable.
Package: urpatimeout
urpatimeouturpatimeout is a module for managing timeouts insideUltimateRPAscripts.FeaturesIt helps you with setting up and measuring time limits:set up timeout for multiple searches in UltimateRPAset up timeout for part or whole of the scriptusedatetime.datetimeas an inputno 3rd party modules dependenciesInstallpip install urpatimeoutExamplesSetting up a Global Timeout for Multiple Searchesimporturpatimeouttimeout=urpatimeout.Timeout(10_000)app=urpa.exec_app("Some_application.exe")app.find_first(cf.name("Username").text(),timeout=timeout)app.find_first(cf.name("Password").text(),timeout=timeout)Setting up a Timeout for Part of the Scriptimporturpatimeouttimeout=urpatimeout.Timeout(60*60*1000)whilenottimeout.is_expired():do_something()Using datatime.datetime Object for Setting up the Timeoutimportdatetimeimporturpatimeouttimeout=urpatimeout.Timeout(datetime.datetime(2029,1,15))whilenottimeout.is_expired():do_something_else()Reseting the Timeoutimporturpatimeouttimeout=urpatimeout.Timeout(10_000)whilenottimeout.is_expired():do_something()ifthis_happened():t.reset(5000)ChangelogChangelog is hereContributeIssues and pull requests are welcome.
Package: urpy
URPyA module to make your life easier when communicating with a Universal Robot from python.DownloadLatest releaseAll releasesGetting startedDownload thelatest releaseand copy its content into your project. For examles on how to use the modulde look inside thescriptsfolder on github.Additional InformationGo to Internet Protocol Verson 4 (TCP/IPv4) under Ethernet properties. Set it to use manual IP, make sure the subnet mask is set to255.255.255.0. Also set the DNS server manual. Perfered DNS server should be10.234.32.10and Alternate DNS server should be10.234.32.11.
Package: ur-rtde
A C++ interface for controlling and receiving data from a UR robot using theReal-Time Data Exchange (RTDE)interface of the robot. The interface can also be used with python, through the provided python bindings.Key FeaturesFast and lightweight interface for programming UR robots.Uses theReal-Time Data Exchange (RTDE)of the robot.Execute with real-time priority on operating systems with a real-time kernel, see theReal-time Setup GuideAvailable on multiple platforms (Linux, Windows, macOS)Can be used from C++ and Python.Relies only on STL datatypes and can be used with various robot frameworks.Switchable register range (FieldBus / PLC [0..23] or external clients range [24..47])Use it with the UR'sExternalControl UR Cap,
download itheresee
how to install it on the robothere.
In order to setup ur_rtde for using it seehere.Easy to install and setup.DocumentationDocumentation with installation and build instructions, examples and API resides athttps://sdurobotics.gitlab.io/ur_rtde/Quick InstallFrom PPA:If you are on Ubuntu, you can install ur_rtde with:sudo add-apt-repository ppa:sdurobotics/ur-rtde
sudo apt-get update
sudo apt install librtde librtde-devFrom PyPi:If you only want to the use the Python interface, you can install ur_rtde through pip:pip3 install ur_rtde:warning: Notice! Make sure your pip version >=19.3, otherwise the install might fail.Prebuilt python wheels support matrix:macOS IntelmacOS Apple SiliconWindows 64bitWindows 32bitWindows Arm64manylinux x86_64manylinux i686manylinux aarch64manylinux ppc64lemanylinux s390xCPython 3.6✅:x:✅:x::x:✅✅✅✅✅CPython 3.7✅:x:✅:x::x:✅✅✅✅✅CPython 3.8✅:x:✅:x::x:✅✅✅✅✅CPython 3.9✅:x:✅:x:✅¹✅✅✅✅✅CPython 3.10✅:x:✅:x:✅¹✅✅✅✅✅CPython 3.11✅:x::x::x:✅¹✅✅✅✅✅PyPy 3.7 v7.3✅:x:✅:x::x:✅✅✅:x::x:PyPy 3.8 v7.3✅:x:✅:x::x:✅✅✅:x::x:PyPy 3.9 v7.3✅:x:✅:x::x:✅✅✅:x::x:¹ Windows arm64 support is experimental.DependenciesBoostpybind11(Optional)Compatible RobotsAll CB-Series from CB3/CB3.1 software 3.3All e-SeriesCompatible Operating SystemsCurrently tested on:Ubuntu 16.04 (Xenial Xerus)Ubuntu 18.04 (Bionic Beaver)Ubuntu 20.04 (Focal Fossa)Ubuntu 22.04 (Jammy Jellyfish)macOS 10.14 (Mojave)Windows 10 Pro x64ContactIf you have any questions or suggestions to the interface, feel free to contact Anders Prier Lindviganpl@mmmi.sdu.dkor create an issuehere.
Package: ursa-bbs-signatures
Hyperledger Ursa BBS Signatures Wrapper for PythonTable of ContentsAboutGetting StartedPrerequisitesInstallingUsing pipManuallyRunning testsAboutThis is a Python wrapper for Hyperledger Ursa's C callable BBS+ package.Getting StartedPrerequisitesPythonPipOptional:If you'd like to run the python testsInstallPipenvIf you'd like to build the BBS+ library yourselfInstallRustFollow installation instructions athttps://github.com/mattrglobal/ffi-bbs-signaturesInstallingUsing pippipinstallursa-bbs-signaturesManuallyBuild the Rust BBS+ library as describedherePlace the resulting library (located in thetarget/debugdirectory) into thewrappers/python/ursa_bbs_signaturesdirectoryInstall the package into your environment by runningpython -m pip install <PATH TO THIS REPOITORY>/wrappers/pythonRunning testsMake sure you havePipenvinstalledThis project usesPytestfor testing, so make sure to install it by runningpipenv install --devin thewrappers/pythondirectoryRun the tests usingpipenv run test
Package: ursactl
Command line control script and library for Ursa Frontier SaaS Platform.Installation$ pip install ursactlThe ursactl package works on Python versions 3.7 and greater.Command Line Usageusage: ursactl [-h] [-d] [-q] [-v] [-o OUTPUT]
               {create,delete,get,init,list,refresh,run,send,show,stop,sync,update}
               ...

Command line control script and library for Ursa Frontier SaaS Platform.

optional arguments:
  -h, --help            show this help message and exit
  -d, --debug           full application debug mode
  -q, --quiet           suppress all console output
  -v, --version         show program's version number and exit
  -o OUTPUT, --output OUTPUT
                        Select an alternate output format (json, yaml)

verbs:
  {create,delete,get,init,list,refresh,run,send,show,stop,sync,update}
    create              create something
    delete              delete something
    get                 get something
    init                initialize a directory for sync with Ursa Frontier
    list                list something
    refresh             refresh something
    run                 run something
    send                send something
    show                show something
    stop                stop something
    sync                synchronize a directory with Ursa Frontier
    update              update something

Usage: ursactl verb ...ConfigurationThe ursactl command line tool and library uses a configuration file to store api keys and other settings.
SeeGetting Started with the CLIfor details.
Package: ursctl
ursctrl is a Cisco Umbrella Roaming Security module for AnyConnect control utility.
It can be used to disable, enable or check the current status of the module.InstallationInstall ursctrl using the latest version of setuptools and pip:$ python3 -m pip install --upgrade setuptools pip
$ python3 -m pip install ursctrlUsageExecute using the module directly or using the convenience script:$ python3 -m ursctl
Cisco Umbrella Roaming Security module for AnyConnect control utility
usage: ursctl [option]
    -d, --disable   Disable the module
    -e, --enable    Enable the module
    -s, --status    Print module status

$ ursctl
Cisco Umbrella Roaming Security module for AnyConnect control utility
usage: ursctl [option]
    -d, --disable   Disable the module
    -e, --enable    Enable the module
    -s, --status    Print module status
Package: ursine
ursine - a bearable sip uri libraryinstallingursine is packaged and available onpypipipinstallursinebasic usagefromursineimportURI,Header# build new URIs / Headersuri=URI.build(scheme='sip',host='10.10.10.10',transport='tcp')print(uri)# sip:10.10.10.10;transport=tcpheader=Header.build(display_name='Alice',uri=uri,tag='xyz')print(header)# "Alice" <sip:10.10.10.10;transport=tcp>;tag=xyz# parse existing onesuri=URI('sips:[::1]:5080')uri.scheme=='sips'uri.host=='[::1]'uri.transport=='tcp'header=Header('"Bob" <sips:[::1]:5080>;tag=abc')header.display_name=='Bob'header.tag=='abc'header.uri.scheme=='sips'# Header and URI objects are immutablealice_uri=URI('sip:alice@10.10.10.10')modified_uri=alice_uri.with_user(None)# 'sip:10.10.10.10;transport=udp'modified_uri!=alice_uri