Saravanan666/pypi-org huggingface dataset:
Package: gdbn
[This fork of George Dahl’s gdbn merely exists to make it available as
a setuptools package on PyPI.  The original version can be downloaded
fromhttp://www.cs.toronto.edu/~gdahl/]This package contains python code for pre-trained deep neural networks (sometimes called deep belief networks in an abuse of terminology that I too have been guilty of). RBM pre-training is supported and backpropagation. There are a handful of possible unit types. For training, minibatched stochastic gradient descent is implemented. This initial release has essentially no documentation other than what exists in the code itself (which is very little), but it is small enough so hopefully someone familiar with the algorithms and with python could use it. Of course such a person could probably write their own software.This initial release only has the barest essentials of features. My internal version has more features, but some of them have not been published yet and thus have been stripped away from the release version. After all the features I have implelmented in my internal code have been made public, I plan on doing a slightly better release, perhaps even with some documentation.Dependencies
gnumpy (http://www.cs.toronto.edu/~tijmen/gnumpy.html)
and one of
cudamat (http://code.google.com/p/cudamat/) or
npmat (http://www.cs.toronto.edu/~ilya/npmat.py), a non-gpu cudamat stand-in.Running the Example (mnistExample.py)Download the gzipped data fromhttp://www.cs.toronto.edu/~gdahl/mnist.npz.gzand unzip it into the same folder as all of the code (or change the line
f = num.load(“mnist.npz”)
in mnistExample.py. Then you should be able to run the example with
$ python mnistExample.py
assuming you have obtained all the dependencies for
Package: gdbp
gdbpA wrapper for GDB's Python API, helping you write GDB Python scripts efficiently and intuitively.Installationpipinstallgdbporgitclonehttps://github.com/ramikg/gdbp.gitcdgdbp
pythonsetup.pyinstallSupported platformsGDB 7.2+Python 2.7 and 3.0+Any GDB-supported architecture
Package: gdb-pounce
gdb-pounceWait until a process with a certain name starts and attach to it withgdb.
While for many use caseswhile ! pidof "$NAME"; do :; done; gdb -p "$(pidof "$NAME")"is sufficient,gdb-pouncewill stop right at the loader entry point, as if
the process was started undergdbin the first place.Usagepython3 -m pip install --upgrade --user gdb-pounce
sudo env "PATH=$PATH" gdb-pounce [GDB OPTION]... [NAME]When is this useful?When an interesting process (usually a part of some complex software) starts in
a non-trivial environment, for example:As a specific user.In a specific namespace.With additional environment variables.With additional file descriptors.While another process is in a specific state.and we need to debug its initialization.Prerequisitesbcc>= 0.15.0gdblinux kernel>= 5.3(>= 5.5for the
container support)nsenter(for the
container support, optional)python3>= 3.7pounce?gdb-pouncelies in wait for its victim process. The very moment the process
appears,gdb-pouncepounces at it and seizes it, leaving it no chance to
react.
Package: gdbPy
gdbPyNot so many people are skilled in the dark arts of gdb scripting... and I'm not one of those!
gdbPy is an attempt to help all this people to write a higher level gdb scripts.gdbPy relies on GNU Python APIs for gdb to do the work, but without the need of installing gdb module on python (more on this matter)InstallationThe project is on Pypi. Install with:python3 -m pip install gdbPyGDB module for PythonThe major dependency (and major problem) of gdbPy is gdb module for Python: it cannot be easily installed as a normal module but, as far as I know, there's only one onlineguide(written in 2008 and never updated) to install it.In short gdb it's not a Python library, and its import will work only if it's running within the gdb process.
Fortunately gdb embeds python interpreter, so we can rerun the scripts importing gdbPy likegdb -q -x script.pyDon't worry, gdbPy will do it for you!DocHereExamplesfromgdbPyimport*set_file("exFile")# Breakpointsset_breakpoint("main+42")set_breakpoint(0xdeadbeef)set_breakpoint("*0xdeadbeef")# Start executionstart()/run()# Debugging actionsnext_instruction()/next_instruction(repeat=2)step_in()countinue_exec()# Can't find the command you need?res=execute("command")# Now quit gdbquit()
Package: gdb-tools
gdb-toolsThis repository contains various tools used to make the time spent in gdb more
comfortable.To install these tools, first install the modules withpip install gdb-toolsThen you need to import corresponding modules into your gdb. Add, for example,py import duelinto your~/.gdbinit. If you plan to usepretty_printermodule, I'd
recommend to put all your python gdb enhancements in~/.gdb.pyand source it
from~/.gdbinit.pretty_printer.pyA convenience helper to writegdb pretty-printers. Import this module and
write new pretty printers as easy asfrompretty_printerimportPrettyPrinter@PrettyPrinterdefst_bitmap(val):s=''foriinrange((val['n_bits']+31)//32):s=format(int(val['bitmap'][i]),'032b')+sreturn"b'"+s[-int(val['n_bits']):]+"'"Herevalis agdb.Valueobject to print, andst_bitmapis the type to
pretty-print (alternatively, a type can be passed to the decorator as an
argument, useful for types that aren't valid Python identifiers). If the type
has a name, either typedef'ed name or the underlying actual type can be used in
the pretty printer definition (useful, for types liketypedef int set_of_flags). Pointers are resolved automatically:(gdb) p map
$1 = b'001010111'
(gdb) p &map
$1 = (st_bitmap *) 0x7fff8610 b'001010111'Import this module into your~/.gdb.pyand create your own pretty printers
there.DUEL — Debugging U (might) Even LikeA high level language for exploring various data structures. Created by
Michael Golan in 1993, who implemented it for gdb 4.x. "Insanely cool",
according to gdb developers. This isDUEL.py— a pure python implementation
that uses gdb Python API and theArpeggioparser. Install arpeggio (or copy it intoduel/— it's only 20K) andimport duelinto your~/.gdb.py. Few examples of what DUEL can do:CommandExplanationdl ?short helpdl x[10..20,22,24,40..60]displayx[i]for the selected indexesdl x[9..0]displayx[i]backwardsdl x[..100] >? 5 <? 10displayx[i]if5<x[i]<10dl val[..50].(is_dx ? x : y)val[i].xorval[i].ydepending onval[i].is_dxdl x[i:=..100] >? x[i+1]check whetherx[i]is sorteddl (x[..100] >? 0)[[2]]return the 3rd positivex[i]dl argv[0..]@0argv[0],argv[1], etc until first nulldl emp[0..]@(code==0)emp[0],emp[1], etc untilemp[n].code==0dl head-->next->valvalof each element in a linked listdl head-->(left,right)->valvalof each element in a binary treedl head-->next[[20]]element 20 of listdl #/head-->nextcount elements on a linked listdl #/(head-->next-val>?5)count those over 5dl head-->(next!=?head)expand cyclic linked listOr read themanual.
Package: gdbuild
GD BUILDA helper python module to build godot projects from command line.Example Usagefrom gd_build import GDBuild

    # Build for all platforms
    gd_build_action_game = GDBuild(
        project_path="C:\\GodotProjects\\ActionGameProto",
        build_path="C:\\GameBuilds\\ActionGameProtoBuilds",
        game_name="ActionGameProto",
        godot_file_path="C:\\Godot\\godot.exe",
        export_debug=True,
        windows_build_name="Windows Desktop",
        macosx_build_name="Mac OSX",
        linux_build_name="Linux/X11",
        create_zip=True,
        execute_build_on_init=True
    )
    # Build for Windows only
    gd_build_strategy_game = GDBuild(
        project_path="C:\\GodotProjects\\StrategyGameProto",
        build_path="C:\\GameBuilds\\StrategyGameProtoBuilds",
        game_name="StrategyGameProto",
        godot_file_path="C:\\Godot\\godot.exe",
        export_debug=True,
        windows_build_name="Windows Desktop",
        create_zip=True,
        execute_build_on_init=True
    )
Package: gdbundbrm
gdbundbrmPyPI package.Getting StartedDependenciesYou need Python 3.7 or later to usegdbundbrm. You can find it atpython.org.
You also need setuptools, wheel and twine packages, which is available fromPyPI. If you have pip, just run:pip install setuptools
pip install wheel
pip install twineInstallationrun:pip install gdbundbrmFeaturesFile structure for PyPI packagesSetup with package informationsLicense
Package: gdbundle-debuginfod
Debuginfod PluginsThis repo contains both a GDB and LLDB plugin to supportdebuginfodin the versions of GDB and
LLDB which not do have debuginfod built in.WARNING: Currently these plugins only support downloading symbols/ These
plugindo notsupport sources.Supported EnvironmentsThis works in both LLDB and GDB. As of GDB 10.1, debuginfod support is built
into GDB and so this plugin is not needed.InstallationThese plugins can be installed in two different ways:Usinggdbundle. A GDB/LLDB plugin
manager fromMemFault. (Preferred method)ManualUsing gdbundleFirst follow gdbundle's installsteps.Then install the debuginfod plugins with the following command:pipinstallgdbundle-debuginfod-pluginManual InstallInstructions to come...UsageOnce installed, you will have access to thedbgdcommand in both GDB and
LLDB. Rundbgd --helpto see the full list of commands. Normal usage will
be covered here.By default, symbols will load automatically. :warning: This feature is not
yet implemented on LLDB! :warning:Load symbols manuallydebugger> dbgd symbols loadTurn on / off auto loading of symbolsdebugger> dbgd symbols autoload on
debugger> dbgd symbols autoload offList loaded symbolsdebugger> dbgd symbols listList all debuginfod serversdebugger> dbgd servers listAdd a debuginfod serverdebugger> dbgd servers add [url]Remove a debuginfod serverdebugger> dbgd servers rm [index]
Package: gdbundle-example
gdbundle-exampleThis is agdbundleplugin example. It is not meant to be useful, but to serve as a reference for gdbundle plugin creators and curious individuals.CompatibilityGDBLLDBInstallationAfter setting upgdbundle, install the package from PyPi.$ pip install gdbundle-exampleIf you've decided to manually manage your packages using thegdbundle(include=[])argument,
add it to the list of plugins.# .gdbinit

[...]
import gdbundle
plugins = ["example"]
gdbundle.init(include=plugins)Building$ poetry build
$ poetry publish
Package: gdbundle-gdb-dashboard
gdbundle-gdb-dashboardThis is agdbundleplugin forcyrus-and/gdb-dashboardCompatibilityGDBInstallationAfter setting upgdbundle, install the package from PyPi.$ pip install gdbundle-gdb-dashboardIf you've decided to manually manage your packages using thegdbundle(include=[])argument,
add it to the list of plugins.# .gdbinit

[...]
import gdbundle
plugins = ["gdb-dashboard"]
gdbundle.init(include=plugins)BuildingTo build this package, it requires callingmakefirst as we need to download the.gdbinitfile from the actual repository since it isn't packaged as a Python package.$ make
$ poetry build
$ poetry publish
Package: gdbundle-plot
gdbundle-plotThis is agdbundleplugin used to plot 1-D arrays in a graph.C and Rust types can be parsed using the plugin.One or several arrays can be plotted on the same graph.CompatibilityGDBLLDB: Not yetInstallationPip$pipinstallgdbundle-plotFrom sourceAfter setting upgdbundle, install the package using:$poetryinstallIf you've decided to manually manage your packages using thegdbundle(include=[])argument,
add it to the list of plugins.# .gdbinit[...]importgdbundleplugins=["plot"]gdbundle.init(include=plugins)Usage(gdb) plot var1_name [var2_name ...]
Package: gdbundle-pycortexmdebug
gdbundle-PyCortexMDebugThis is agdbundleplugin forbnahill/PyCortexMDebugThe originalPyCortexMDebugplugin is embedded as a git submodule, rather than
specifying as a typical dependency, because it is not as of yet deployed to
PyPi, and so this package cannot depend on it viagit+dependency spec.CompatibilityGDBInstallationAfter setting upgdbundle, install the
package from PyPi.$pipinstallgdbundle-PyCortexMDebugIf you've decided to manually manage your packages using thegdbundle(include=[])argument, add it to the list of plugins.# .gdbinit[...]importgdbundleplugins=["PyCortexMDebug"]gdbundle.init(include=plugins)BuildingBe sure togit submodule update --initto get thecmdebugdependency.$poetrybuild
$poetrypublish
Package: gdbundle-verilator-mem-if
gdbundle-verilator-mem-ifThis package implements thegdb_loadermethod required bygdbundlefor loading Python custom commands into GDB.Your.gdbinitfile should be updated with the following:pythonimportsubprocess,sysfrompathlibimportPath# Execute Python using the user's shell and pull out the sys.path (for site-packages)paths=subprocess.check_output('python -c "import os,sys;print(os.linesep.join(sys.path).strip())"',shell=True).decode("utf-8").split()# Extend GDB's Python search pathsys.path.extend(paths)# Init and load pluginsimportgdbundlegdbundle.init()endSee the following links for background ongdbundle.https://interrupt.memfault.com/blog/automate-debugging-with-gdb-python-apihttps://interrupt.memfault.com/blog/advanced-gdbhttps://interrupt.memfault.com/blog/gdbundle-plugin-manager
Package: gdbundle-voltron
gdbundle-voltronThis is agdbundleplugin forsnare/voltronCompatibilityThis works for GDB, but it appears that the LLDB version of Voltron (as ofbcf25d957657414d025ff488889cdef8d4fcae06) does not work due not pinning versions in it'ssetup.pyand does not work on Python 3.7.ImportError: cannot import name 'DispatcherMiddleware' from 'werkzeug.wsgi'InstallationAfter setting upgdbundle, install the package from PyPi.$ pip install gdbundle-voltronIf you've decided to manually manage your packages using thegdbundle(include=[])argument,
add it to the list of plugins.# .gdbinit

[...]
import gdbundle
plugins = ["voltron"]
gdbundle.init(include=plugins)Building$ poetry build
$ poetry publish
Package: gdbus-util
Python GDBus UtilA collection of utilities to create GDBus services in Python.DBusObjectThis class can be used to define a D-Bus object and register it on a
D-Bus connection.See theDBusObjectdocumentationfor more information.ExitOnIdleServiceThis class implements race-free exit-on-idle for a D-Bus service. It is
useful for services that are meant to be started on demand and exit
automatically when they are no longer needed.See theExitOnIdleServicedocumentationfor more information.InstallationTo install the latest release from PyPI:pipinstallgdbus-utilCreditsThe race-free exit-on-idle implementation was inspired byhttps://github.com/cgwalters/test-exit-on-idleand systemd'sbus_event_loop_with_idle.
Package: gdc-api-wrapper
Genomic Data Commons API wrapperA simple Python wrapper for theGDC Application Programming Interface (API)The GDC API drives the GDC Data and Submission Portals and provides programmatic access to GDC functionality. This includes searching for, downloading, and submitting data and metadata.Features implementedDownloading a Single File using GETDownloading Multiple Files using POSTUsageInstallationpip install gdc-api-wrapperTCGA API ReferenceDownload single filefromgdcapiwrapper.tcgaimportDataData.download(uuid="uuid-file-you-wanna-download",path="/local/path",name="filename")NOTE:pathandnameare optional, by default path is your current directory and if name is
not provided it will be saved with the UUID as filname.Download multiple filesfromgdcapiwrapper.tcgaimportDataresponse,filename=Data.download_multiple(uuid_list=["UUID1","UUID2","UUID3"],path="/local/path")NOTE:pathis optional, by default path is your current directory.TCIA API ReferenceGet a list of SOPInstanceUID for a given seriesfromgdcapiwrapper.tciaimportData# Example for CSV, HTML, XMLresponse,filename=Data.sop_instance_uids(series_instance_uid="uid.series.instance",format_="JSON",path="/local/path",name="filename")# Example for JSONresponse,json=Data.sop_instance_uids(series_instance_uid="uid.series.instance")Formats allowed:["CSV", "HTML", "JSON", "XML"], default:JSON. WhenJSONis requested the API will not save any
json file on disk, returns an in memory json object.NOTE:pathandnameare optional, by default path is your current directory and if name is
not provided it will be saved with the SeriesInstance as filename.Download Single DICOM imagefromgdcapiwrapper.tciaimportDataresponse,filename=Data.download_single_image(series_instance_uid="uid.series.instance",sop_instance_uid="uid.sop.instance",path="/local/path",name="filename.dcm",)NOTE:pathandnameare optional, by default path is your current directory and if name is
not provided it will be saved with the SOPInstanceUID as filename.Download set of images in a zip filefromgdcapiwrapper.tciaimportDataresponse,filename=Data.download_series_instance_images(series_instance_uid="uid.series.instance",path="/local/path",name="filename.zip")NOTE:pathandnameare optional, by default path is your current directory and if name is
not provided it will be saved with the SOPInstanceUID as filename.Changelog0.1TCGA Api endpoints0.2Bug Fix on TCGA ApisPublic interface refactoring [breaking change]TCIA Api endpoints
Package: gdcli
CLI for google dorksThis is the command line tool made with pytohn which allows the users to perform
Google dorks easilyInstallationInstall google dork cli using pip>>pipinstallgdcliUsage>>gdcli-h1)-op1forgeneralquery>>gdcli-op1-qninja-sinstagram-egamer2)-op2forinstagramuserfinding>>gdcli-op2-qninja-bgamer-lusa3)-op2forphonenumbersearch>>gdcli-op2"223234566"4)-optoforspecificfiletype>>gdcli-op3-qpython-fdocxoptionsParameterTypeDescription-opintRequired. available options are [1,2,3]-qstringRequired. Search Query-sstringSpecifc site for searching-fstringFile type-estringThings to exclude-bstringBio of the user-lstringlocation of the user like usa ,uk etc..Note this cli tool is still on development process and more features will be added very soon,and feel free to contribute ðŸš€ðŸš€
Package: gdclone
folderclone - A project that allows you copy large folders to Shared Drives.Installationfolderclone is available on PyPI, so you can install it using pip.pip3 install git+git://github.com/arlessweschler/Folderclone@mastermultimanagerMulti Manager is the tool that will help you setup everything you need to make folderclone work.Multi Manager SetupTo set it up, head over to thePython Quickstartpage and click the Enable the Drive API. Go through the setup and once its done, download the credentials to a new folder on your computer.On your terminal, change your directory to that folder you just made and run:multimanager interactiveThis will start multimanager in interactive mode. It'll start by taking you to a login page to authenticate yourself. You'll then be met with a prompt to enable the Service Usage API. Visit the link it provides, enable the API, then go back and press Enter to retry. Don't worry about having to do this every time, this is a one time setup.Once it's done, you'll be met with the Multi Manager prompt.Multi Manager
mm>You have successfully setup Multi Manager!Quick SetupFor folderclone, you'll need a few Service Accounts (SAs) ready. To do this in, run:mm> quick-setup N SHARED_DRIVE_IDWhereNis the amount of projects you'd like to use andSHARED_DRIVE_IDthe ID of the Shared Drive you'd like to copy to.For example, say I wanted to copy 100 TB worth of content. I'd need 134 SAs (750 GB each) to do the copy, so 2 projects. I'll be copying to a fresh new Shared Drive who's ID is 0ABCdeyz_ZaMsxxxLGA. I'll be running:mm> quick-setup 2 0ABCdeyz_ZaMsxxxLGAThis will automatically;create 2 projectsenable the required servicescreate Service Accountsadd them to the Shared Driveand download their credentials into a new folderaccountsYou are now ready to go to the next step.multifolderclonemultifoldeclone is the tool that will do all the cloning for you. It is the simplest thing to use.multifolderclone -s SOURCE_FOLDER_ID -d DESTINATION_FOLDER_IDWhereSOURCE_FOLDER_IDis the ID of the folder you'll want to copy (Make sure the source folder is accessible to the service accounts by either making the folder public or sharing the folder with the service accounts you are using to copy with), andDESTINATION_FOLDER_IDis the ID of the folder you are copying to. This could be the ID of the Shared Drive, or a folder inside the Shared Drive.This will automatically start cloning the folder!
And that's it! You did it!
Package: gdcloudlib
Библиотека для работы с облачными инструментамиСоздание API-gwРабота с файлами на S3Чтение и запись сообщений в очередьРабота с DinamoDBФИЧА0: Работа в качестве библиотеки PythonФИЧА1: Загрузка изображений в S3ФИЧА2: Создание API-GWФИЧА3: Генерация приложений API-GW из шаблонаФИЧА3: Создание Function
Package: gdc-smoker
AboutSmoker (aka Smoke Testing Framework) is a framework for distributed execution of Python modules, shell commands or external tools.
It executes configured plugins on request or periodically, unifies output and provide it via REST API for it’s command-line or other client.Also it’s free software, licensed under the terms of BSD license - feel free to contribute!Purpose and useIt was developed in GoodData to satisfy single use-case - be able to quickly and easily check that all services and components are functional overall cluster.
That may be simple if you have similar services with unified communication protocols. But if you have many services and components, written in many languages including Java, Perl, Erlang, Python together, you need more customizable approach, because each language has it’s specific way to test things.For example.. if you have services written in Java, you may use JMX interface to execute test function and get result.
For services with REST API, you may want to call it’s API to get the result.
And of course you want to test system services. For example check Varnish backends health by executingvarnishadm ‘debug.health’. Or checking that Mongo is configured correctly by running custom Python plugin or shell script.All those tests will return something different - you may get JSON response from REST API, XML from Java service, more complex data structure from Python plugin or simple STDOUT/STDERR and exit value from shell script. Smoker server will unify all those outputs and serve results over REST API so you can connect via CLI client and find out what is wrong in your cluster.These tests may be executed periodically or when requested by client.
And actions are supported as well - you can write your own action plugin, parse result, decide and execute some action. For example, you can send status via NSCA to your Nagios system. Or you can just restart service when it’s not working.But Smoker can do more - you can use it if you want to execute any job and see it’s result in a readable way. For some purposes, it may be more suitable than Cron.Common use-cases in short:execute smoke tests on newly deployed systemsexecute checks periodically, send output to monitoring system (eg. Nagios)execute jobs that requires attention on result or output (like Cron with ability to store results)