Saravanan666/pypi-org huggingface dataset:
Package: dmcode
DMCDMCode - like adeploy my codeAllows you to upload your code to an ftp server without any ftp/sftp clients.why is this needed?for example, you need to quickly deploy code or files to a remote ftp or sftp server directly from a directory with easy-to-understand console commands.Where is working?Linux, MacOS,Windows- in progress :rocket:TODO v1.0add mysql backup restoreask user when replacing file [--replace ASK|NOT|default: replace all]add save rights after deployingadd windows supportadd "paste" methoddmc.iniUsing the configuration filedmc.ini, you can exclude directories, files or file extensions that you do not need, and more.
Just execute the command in the desired directory forftp:dmcode--ftp_configor forsftp:dmcode--sftp_configor specifyftpsettings right away:dmcode--ftp_config|--sftp_config--host<your_ftp_host>--port<your_ftp_port>--password<your_ftp_password>--path/var/www/htmlthis is to create a configuration filedmc.inithat you can edit.[DMC]
ignore_ext = ignored extensions for upload
ignore_files = ignored file names for upload
ignore_dirs = ignored directory names for upload
max_size_dir_mb = allowed maximal directory size for upload (in Bytes)
max_size_file_mb = allowed maximal file size for upload (in Bytes)Deploy your codeJust execute:dmcode--ftp|--sftpSetuppipinstalldmcodeorgitclonehttps://github.com/foozzi/dmcode.git&&cddmcode
pythonsetup.pyinstall
Package: dm-control2gym
IntroductionI simplifiedmartinseilair'sdm_control2gymas well as made it compatible with the latestMuJoColibrary(e.g., 2.0.0). .... yeah,, I will upload the documents when I have time.Installation$pipinstalldm_control2gymDependenciesPlease check therequirements.txtor justpip install -r requirements.txtUsageMDP tasks:envreturns a state of a robot at each time-stepimportitertoolsfromdm_control2gym.utilimportmake_dm2gym_env_stateenv=make_dm2gym_env_state(env_name="cheetah_run")state=env.reset()print("State shape: ",state.shape)total_reward=0fortinitertools.count():action=env.action_space.sample()state,reward,done,_=env.step(action)total_reward+=rewardifdone:breakenv.close()print("Total Reward:{}".format(total_reward))POMDP tasks:envreturns a raw image observation at each time-stepimportitertoolsfromdm_control2gym.utilimportmake_dm2gym_env_obsfromdm_control2gym.recorderimportMonitorenv=make_dm2gym_env_obs(env_name="cheetah_run",num_repeat_action=1)env=Monitor(env=env,directory="./log",force=True)obs=env.reset()print("Obs shape: ",obs.shape)total_reward=0env.record_start()env.reset()fortinitertools.count():action=env.action_space.sample()obs,reward,done,_=env.step(action)total_reward+=rewardifdone:breakenv.record_end()env.close()print("Total Reward:{}".format(total_reward))VideosFor more detailsPlease refer tomartinseilair'sdm_control2gym
Package: dmcutils
DMC UtilsPrograms used to help with the Dual-Multi-sCale (DMC) experiment.
Example of dealing with 100000 - 1 million Andor Neo spool files in a fast way.Installationpython -m pip install -e .Functionsangledistcomputes angular distance between points (in degrees)
for a pair of points with RA,decl. or az,el.NotesInstall Matlab Engineoptional, just for corrupted 2010 Solis files.The Andor Solis Neo spool file format has changed at least three times.
This spool reader is known to work for the 2011-2012 versions (I don't have exact version numbers, but could find out if you need).For 2008-Spring 2011 spool files, see theandor_neo_spooldirectory in this repo.
Package: dmdj
# Data Models Django[![Circle CI](https://circleci.com/gh/chop-dbhi/data-models-django/tree/master.svg?style=svg)](https://circleci.com/gh/chop-dbhi/data-models-django/tree/master) [![Coverage Status](https://coveralls.io/repos/chop-dbhi/data-models-django/badge.svg?branch=master&service=github)](https://coveralls.io/github/chop-dbhi/data-models-django?branch=master)Django model generator for [chop-dbhi/data-models-service](https://data-model-service.research.chop.edu) style JSON metadata.## InstallationIf you're not using a Python virtual environment, please do. I prefer [pyenv](https://github.com/yyuu/pyenv) with [pyenv-virtualenv](https://github.com/yyuu/pyenv-virtualenv).Get the most recent stable version:```pip install dmdj```Or build and install the (unstable) `HEAD` version:```git clone https://github.com/chop-dbhi/data-models-django.gitcd data-models-djangomake install```## UsagePlace the following in your app's `models.py` file:```pythonimport requestsfrom django.db import modelsfrom dmdj.settings import get_urlfrom dmdj.makers import make_modelmodel_url = get_url('pednet', '2.1.0')model_json = requests.get(model_url).json()for model in make_model(model_json, (models.Model,), module='yourapp.models',app_label='yourapp')globals()[model.__name__] = model```This code causes a single web request at runtime, which may slow down your app's startup. Also, the models are dynamically generated and so may change over time, although efforts to improve the semantic versioning and stability practices in the data-models repo are under way.## Development### InstallationInstall the development requirements and the package in "editable" mode.```git clone https://github.com/chop-dbhi/data-models-django.gitcd data-models-djangomake devinstall```### TestingTests are run on the source code using `tox` to replicate them across the range of compatible `Django` and `Python` versions, for the `Python` versions you have available in your environment. I like to create a `dmdj` virtual environment from `3.5.x` and then use `pyenv local dmdj 3.4.x 2.7.x````make test```### CoverageGenerate test coverage information that prints in the terminal and creates HTML and XML format files.```make coverage```## DeploymentThese tasks are routinely handled by the CI/CD workflow, but I'll document them here anyway.### CoverallsPublish test coverage information to coveralls (the project must be registered and the token must be in the `COVERALLS_REPO_TOKEN` env var).```make coveralls```### ReleaseRelease a new final version by pushing a new tag to GitHub and uploading the dist files to PyPi (the project must be registered at PyPi and you must have PyPi credentials available or in the `PYPI_USER` and `PYPI_PASS` env vars).```make release```
Package: dmdlab
Dynamic mode decomposition (DMD)is a tool for analyzing the dynamics of nonlinear systems.This is an experimental DMD codebase for research purposes.Alternatively, check outPyDMD, a professionally maintained open source DMD
codebase for Python.Installation:pipinstalldmdlabUsage:fromdmdlabimportDMD,plot_eigsimportnumpyasnpfromscipy.linalgimportlogm# Generate toy datats=np.linspace(0,6,50)theta=1/10A_dst=np.array([[np.cos(theta),-np.sin(theta)],[np.sin(theta),np.cos(theta)]])A_cts=logm(A_dst)/(ts[1]-ts[0])x0=np.array([1,0])X=np.vstack([expm(A_cts*ti)@x0fortiints]).T# Fit modelmodel=DMD.from_full(X,ts)# Print the eigenvalue phasesprint(np.angle(model.eigs))>>>[0.1,-0.1]For a technical reference, check out theDMD book.
Package: dmdm
Django MarkDown MailWrite your email in markdown, and send them in txt & html.RequirementsPython 3.7+Django 2.0+nmdmailInstallpython -m pip install dmdmUsageThis replaces django'sdjango.core.email.send_mail, but the mail will have an html alternative rendered from the text
part with markdown. You can also provide a customcssand even images (that will be inlined) located inimage_root.fromdmdmimportsend_maildefsend_mail(subject:str,message:str,from_email:str,recipient_list:List[str],context:Optional[Dict]=None,request:Optional[HttpRequest]=None,fail_silently:bool=False,css:Optional[str]=None,image_root:str=".",auth_user:Optional[str]=None,auth_password:Optional[str]=None,connection:Optional[BaseEmailBackend]=None,reply_to:Optional[List[str]]=None,)->intIf you want to write your markdown in a template, just put the name of the template inmessageand add acontext(which can be{}) and eventually arequest:send_mail(subject,"test_email_template.md",from_email,recipient_list,{"template_variable":"value"},)
Package: dme
SMLM Drift estimation library, see publication:Jelmer Cnossen, Tao Ju Cui, Chirlmin Joo, and Carlas Smith,
“Drift correction in localization microscopy using entropy minimization,”
Opt. Express 29, 27961-27974 (2021)https://opg.optica.org/oe/fulltext.cfm?uri=oe-29-18-27961&id=457245
Package: dm-easy-db
db公共模块通用的数据库连接模块，目前能支持到mysql、pg、hive、impala、phoenix的连接和操作功能规划基础功能：通用的连接接口，避免频繁操作原始的数据库接口线程池异步操作使用说明# 引入相应的数据库连接 目前支持mysql、impala、hive、pg、phoenix# 分别对应MysqlDB、ImpalaDB、HiveDB、PgDB、PhoenixDBfromeasy_db.dbimportMysqlDBmysql_db=MysqlDB(user='bigdata',password='bluemoon2018#',database='xxl-job',host='192.168.235.3',port=3306)res=mysql_db.select('select * from demo')print(res)安装说明方法1使用git clone 把项目下载到本地进入项目目录，运行python setup.py install 安装方法2直接把db.py 复制到项目中，引入相关的函数和类即可使用方法3pip install dm-easy-dbPackage name: dm-easy-db
Ver: 0.1.0
Package: dmelon
DMelonPersonal package containing some useful stuff I tend to repeat.Free software: MIT licenseDocumentation:https://dmelon.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand thepyOpenSci/cookiecutter-pyopensciproject template, based offaudreyr/cookiecutter-pypackage.History0.1.0 (2020-08-01)First release on PyPI.
Package: dmenu-bitwarden
DisclaimerAlthough I belive this program is safe, You should use this program at Your own risk.InstallationNote: This program has been tested only on Linux.Dmenuandpython3are required to run this program.
The program communicates with the user usingnotify-send, which should be available on Your system.You also need theofficial CLI of Bitwarden.You should
log in on Your own first, especially if You use any form of 2-Factor Authentification (bw login).You can install the package via pip using the following command:$ pip install dmenu-bitwardenUsage$ python -m dmenu-bitwardenPassword prompt should appear. After you put in Your password you can choose the account for which
you want your password. The selected password will be copied to your clipboard.I recommend You bind this to a keyboard shortcut, e.g.,super + p. (recommendedHotkey daemon)DocumentationYou can find the documentationhere
Package: dmenu-hotkeys
dmenu-hotkeys[![pypi](https://img.shields.io/pypi/v/dmenu_hotkeys.svg)](https://pypi.python.org/pypi/dmenu_hotkeys)
[![travis](https://img.shields.io/travis/maledorak/dmenu-hotkeys.svg)](https://travis-ci.org/maledorak/dmenu-hotkeys)
[![codecov](https://codecov.io/gh/maledorak/dmenu-hotkeys/branch/master/graph/badge.svg)](https://codecov.io/gh/maledorak/dmenu-hotkeys)
[![docs](https://readthedocs.org/projects/dmenu-hotkeys/badge/?version=latest)](https://dmenu-hotkeys.readthedocs.io/en/latest/?badge=latest)Your hotkeys for various apps in ‘dmenu’ style.FeaturesThis app allows you to prepare cheat sheet of hotkeys from your apps in simple menu with search.![screenshot](docs/shot.png)Supported### Menus
* [dmenu](https://tools.suckless.org/dmenu/)
* [rofi](https://github.com/davatorium/rofi)### Apps
* [i3](https://i3wm.org/)
* [openbox](http://openbox.org/wiki/Main_Page)RequirementsThis app needs below apps as a GUI, so install one of these first.
* dmenu
* rofiInstall### From pip
This app works on Python 2.7, 3.4, 3.5, 3.6, 3.7, so the best choice is installation using pip` pip install--userdmenu-hotkeys`then you could run it by typing in console` dmenu_hotkeys `### From git repo
Clone repository` git clonegit@github.com:maledorak/dmenu-hotkeys.git. `and run script in bin dir like this`./dmenu-hotkeys/bin/dmenu_hotkeys`How to use### Run menu with hotkeys
1. Add the following comment line before hotkey line which you want to use in your app config file.eg:i3:# %%hotkey: Some description of the following hotkey %%openbox:<– %%hotkey: Some description of the following hotkey %% –>Notice: For full configuration file examples check [test/fixtures](./tests/fixtures) directoryRun the dmenu-hotkeys` dmenu_hotkeys run--menu[dmenu|rofi]--app[i3|openbox] `Check help if you want to know more` dmenu_hotkeys run--help`### Override dmenu-hotkeys configuration file
If you want to change default configuration paths for apps (i3, openbox, etc)
you should override dmenu-hotkeys config file.` dmenu_hotkeyscopy-config`The default path for the overridden configuration file is`$HOME/.config/dmenu_hotkeys/config.cfg`You could change it` dmenu_hotkeyscopy-config--destsome/path/config.cfg `But since then you always should run dmenu-hotkeys with this new path` dmenu_hotkeys run--menu[dmenu|rofi]--app[i3|openbox]--config-pathsome/path/config.cfg `HistoryUnreleasedAdded dots enabling in config.cfgAdded coverageAdded config as a singleton.Added conf path passing from console argument.Added testing conf and application fixtures.Added copy-config command to copying config files to the user home dir.Added menu and apps installation validation.1.0.0 (2019-03-09)First release on PyPI.
Package: dmenuplaylist
dmenuplaylistdmenuplaylist is a simple playlist manager for use with mpv.  You can add files,
urls, images, whatever mpv will play to your playlist and open that playlist in
mpv. Checkout the repo for a lua script to automatically remove any item in your
playlist once you've finished watching it.You can set theremovevalue indmenuplaylist.confto a comma separated list
of any of the values returned byend-file. The
default value ofremoveiseofbut you can use something like this if you like:remove=eof,quit,file_errorThestopreason seems to come up a lot with torrents or
youtube/stream links so it is advised to avoid using that
setting.
Package: dmenutrello
dmenutrellotrello for dmenuInstallationInstall dmenu
for Arch-based distros:pacman -S dmenufor Debian-based distros:apt-get install dmenuto install my package simply typepip install dmenutrello --userUsagecreate a file called.dmenutrelloin your home directory with this content:your Trello key & tokenyour dmenu appearance settingsthe terminal in which vim will be openedlike this:[TRELLO]
key = YOUR_TRELLO_KEY
token = YOUR_TRELLO_TOKEN

[DMENU]
font = DejaVu Sans Mono for Powerline-14
background_selected = #2aa198
foreground_selected = #191919
foreground = #2aa198
background = #191919

[TERMINAL]
terminal = urxvt
terminal_argument = -eto use this script calldmenutrelloexample i3 key bindingbindsym $mod+t exec $HOME/.local/bin/dmenutrelloyou can navigate through your boards, lists, cards and commentsby typing in a new name the corresponding element will be addedtodobasic navigationadd a .. option to go up one leveladd objects(board, lists, cards, comments)open comments in vim and save themopen links in webbrowsermark cards as checked
Package: dmerk
Readmedmerk (pronounced dee-merk) is a program that creates amerkle treefor your directories.This can be useful in many situations. For example, to detect which file was modified, or to compare two backups for duplicate files.
Think hash digest / checksum verification, but instead of comparing just a pair of hash digests, we are comparing two trees of digests.Installationpip install dmerkUsage / Quickstartdmerk can be used to generate, compare and analyse directory merkle treesgenerateTo generate a merkle tree for a directory:dmerk generate /path/to/directoryBy default, the output is not printed to stdout, since it may be quite large and might pollute the terminal.
Instead, the output is saved as a json file in the current directory.
This behavior can be modified using the--no-saveand--printflags to thegeneratesubcommand.compareTo compare two merkle trees,dmerk compare <path1> <path2>The paths path1 and path2 can be paths to directories, or they can be path to json files created using generate.analysehelpTo view the help text from the cli (which provides more information than this usage section):dmerk --help
dmerk generate --help
dmerk compare --help
dmerk analyse --helpFeatures and LimitationsCurrently tested only for Linux, support for Windows and OSX coming soon™.The program requires read permission on files, and read and execute permissions on directories. Missing permission would throw an exception.Will only handle normal files, directories and symlinks (to normal files and directories).Presence of "special" files like char/block devices, sockets, pipes, or symlinks (to "special" files) will throw an exception.Will handle hidden files and directories.Will only work for file and directory names that are valid utf-8 byte sequences.If you'd like support for non-utf-8 file/directory names, kindly +1this issue.Currently, the digest algorithm used is md5, because it's fast. CLI option for this coming soon™.Currently, directory digest only depends on it's file contents, and is independent of the file names and file metadata (permissions, owner, group, atime, mtime, ctime etc).If you have a need for directory digest that depends on metadata, please open a new issue explaining the use-case.DevelopmentIf you want to report bugs/issues, or need help troubleshooting, or have an idea for a new feature/improvement,
kindly file and issue in github, and I'll take a look as soon as I can.
Thank you for showing interest in this software 😁.Running testsTests can be run using,(venv) raghuram@raghuram-PC:~/Workspace/dmerk$ pytest
(venv) raghuram@raghuram-PC:~/Workspace/dmerk$ pytest -s
(venv) raghuram@raghuram-PC:~/Workspace/dmerk$ python -m pytest
(venv) raghuram@raghuram-PC:~/Workspace/dmerk$ python -m pytest -s
Package: dmete
dmete基于谭永强提供的自动气象站观测下载接口，下载小时气象数据，并输出成标准的文本格式用法$ python -m dmete -h
usage: __main__.py [-h] [-b BEGTIME] [-e ENDTIME] [-o OUTPATH]

Parameters of this program

optional arguments:
  -h,         --help             show this help message and exit
  -b BEGTIME, --begTime BEGTIME  开始北京时间
  -e ENDTIME, --endTime ENDTIME  结束北京时间
  -o OUTPATH, --outPath OUTPATH  输出路径如果不是在公司内网下载，请修改dmete/dump.pyclassNetConfigure:''' globale variables '''user='moshi'pswrd='ad7ed4f6730a7e784535c3b6a0becc92'inner="http://10.110.18.215:8000/dataSup/getZrAws1DataIntegral"outer="http://61.50.111.214:19008/dataSup/getZrAws1DataIntegral"address=outer# inner例子python-mdmete-b2018090100python-mdmete-b2018090100-e2018090221python-mdmete-b2018090100-e2018090221-o./obs
Package: dmethylation
dmethylation-----------Dmethylation is a Django app to store the Illumina methylation data. It can be used for Illumina InfiniumHumanMethylation450 BeadChip and Infinium MethylationEPIC BeadChipQuick start-----------1. Add "dgenome" to your INSTALLED_APPS setting like this::INSTALLED_APPS = [...'dgenome','dmethylation',]2. Include the dgenome URLconf in your project urls.py like this::url(r'^dmethylation/', include((dmethylation.urls, 'dmethylation'), namespace='dmethylation')),3. Run `python manage.py makemigrations dgenome` to create the dgenome tables.4. Run `python manage.py makemigrations dmethylation` to create the dmethylation tables.5. Run `python manage.py migrate` to create the dmethylation models.6. Insert the Illiumina HumanMethylation450 or MethylationEPIC CSV file with thescript: bin/load_annotation_HumanMethylation450.py7. See available API endpoints:/dmethylation/api/
Package: dmf-device-ui
dmf-device-uidmf-device-uiis a graphical user interface to control a digital
microfluidics control system (such as the MicroDrop/DropBot system described in
detail in [Fobel et al., Appl. Phys. Lett. 102, 193513 (2013)][2]).If you use this software in work that you publish, please cite as appropriate.Installation## Automatic installation ##Thedmf-device-uipackage is a dependency of thedmf_device_ui_pluginMicroDrop plugin, and will be installed automatically if thedmf_device_ui_pluginplugin is installed.## Manual installation ##pip install –find-linkshttp://192.99.4.95/wheels–trusted-host 192.99.4.95 dmf-device-uiThe–find-linksand–trusted-hostare required to provide binary Gtk2
dependencies as wheels.  Visithttp://192.99.4.95/wheelsto browse the
contents.The wheels server at192.99.4.95is maintained by Christian Fobel
<christian@fobel.net>.UsageThedmf-device-uiGUI will be launched automatically from MicroDrop if thedmf_device_ui_pluginplugin is installed.## Actuate electrodes ##![Actuate electrodes][actuate-electrodes]## Draw route ##Click and drag to draw route following mouse cursor.![Draw route][draw-route]## Draw mix ##End a route at the starting point to draw a mixing route/cycle.![Draw mix][draw-mix]## Auto route ##Hold<alt>, click on source electrode, and release on target electrode to
automatically find a route between the source and target.![Auto route][auto-route]## Adjust layer alpha ##The alpha/opacity of each layer (e.g., connections, electrode shapes, labels)
can be adjusted independently.![Adjust layer alpha][adjust-layer-alpha][1]:http://microfluidics.utoronto.ca/microdrop[2]:http://dx.doi.org/10.1063/1.4807118[3]:https://pypi.python.org/pypi/microdrop[actuate-electrodes]: docs/static/images/actuate-electrodes.gif
[draw-route]: docs/static/images/draw-route.gif
[draw-mix]: docs/static/images/draw-mix.gif
[auto-route]: docs/static/images/auto-route.gif
[adjust-layer-alpha]: docs/static/images/adjust-layer-alpha.gifCreditsChristian Fobel <christian@fobel.net>
Package: dmfrbloom
dmfrbloomBloom filters with Python standard library.ExamplesNormal bloom filter. Expects 10,000 elements with 99.99% accuracy:>>> from dmfrbloom.bloomfilter import BloomFilter
>>> bf = BloomFilter(10000, 0.01)
>>> bf.add("test")
>>> bf.lookup("test")
True
>>> bf.lookup("not in filter")
False
>>> bf.save("/home/daniel/filter")
>>> bf2 = BloomFilter(1, 0.1)
>>> bf2.load("/home/daniel/filter")
>>> bf2.lookup("test")
True
>>> bf2.lookup("also not in filter")
FalseTime-based filter. 10k elements, 99.99% accuracy, results decay after
60 seconds:>>> from dmfrbloom.timefilter import TimeFilter
>>> tf = TimeFilter(10000, 0.01, 60)
>>> tf.add("asdf")
>>> tf.lookup("asdf")
True
>>> import time
>>> time.sleep(60)
>>> tf.lookup("asdf")
False
Package: dmgbuild
What is this?dmgbuildis a command line tool to create macOS disk images (aka.dmgfiles).  While it is possible to create disk images easily enough
from the command line using thehdiutilprogram that ships with macOS,
there is no easy way to configure the appearance of the resulting disk image
when the user opens it.dmgbuildallows for full customization of the resulting disk image,
without relying on Finder, and without using deprecated APIs (like the
Alias Manager functions).See thedocumentationfor more information.
Package: dmglib
dmglibdmglibis a tiny python wrapper built around thehdiutilcommand line tool on macOS. It is intended to be used to work with the contents of DMG files on macOS.dmglibprovides functions for the following tasks:Querying the list of currently attached disk images on the systemChecking whether a target disk image is password-protectedChecking whether a given password is correct for a target disk imageAttaching and detaching disk images
Package: dmiapi
Installationpip install dmiapiData availableobservationsforecastsUsageThe wrapper supports both synchronous and asynchronous methods.Synchronous exampleimportpandasaspdimportdmiapiclient=dmiapi.DmiApiClient()obs_response=client.observations(station_id=2619856)obs=pd.DataFrame(obs_response['observations'])print('Mean temperature (2 meters above ground):',obs['temperature2m'].mean())Asynchronous exampleimportpandasaspdimportdmiapiasyncdefmax_forecast_temp():client=dmiapi.DmiApiClient()forecasts_response=awaitclient.async_forecasts(location_id=2619856)forecasts=pd.DataFrame(forecasts_response['forecasts'])print('Forcasted max. temperature:',forecasts['temp'].max())