Saravanan666/pypi-org huggingface dataset:
Package: dll-diagnostics
DLL Diagnostic ToolsThedlldiagcommand-line tool provides functionality to assist in identifying the DLL dependencies of an application or library and diagnosing dependency loading issues. It is primarily intended for use when migrating existing applications to Windows containers, where traditional GUI-based tools are unavailable. Identifying the minimal set of dependencies for an application facilitates a workflow where the required DLL files can be copied from themcr.microsoft.com/windowsbase image into themcr.microsoft.com/windows/servercorebase image, thus maximising application compatibility whilst maintaining the minimum possible image size.ContentsRequirements and installationUsageLegalRequirements and installationThedll-diagnosticsPython package requires the following:Python 3.5 or newerWindows Server 2016 or newer, or Windows 10 version 1607 or newerMicrosoft Visual C++ Redistributable for Visual Studio 2015-2019Debugging Tools for Windows 10 (WinDbg)(only needed for running thedlldiag tracecommand)You can install the package by running the following command:pip install dll-diagnosticsIf you don't need the package on your host system then you candownload a prebuilt container image from Docker Hubto start using thedlldiagcommand inside a Windows container.UsageThedlldiagcommand-line tool provides the following subcommands:dlldiag deps: this subcommand lists the direct dependencies for a module (DLL/EXE) and checks if each one can be loaded.Delay-loaded dependenciesare also listed, but indirect dependencies (i.e. dependencies of dependencies) are not.dlldiag dockerthis subcommand generates a Dockerfile suitable for using thedlldiagcommand inside a Windows container, allowing the user to optionally specify the base image to be used in the Dockerfile'sFROMclause. This is handy when you want to extend an existing image of your choice, rather than simply extending the Windows Server Core image as theprebuilt images from Docker Hubdo.dlldiag graphthis subcommand runs executable modules with an injected DLL that usesDetoursto instrument calls toLoadLibrary()so the call hierarchy can be reconstructed. This is handy when you want to see which indirect dependencies are being loaded by an executable's direct dependencies or want to identify dependencies that are loaded programmatically at runtime.dlldiag trace: this subcommand uses the Windows debugger to trace aLoadLibrary()call for a module (DLL/EXE) and provide detailed reports of the results. The trace makes use of the Windows kernelloader snapsfeature to obtain fine-grained information, as discussed inJunfeng Zhang's blog post "Debugging LoadLibrary Failures". The trace captures information about both indirect dependencies and delay-loaded dependencies.LegalCopyright © 2019-2021, Adam Rehn. Licensed under the MIT License, see the fileLICENSEfor details.Binary distributions of this package include parts ofDetoursin object form. Detours is Copyright (c) Microsoft Corporation and islicensed under the MIT license.
Package: dll-finder
dll_finder - Given one or more Windows executables, get paths of necessary DLLsCopyright 2023 Eric Smithdll_finder development is hosted at thedll_finder Github repository.Introductiondll_finder is used when cross-compiling Windows executables on Linux using
the MinGW suite. When packaging such executables, it is necessary to include
some DLLs provided by MinGW packages. dll_finder is used to obtain a list
of the necessary DLL paths.
Package: dllist
dllistA very small Python library to list the DLLs loaded by the current process.
This is equivalent to thedllistfunction in Julia.Note: This library is intended to work on macOS, Linux, and Windows. Other platforms will return an empty list and raise a warning.Installationdllistisavailable on PyPI:pip install dllistUsageimportdllistprint(dllist.dllist())# ['linux-vdso.so.1', '/lib/x86_64-linux-gnu/libpthread.so.0', '/lib/x86_64-linux-gnu/libdl.so.2', ...Note: The library paths are not postprocessed by this library. Depending on your usage, you may need to convert them to absolute paths and/or perform case-normalization (Windows).
Package: dlmanager
dlmanagerdlmanageris Python 2 and 3 download manager library, with the following
features:Download files in background and in parallelCancel downloadsstore downloads in a given directory, avoiding re-downloading filesLimit the size of this directory, removing oldest filesExamplefromdlmanagerimportDownloadManager,PersistLimitmanager=DownloadManager("dlmanager-destir",persist_limit=PersistLimit(size_limit=1073741824,#  1 GB maxfile_limit=10,# force to keep 10 files even if size_limit is reached))# Start downloads in background# Note that if files are already present, this is a no-op.manager.download(url1)manager.download(url2)# Wait for completiontry:manager.wait()except:manager.cancel()raiseInstallationUse pip:pip install -U dlmanager
Package: dlmatpower
dlmatpowerARCHIVED!!!Seematpower-pipfor better approach of using pypi.Make downloadMATPOWEReasier from pip.Usagepost-install (not supported by pip)Clone this repositoryRun "python setup.py install"pip (MATPOWER need to be downloaded after installation)Install usingpip install dlmatpowerDownload MATPOWER usingdlmatpower.download()Exampleimportdlmatpowerdlmatpower.download()NoteDownloaded MATPOWER ondlmatpower/will not be removed bypip uninstall dlmatpower. Usedownloader.delete_default_download()to remove it or manually delete downloaded content ondlmatpower/.
Package: dlmhelper
dlmhelperThis package includes functions and custom data types to help with performing and analyzing dynamic linear model fits.The initial version of this code was developed for the analysis performed in 'Zonal variability of methane trends derived from satellite data' (Hachmeister et al., 2023 ; DOI:10.5194/egusphere-2023-1680).Version v0.1.0 of this package is also used by the supplementary example code provided for the above mentioned paper, available onZenodo.RequirementsnumpymatplotlibstatsmodelstabulateVersionv1.0.0b7InstallationInstall from PyPI using:pip install dlmhelperUsageLook at the Nile or Manua Loa example from theexamplesfolder for a basic introduction.Documentation is availablehere
Package: dlmml
DLMMLThe intermediary representation of the generated model.How to runInstall form PyPI (recommended):pipinstalldlmmlYep, that's it :)Steps to build package locally:# clone the repogitclonehttps://github.com/Auto-DL/DLMML.gitActivate your environment(not compulsory but highly recommended)python -m buildpip install dist\dlmml-*.tar.gz[Extra Step] Check using pytest by either runningpytestorpython setup.py pytestWhat is the notebooks folder about:Testing and Prototyping is what we do thereRun thejupyter-notebookcommandUsing the GUI, navigate and run the notebooksThiscan be a good starting pointWhere to go next?To know more about the project and initiative, please visit ourwebsiteCurious to know about our front-end or backend development?Here, Have a look :)NoteTo know more about the technicalities of the project, read the ourdeveloper guidelines.For more detailed instructions to run the DLMML part. Read ourUser guidelinesContributingPlease take a look at ourcontributingguidelines if you're interested in helping!Features to addAdd model generation code for pytorchCheck if generated code is correct (current thought is to call model.compile and return errors if any)Add different model evaluation parametersTest for backward compatibility of libraries versionsBenchmarking parametersVisualization and data preprocessing steps to be added
Package: dlmontepython
Python tools associated with the Monte Carlo simulation program DL_MONTE
(project homepage:https://gitlab.com/dl_monte).Key functionality includes:Functions for applying various analysis methods to data obtained from
molecular simulation, including histogram reweighting and block averagingA Python interface to DL_MONTEA framework for automating calculations of, e.g. isotherms, using DL_MONTESee the 'README.md' file for more detailed information about this library.
Package: dlms-cli
Dlms encrypt-decrypt command line toolWith this tool you can perform these operation:Generate encrypted APDUDecrypt APDUAuthenticate APDUGenerate encryption keyInstallationUse pip:pip install setup.pyUse pypi:pip install dlms-cliUsageEncryptExampleSystem Title = 5249435249435249Frame Counter = 80000001Encryption Key = 454E4352595054494F4E4B45594B4559Authentication Key = 41555448454E5449434154494F4E4B45APDU = c001810001000060010aff0200dlms_cli -e 5249435249435249 80000001 454E4352595054494F4E4B45594B4559 41555448454E5449434154494F4E4B45 c001810001000060010aff0200ResultEncrypted/Decrypted APDU: 0de63f2331a09aa85e8830f5f3
Authentication TAG: 610d47e1e24b14e8a022aefc6a43f3a3DecryptExampleSystem Title = 5249435249435249Frame Counter = 80000001Encryption Key = 454E4352595054494F4E4B45594B4559Authentication Key = 41555448454E5449434154494F4E4B45APDU = 0de63f2331a09aa85e8830f5f3dlms_cli -d 5249435249435249 80000001 454E4352595054494F4E4B45594B4559 41555448454E5449434154494F4E4B45 0de63f2331a09aa85e8830f5f3ResultEncrypted/Decrypted APDU: c001810001000060010aff0200
Authentication TAG: 977d4d21b7255a1b681fe6b1c902a7dcGenerate authenticated dataExampleSystem Title = 5249435249435249Frame Counter = 00000001Encryption Key = 454E4352595054494F4E4B45594B4559Authentication Key = 41555448454E5449434154494F4E4B45APDU = 0de63f2331a09aa85e8830f5f3dlms_cli -a 5249435249435249 00000001 454E4352595054494F4E4B45594B4559 41555448454E5449434154494F4E4B45 0de63f2331a09aa85e8830f5f3ResultTAG: 62d423292e0fe5320370881dGenerate encryption keyExampledlms_cli -kResultEncryption Key: 08f418ad55d89f38388a7e379b16353fDependencycryptographyLicenseMIT
Package: dlmy
DlmyIntroductionYet another Spotify Downloader omg. 🤐Dlmy uses the given Spotify Track's metadata tags, to extract information about the music. After extracting information, the music is downloaded from YouTube usingyoutube_dl.Any contributions are welcomed!FeaturesDownload single tracks using a Spotify urlDownload single tracks using a search queryDownload whole Spotify playlistsInstallationDependenciesThe only dependency isffmpeg, to embed metadata to tracks.
If you wish to skip this you can changeffmpeg=Truetoffmpeg=Falsein in the configuration file.PackagesPippipinstalldlmyUsagedlmy-t"title of the track"downloadatrackusingquery
dlmy-t<url>downloadthegiventrack
dlmy-l<url>downloadawholeplaylist
Package: dl-myo
dl-myo (Dongle-less Myo)dl-myo is yet another MyoConnect alternative for Myo Armband without an official Myo dongle.If you are fed up with the dongle and still want to use Myo anyway (in Python), this is the right stuff to grab.The GATT service naming convention reflects the official BLE specification for Myo (i.e.,myohw.h); however, some services and characteristics differ for a uniform naming.Seemyo/profile.pyfor more detail.FeaturesPlatform SupportInstallExamplessample_client.pyinfluxdbTry the example with DockerBuild with PoetryCreditsAuthorFeaturesCompared to other Myo libraries/SDKs:Full-scratched in Python, no dependency from other runtime (e.g., the official cpp SDK)Multi-platform support based onBleak, instead of bluepy or pybluezStream EMG data (filtered/raw) and IMU data simultaneously usingasyncioA sample docker image provided -- runs just off the shelfPlatform SupportLinuxRaspberry PimacOSWindows✅✅✅✅Installpipinstalldl-myoExamplessample_client.pyThe script scans a Myo device, connect to the device, prints the GATT profile from the device, collect EMG data for 5 seconds, and then disconnect.Any Myo Armband should have the service UUIDd5060001-a904-deb9-4748-2c7f4a124842.pythonexamples/sample_client.pyOtherwise, you can also bind to a specific MAC address. For example,pythonexamples/sample_client.py--macD2:3B:85:94:32:8EinfluxdbTheexamples/influxdb/influx_client.pyemits datapoints to be stored in InfluxDB.
Thedocker-compose.ymllanches the required database for this by default.dockercomposeup-dinfluxdbthenpythonexamples/influxdb/influx_client.pyMake use of the dashboard configexamples/influxdb/myo.json.Try the example with DockerNOTE: The docker example currently doesn't work on macOS.dockercomposepull
dockercomposerun--rmdl-myoBuild with PoetryInstallPoetryfirst.poetrybuildCreditsThis project was first inspired byDongleless-myo(originally created by@mamo91and enhanced by@MyrikLD) which provides a great starting point using bluepy.In addition toMyo Bluetooth Official Protocol, I would like to mention that the following resources on GitHub have been very helpful:https://github.com/Alvipe/Open-Myo/issues/5https://github.com/NiklasRosenstein/myo-python/releases/tag/v1.0.4https://github.com/PerlinWarp/Neuro-Breakouthttps://github.com/balandinodidonato/MyoToolkit/blob/master/Software%20for%20Thalmic's%20Myo%20armband.mdhttps://github.com/cortinico/myonnaisehttps://github.com/dzhu/myo-rawhttps://github.com/exelban/myo-armband-nnhttps://github.com/francocruces/MioConnecthttps://github.com/hcilab/MyoStreamAuthor@iomz(Iori Mizutani)
Package: dlna
dlnaA UPnP/DLNA client, support local file and online resource cast to screen.Support Online Resource.Thanks for nanodlna!Release Note0.2.2: Fixed some tips.0.2: Fixed multiple scans of the same.0.1.7: Fixed an error caused by custom xml attributes.0.1.6: Timeout expanded to 10s.0.1.5: Optimize the tips content.0.1.4:Now you can select device by name.Add 'How to use'Fix bugs.0.1.3: Fix bugs.How to usescan DLNA-enabled devices>>>dlnadeviceresource cast to screen>>>dlnaplay"your_link_or_path"select device by url>>>dlnaplay"your_link_or_path"-d"your_device_url"# device url like 'http://host:port/'select device by name>>>dlnaplay"your_link_or_path"-q"your_device_name"# device name like 'room tv'
Package: dlnpyutils
A package of useful utility python functions.AuthorsDavid Nidever(Montana State University)InstallationYou can pip install the package:pip install dlnpyutilsTo install the latest version:pip install git+https://github.com/dnidever/dlnpyutilsAttributionIf you make use of this code, please cite this work using the DOI:Nidever, D. L. 2021, dnidever/dlnpyutils, doi:10.5281/zenodo.5764938DocumentationSeethe documentationfor information on how
to install and use dlnpyutils.License
Package: dlo
dlois a lightweight, dynamic Python client to pull NBA data fromstats.nba.com.OverviewThis client utilizes error messages from the stats.nba.com API to:check whether parameter passed is validcheck whether endpoint is valid or possibly deprecatedreturn list of parameters for endpointreturn list of possible values for any parameters and whether required for endpointautomatically pass required parameters with default value if not givenIt is possible to build a documentation of the API given possible endpoints with this client.Inspired bynba_py.Installation# stable versionpipinstalldlo# latest versiongitclonehttps://github.com/avkondepudi/dlo.gitcd./dlopipinstall.Dependenciesrequests(required)pandas(recommended)UsageA list of endpoints can be foundhere. IDs (PlayerID, GameID, etc.) can be found onstats.nba.com.>>>fromdloimportData# import module>>>LOCAL={# set local parameters..."PlayerID":1626156,..."Season":"2018-19",..."SeasonType":"Regular Season"...}>>>d=Data(**LOCAL)# create instance of Data class with local parameters>>>d.local=LOCAL# another way to pass local parameters (recommended; deletes previous local parameters)>>>d.local# returns local parameters passed{"PlayerID":1626156,"Season":"2018-19","SeasonType":"Regular Season"}>>>d.endpoint="playergamelog"# set endpoint>>>d.endpoint# returns current endpoint"playergamelog">>>d.getEndpointParams()# returns list of parameters for current endpoint['PlayerID','Season','SeasonType']>>>d.getParamInfo("SeasonType")# returns list of values for parameter and whether required{'regex':'^(Regular Season)|(Pre Season)|(Playoffs)|(All-Star)|(All Star)$','values':['Regular Season','Pre Season','Playoffs','All-Star','All Star'],'required':True}>>>d.getParam("Season")# returns parameter value if passed"2018-19">>>d.removeParam("Season")# value for Season (2018-19) removed>>>d.setParam("Season","2018-19")# two ways to set/add parameters>>>d.Season="2018-19">>>data=d.getData()# returns data (game log of D'Angelo Russell for the 2018-19 Regular Season)>>>data_in_pandas_format=d.getData(pandify=True)
Package: dlock13
# dlock13Breakout design (in EAGLE) and source code for our door lock actuator, running on a Raspberry PI(1).
Communication with the lock happens over [MQTT](https://en.wikipedia.org/wiki/MQTT).
Does not contain user interface, check [door-web](https://github.com/bitraf/door-web) for that.## MQTT interfaceTo open the door, send thenumber of seconds to opento:/bitraf/door/$door_id/open  # Ex: 20On success, will output values:/bitraf/door/$door_id/isopen # Ex: true/false
/bitraf/door/$door_id/openuntil # Unix timestamp when door will lock again. Ex: 1495469392On error, will send a string with an error message:/bitraf/door/$door_id/error # Ex: “Time to open is negative”Where$door_idis for instance2floor,frontdoor,4floor.
The/bitraf/door/prefix is configurable, can be set to/mysystem/doorlocks.## CodeAt [dlock13-msgflo/dlock13.cpp](./dlock13-msgflo/dlock13.cpp).Impementation is in C++11, using [msgflo-cpp](https://github.com/msgflo/msgflo-cpp).## Python APIAlso provided is a simple Python module which will handle checking the MQTT messages
being sent out on success/error.Installingpip install dlock13A command-line tool is includeddlock13-open /bitraf/door/$door_id 60For how to use programatically, use [dlock13-open](./dlock13-open) as example code.## Board![RPI breakout board with components](./doc/rpi-breakout-populated.jpg)The board has two MOSFETS for driving standard electronic locks.
Expansion for two inputs also exists.Single-sided board with through-hole components, can easily be CNC milled or etched.![RPi breakout board schematic](./doc/rpi-breakout-schematic.png)### Pinout# Function | Connector pin |  BCM SoC pin |  WiringPi pin  |
===
mosfet1    |     19        |   10         |  12
mosfet2    |     2         |   11         |  14BCM SoC pin is the on used for/sys/class/gpio/gpioNNand similar.## DeploymentA systemd service template is normally used to each doorlock: [dlock13@.service](dlock13-msgflo/dlock13@.service).systemctl statusdlock13@2floorThe following environment variables are used. They can be specified in/etc/dlock13/$door_id.conf.MSGFLO_BROKER- the MQTT broker connection details. Ex:mqtt://user:password@mqtt.example.netDLOCK13_PIN- the GPIO pin number to use. Ex:11
Package: dlogg-db
Unofficial python package to read data from aTechnische AlternativeD-LOGGdevice (usingdlogg-driver) and upload it to a database.Installationsudoaptinstalllibmysqlclient-devpipinstalldlogg-dbUsagefromdlogg_driverimportDLoggDevicefromdlogg_dbimportDLoggDbUpload,DLoggDbDownload# uploadwithDLoggDevice("/dev/ttyUSB0")asdevice:withDLoggDbUpload('db-host',3306,'db-name','db-user','db-pw')asupload:upload.update_tables_format()upload.insert_current_data(device.get_current_data())# downloadwithDLoggDbDownload('db-host',3306,'db-name','db-user','db-pw')asdownload:end=datetime.datetime.utcnow()start=end-datetime.timedelta(minutes=10)printdownload.fetch_data_range(start,end)
Package: dlogg-driver
Unofficial python package to read data from aTechnische AlternativeD-LOGGdevice.Installationpipinstalldlogg-driverUsagefromdlogg_driverimportDLoggDevicewithDLoggDevice("/dev/ttyUSB0")asdevice:printu"Type:{}".format(device.get_type())printu"Firmware:{}".format(device.get_firmware_version())printu"Mode:{}".format(device.get_mode())printu"Logging criterion:{}".format(unicode(device.get_logging_criterion()))printu"Current data:{}".format(unicode(device.get_current_data()))header=device.get_header()printu"Number of available samples:{}".format(header.get_sample_count())data=device.fetch_data_range(header.start,1)printu"Data [0]:{}".format(unicode(data[0]))device.fetch_end()CreditsMany thanks toTechnische Alternativefor allowing me to create and publish
this package under a free software license!Thanks also to H. Römer for publishingd-logg-linux.
Package: dlogging
Dynamic Logging, dlogging, is a Python library to provide the capability to change logger behaviour at runtime.InstallationInstall using pip:pip install dloggingUsageExample 1 - general loggingPython:from dlogging import DLogger, FORMATS, Fmt

log1 = DLogger("log1")  # use default logging format, filename
log2 = DLogger("log2", log_fmt=FORMATS[Fmt.FNAME_LINENO_LEVEL])
log3 = DLogger("log3", log_enabled=False, cout_enabled=True)  # log to file disabled

def log_messages():
    log1.info("msg #2")
    log2.info("msg #3")
    log3.error("msg #4") # message not logged to file, but display on stdout

log1.info("msg #1")
log_messages()By default, messages are logged in logs/app.logSee tests/test_logging.py for more examplesExample 2 - logging overridePython:import os
import logging
from dlogging import DLogger, LOG_CONF

def write_message(logger: logging.Logger) -> None:
    logger.debug('debug message')
    logger.info('info message')
    logger.warning('warn message')
    logger.error('error message')
    logger.critical('critical message')

def message_count(filename: str) -> int:
    if os.path.exists(filename):
        with open(filename, "r") as f:
            return len(f.readlines())
    return 0

logger = DLogger(name="main", filename="app.log", log_level=logging.INFO)

write_message(logger)  # expect 4 messages written into logs/app.log
assert message_count("logs/app.log") == 4

# override log_level 'logging.INFO' w/ new log level 'logging.WARNING'
LOG_CONF.log_level = logging.WARNING  # set new log_level at LOG_CONF
LOG_CONF.override_logger_settings(True)  # this triggers log_level override

write_message(logger)  # expect 3 messages written into logs/app.log
assert message_count("logs/app.log") == 7  # expect total 7 messagesSee tests/test_override.py for more examplesContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMITMIT LicenseCopyright (c) 2016 Western Digital CorporationPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: dlogr
DlogrOverviewThis is the Python client/request wrapper for the Dlogr project.If you don’t know what’s Dlogr you definitely shouldcheck it out on Dlogr official website.InstallationInstallation is simple aspip install dlogr.  =]UsagePlease refer tousage.ContributeDid you think in some interesting feature, or have you found a bug? Please let me know!Of course you can also download the project and send me somepull requests. (seecontributing sessionfor more details)You can send your suggestions and bug reports byopening issues.You can contribute to this project in many other ways. Please take a lookherefor more details.You can contact me directly as well. Take a look at my contact information athttp://filwaitman.github.io/(email is preferred rather than mobile phone).