Saravanan666/pypi-org huggingface dataset:
Package: dh2vrml
dh2vrmldh2vrml is a utility for converting Denavit–Hartenberg parameters into X3D models, with a particular focus on creating outputs suitable for use as a MATLAB Simulink VR Sink.Installationpip install dh2vrmlUsagedh2vrml -f <file_name>Parameterstype: Joint type, eitherrevoluteorprismaticThis refers to the joint at indexi - 1, (i.e. the first joint is the base joint)d,theta,r,alpha: DH parameters as specified onWikipediaAngles are specified in radians, usetheta_degoralpha_degto specify values in degreescolor: Color of the joint and link at indexi, in RGB formatValues are floats ranging from 0 to 1The end effector is always colored(0, 1, 1), (cyan)scale: The relative size of joints and linksLinks are scaled cross sectionally (position is not affected)Joints are scaled volumetricallyThe first value scales both the base joint and the joint after itIf no value is provided, the last provided value is usedScale of the model can be set globally by only providingscalefor the first set of parametersoffset: Location to render joint relative to coordinate system (X, Y, Z)This value is NOT affected byscaleDefaults to(0, 0, 0)Revolute joints can only have a Z offsetSupported file typesYAML-type:revoluted:1.5theta:0r:3alpha:0color:[1,0,0]-type:revoluted:2theta:0r:4alpha:3.14159265359color:[0,0,1]-type:prismaticd:3theta:0r:0alpha:0color:[1,0,1]CSVd ,theta ,r ,alpha        ,type     , color
2 ,0     ,0 ,1.5707963268 ,revolute , 1 0 0
0 ,0     ,2 ,0            ,revolute , 0 1 0PythonFor the sake of making calculations involvingpieasier, Python files are supported.Beware: dh2vrml will blindly import and run whatever code is provided, always inspect the contents of the file before importingfrommathimportpiparams=[{"type":"revolute","d":2,"theta":pi/2,"r":0,"alpha":pi/2},{"type":"revolute","d":2,"theta":pi/2,"r":0,"alpha":-pi/2},{"type":"revolute","d":2,"theta":pi/2,"r":2,"alpha":0},]
Package: dhali-py
Dhali-pyThis python package is intended to support interfacing with Dhali.
It offers a cli tools for creating payment claims used to access Dhali:$ dhali create-xrpl-payment-claim -h
usage: dhali create-xrpl-payment-claim [-h] [-s SOURCE_SECRET] [-a AUTH_CLAIM_AMOUNT] [-t TOTAL_AMOUNT_CONTAINED_IN_CHANNEL]

options:
-h, --help            show this help message and exit
-s SOURCE_SECRET, --source_secret SOURCE_SECRET
-a AUTH_CLAIM_AMOUNT, --auth_claim_amount AUTH_CLAIM_AMOUNT
                        Amount (in drops) that claim authorises to be extracted from the channel (must be less than --total_amount_contained_in_channel)
-t TOTAL_AMOUNT_CONTAINED_IN_CHANNEL, --total_amount_contained_in_channel TOTAL_AMOUNT_CONTAINED_IN_CHANNEL
                        Total drops to escrow in the channel (must be less than total amount of XRP in wallet)Install and runpip install .To generate a test XRPL wallet or determine you wallet’s seed:dhali create-xrpl-walletTo generate a Dhali payment claim:dhali create-xrpl-payment-claim -s <secret from 2.> -a 10000000 -t 100000000
Package: dhall
Dhall is a programmable configuration language optimized for
maintainability.You can think of Dhall as: JSON + functions + types + importsNote that while Dhall is programmable, Dhall is not Turing-complete.  Many
of Dhall's features take advantage of this restriction to provide stronger
safety guarantees and more powerful tooling.You can try the language live in your browser by visiting the official website:https://dhall-lang.orgdhall-pythondhall-pythoncontainsDhallbindings for Python using therustimplementation. It is meant to be used to integrate Dhall
into your python applications.If you only want to convert Dhall to/from JSON or YAML, you should use the
official tooling instead; instructions can be foundhere.UsageInstall using pip:pipinstalldhallSupports the following:Operating SystemsWindowsMac OSLinux (manylinux_2_24_x86_64)Python versions3.73.83.93.103.11Python 3.5 and 3.6 support is available in older versions of dhall-python.dhall-python implements a similar API to Python'sjson
module:>>>importdhall>>>dhall.dumps({"keyA":81,"keyB":True,"keyC":"value"})'{ keyA = 81, keyB = True, keyC = "value" }'>>>dhall.loads("""{ keyA = 81, keyB = True, keyC = "value" }"""){'keyA':81,'keyB':True,'keyC':'value'}Licensedhall-python is licensed under either ofApache License, Version 2.0, (LICENSE-APACHE orhttp://www.apache.org/licenses/LICENSE-2.0)MIT license (LICENSE-MIT orhttp://opensource.org/licenses/MIT)at your option.ContributionUnless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in python-dhall by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.All contributions are welcome! If you spot any bugs, or have any requests,
issues and PRs are always welcome.Developer guideThis project usespoetryfor managing the development environment. If you don't have it installed, runcurl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
export PATH="$HOME/.poetry/bin:$PATH"The project requires the lateststableversion of Rust.Install it viarustup:rustup install stableIf you have already installed thestableversion, make sure it is up-to-date:rustup update stableAfter that, you can compile the current version of dhall-python and execute all tests and benchmarks with the following commands:make install
make test🤫 Pssst!... runmake helpto learn more.
Package: dhamma
DhammaDharma Seedis an indespensible resource for those on the Buddhist path. However, sometimes it can be challenging to commit to sitting and listening to many hours of talks when reading the content would be preferred. Thedhamma("dharma" in Pāḷi) tool in this project enables you to do exactly that.The tool works by scraping a retreat page (dharmaseed.org/retreats/3972for example), downloading the mp3 files hosted there, and then using the OpenAI Whisper and Chat APIs to transcribe, cleanup, and prepare markdown documents for easy reading anywhere. Facilities for converting these markdown documents into pdfs or epub documents are also included with this tool.DependenciesxelatexMacOS:$brewinstallbasictex
$sudotlmgrupdate--self
$sudotlmgrinstalltexliveonflypandocMacOS:$brewinstallpandocInstallationpipinstalldhammaExample Usage$dhammadownloadretreat3972-o./Soulmaking
$dhammatranscribe./Soulmaking
$dhammamakepdf./Soulmaking
Package: dhan16opm-libecl
libecllibeclis a package for reading and writing the result files from
the Eclipse reservoir simulator. The file types covered are the
restart, init, rft, summary and grid files. Both unified and
non-unified and formatted and unformatted files are supported.libeclis mainly developed onLinuxandOS X, in addition there
is a portability layer which ensures that most of the functionality is
available onWindows. The main functionality is written in C, and
should typically be linked in in other compiled programs.libeclwas
initially developed as part of theEnsemble Reservoir
Tool, other applications usinglibeclare the reservoir simulator flow and Resinsight from theOPM
project.In addition to the C code there are Python wrappers which make most of
thelibeclfunctionality available from Python. For small interactive
scripts, forward models e.t.c. this is recommended way to uselibeclfunctionality.Compiling the C codelibecluses CMake as build system:gitclonehttps://github.com/Statoil/libecl.gitcdlibecl
mkdirbuildcdbuild
cmake..
makeIf you intend to develop and changelibeclyou should build the tests
by passing-DBUILD_TESTS=ONand run the tests withctest.Compiling the Python codePython is not a compiled language, but there is a basic "build system"
which does a basic Python syntax check and configures some files to
correctly set up the interaction between the Python classes and the
shared libraries built from the C code.You need to install some Python requirements before the Python code
will work:sudo pip install -r requirements.txtThe Python + cmake interaction is handled in a separate project calledpycmake; you can either install
that manually or use the git submodule functionality to fetch the
correct version ofpycmakeinto yourlibeclcode:git submodule update --init pycmakeInstalling the Python code* pip install .
* check with: source python/check_python
Package: dhapi
비공식 동행복권 API동행복권사이트를 터미널에서 이용할 수 있게 랩핑한 API입니다.설치 밎 사용법pipinstalldhapi--upgrade# pip 최신 버전을 권장합니다: pip install --upgrade pipdhapi--help# 기본 도움말 보기dhapibuy-lotto645--help# '로또6/45' 구매 명령어의 도움말 보기dhapibuy-lotto645-y# '로또6/45' 자동모드로 5장 구매 & 확인절차 스킵구현된 기능들로또6/45 구매(buy-lotto645)자동, 수동, 반자동 모드로 구매 가능합니다.한 번에 최대 5장까지 구매 가능합니다.매주 최대 5장까지 구매 가능합니다 (온라인 구매 제약사항입니다).구매한 내역을 이메일로 전송할 수 있습니다. 고급 설정 섹션을 참고해주세요.예치금 현황 조회(show-balance)현재 보유한 예치금 정보를 조회합니다.고정 가상계좌 입금을 위한 세팅(assign-virtual-account)개인에게 할당된 가상계좌에 입금하는 형태로 예치금을 충전할 수 있습니다. 이 때 얼마를 입금할건지 사이트에서 미리 선택해두어야 하는데, 이 작업을 대신 수행합니다.입금은 직접 진행해야 합니다.간편 충전 기능은 구현되지 않았습니다.유틸성 기능들복수 프로필 지정두 개 이상의 프로필을 사용할 수 있습니다. 고급 설정 섹션을 참고해주세요.고급 설정프로필 (계정) 설정[!NOTE] 최초 프로그램을 실행할 때 프로필 정보를 세팅하는 과정이 진행됩니다. 이 섹션에선 직접 프로필 정보 파일을 수정하는 법을 안내합니다.~/.dhapi/credentials파일을 사용해 프로필 정보를 수정하거나 여러 계정을 설정할 수 있습니다. toml 포맷을 사용하고 있으며, 아래와 같은 형식으로 작성할 수 있습니다.[default]username="dhlotter_id"password="dhlotter_pw"[another_profile]username="dhlotter_second_id"password="dhlotter_second_pw"이후-p플래그로 프로필을 골라 사용합니다.이메일로 결과 전송 하기[!IMPORTANT]아래 세팅대로 진행한다면 구매 결과를 담은 이메일이 아주 높은 확률로 스팸 메일함에 들어갑니다. 이럴 경우 해당 메일을 찾아서 '스팸이 아님' 체크를 해야 이후 메일들이 일반 메일함에 들어갑니다.-e플래그로 수신할 이메일을 지정합니다. 이렇게 하면콘솔에 결과가 출력되지 않고 지정한 이메일로 전송됩니다.아래 세팅이 추가적으로 필요합니다.무료로 이메일을 보내기 위해Mailjet을 사용합니다. 가입한 후, API KEY, SECRET KEY 를 발급합니다 (https://app.mailjet.com/account/apikeys).키 정보를 ~/.dhapi/credentials 파일에 다음과 같이 기입합니다.[default]
username = "dhlotter_id"
password = "dhlotter_pw"
mailjet_api_key = "YOUR_API_KEY"
mailjet_api_secret = "YOUR_SECRET_KEY"
mailjet_sender_email = "YOUR_MAILJET_EMAIL"
[another_profile]
...이메일 전송이 필요한 프로필에만 세팅하면 됩니다.[!WARNING]mailjet_sender_email값은 '발신 이메일 주소'로 활용되며, Mailjet 회원가입에 사용한 이메일이 아닐 경우 추가 세팅을 해야됩니다.따로 세팅을 하지 않은 상태로 별도의 이메일을 기입하게 되면, 실제 메일이 발송되지 않고 'Senders and domains page'를 확인하라는 안내 메일을 받게 됩니다.기부하기이 프로그램을 사용해서 1등에 당첨된다면, 저에게 꼭 1000만원을 기부해주시길 바랍니다.그리고 딱히 당첨된 적은 없지만 그래도 커피를 사주고 싶다면, 절대 망설이지 마십시오.기여하기기여는 대환영입니다!CONTRIBUTING.md파일을 참고해주세요.
Package: dharma
Generation-based, context-free grammar fuzzer.Table of ContentsRunpippipenvpackageDockerExamplesDevelopmentDharma Grammar CheatsheetAPI DocumentationDharma in the PublicRunAll roads lead to Rome but Python 3.x is the prefered vehicle.pippipinstalldharma
dharma--helppipenvpipenvinstall--dev
pipenvrundharma--helppackagepython-mdharma--helpDockerdockerbuild-tdharma.
dockerrun--rm-itdharma-grammarsdharma/grammars/canvas2d.dgExamplesGenerate a single test-case and print it tostdout. Multiple grammars can be appended to the-grammarsargument.dharma-grammarsdharma/grammars/canvas2d.dgGenerating multiple test-cases and save the result to disk.dharma-grammarsdharma/grammars/canvas2d.dg-storage.-count5Generate test-cases and serve them in a template via WebSocket.
Launchdharma/grammars/var/index.htmlin the browser after Dharma launched.dharma-grammarsdharma/grammars/canvas2d.dg-server-templategrammars/var/templates/html5/default.htmlBenchmark the generator.timedharma-grammarsdharma/grammars/canvas2d.dg-count10000>/dev/nullDevelopmentPyLintIn case you run PyLint 1.9.2 and Python 3.7 you need to upgrade PyLint.pip3installpylintastroid--pre-UDharma Grammar CheatsheetComments%%% commentControls%const% name := valueSections%section% := value
%section% := variable
%section% := varianceExtension MethodsRefer toextensions.pyindharma/core/and to thexref_registryin theDharmaMachineclass to add further extensions.%range%(0-9)
%range%(0.0-9.0)
%range%(a-z)
%range%(!-~)
%range%(0x100-0x200)

%repeat%(+variable+)
%repeat%(+variable+, ", ")

%uri%(path)
%uri%(lookup_key)

%block%(path)

%choice%(foo, "bar", 1)Assigning Valuesdigit :=
    %range%(0-9)

sign :=
    +
    -

value :=
    +sign+%repeat%(+digit+)Using Values+value+Assigning Variablesvariable :=
    @variable@ = new Foo();Using Variablesvalue :=
    !variable!.bar();Referencing values fromcommon.dgvalue :=
    attribute=+common:number+Calling JavaScript library methodsfoo :=
    Random.pick([0,1]);API Documentationhttps://mozillasecurity.github.io/dharmaDharma in the PublicDharma mentionings in the news.https://webassembly-security.com/fuzzing-wasm-javascript-dharma-chrome-v8/https://www.zerodayinitiative.com/blog/2019/1/31/implementing-fuzz-logics-with-dharmahttp://blog.ret2.io/2018/06/13/pwn2own-2018-vulnerability-discovery/https://blog.mozilla.org/security/2015/06/29/dharma/https://www.redpacketsecurity.com/dharma-generation-based-context-free-grammar-fuzzing-tool/
Package: dharmSentiment
dharmSentiment============TL;DRa simple labMT usage script co-opted to run for historical Twitter data.This script uses the language assessment by Mechanical Turk (labMT) word list to score the happiness of a corpus. The labMT word list was created by combining the 5000 words most frequently appearing in four sources: Twitter, the New York Times, Google Books, and music lyrics, and then scoring the words for sentiment on Amazon's Mechanical Turk. The list is described in detail in the publication Dodds' et al. 2011, PLOS ONE, "Temporal Patterns of Happiness and Information in a Global-Scale Social Network: Hedonometrics and Twitter."
Package: dhasher
dhasherA python library for password hashing and verification of existing password hasheshow to useInstall packagepip install dhasherimport the packagefrom dhasher import myhashhashing a valueres=myhash.do_hash("father")
output> '88a1881f0025cf7117501d07aefc5d4be6696656790d765678df8bc48ca52687'comparing of new value with previously hashed value resmyhash.verify_hash("father",res)
output> True

myhash.verify_hash("mother",res)
output> False
Package: dhashpy
dHashPyRow-wise gradient dHash algorithm in python.dHash algorithm was originally described atKind of Like That - The Hacker Factor BlogInstallationUsingpip:pipinstalldhashpy-UInstall directly from GitHub:pipinstallgit+https://github.com/akamhy/dhashpy.gitUsage>>>fromdhashpyimportDHash>>>file="/home/akamhy/Pictures/map_of_maths.png">>>dhash_file=DHash(file)>>>dhash_fileDHash(hash=0b0110010000000011101010111100110111001101100011111000111100001110,hash_hex=0x6403abcdcd8f8f0e,path=/home/akamhy/Pictures/map_of_maths.png)>>>>>>dhash_file.hash# A 64-bit hash, notice the prefix "0b" indicating it's binary. Total string length = 64 + 2 = 66'0b0110010000000011101010111100110111001101100011111000111100001110'>>>>>>len(dhash_file)66>>>dhash_file.bits_in_hash64>>>>>>dhash_file.hash_hex'0x6403abcdcd8f8f0e'>>>>>>dhash_file-"0x6403abcdcd8f8f0e"0>>>>>>dhash_file=="0x6403abcdcd8f8f0e"True>>>>>>dhash_file-"0b0110010000000011101010111100110111001101100011111000111100001110"0>>>>>>dhash_filedhash_file>>>dir(dhash_file)['__class__','__delattr__','__dict__','__dir__','__doc__','__eq__','__format__','__ge__','__getattribute__','__gt__','__hash__','__init__','__init_subclass__','__le__','__len__','__lt__','__module__','__ne__','__new__','__reduce__','__reduce_ex__','__repr__','__setattr__','__sizeof__','__str__','__sub__','__subclasshook__','__weakref__','bin2hex','bits_in_hash','calc_hash','hamming_distance','hash','hash_hex','height','hex2bin','image','path','width']>>>dhash_file.height8>>>dhash_file.width9>>>dhash_file.image<PIL.Image.Imageimagemode=Lsize=9x8at0x7F9D324C0580>>>>Docs :https://dhashpy.readthedocs.io/en/latest/LicenseReleased under the MIT License. Seelicensefor details.
Package: dhclientlist
DHClientList============DHClientList is a tool to get the current client list of a DHCP server. With it one can check who is connected to the local network. To do this one must provide the DHCP server address (IP in local network and port), username and password. The resulting list items contains the host name, MAC address, IP and lease time.## Installation ##pip install dhclientlist**Note:** The pyOpenSSL==0.13 library is required to enable the HTTPS server mode.## Usage ##### Command-line: ###usage: dhclientlist print [-h] [-d DRIVERNAME] [-a ADDRESS] [-u USERNAME][-p PASSWORD] [-f {json,texttable}]optional arguments:-h, --help            show this help message and exit-d DRIVERNAME, --driver DRIVERNAMEspecify a driver to be used-a ADDRESS, --address ADDRESSlocal dhcp server's address. (default: 192.168.0.1:80)-u USERNAME, --username USERNAMElocal dhcp server's username. (default: admin)-p PASSWORD, --password PASSWORDlocal dhcp server's password.-f {json,texttable}, --format {json,texttable}the format of the output list. (default: texttable)### HTTP(S) Server: ###usage: dhclientlist serve [-h] [-d DRIVERNAME] [-a ADDRESS] [-u USERNAME][-p PASSWORD] [--http-username HTTP_USERNAME][--http-password HTTP_PASSWORD] [-i] [--debug]portpositional arguments:port                  port that the dhclientlist HTTP(S) server will bindoptional arguments:-h, --help            show this help message and exit-d DRIVERNAME, --driver DRIVERNAMEspecify a driver to be used-a ADDRESS, --address ADDRESSlocal dhcp server's address. (default: 192.168.0.1:80)-u USERNAME, --username USERNAMElocal dhcp server's username. (default: admin)-p PASSWORD, --password PASSWORDlocal dhcp server's password.--http-username HTTP_USERNAMEdhclientlist server username.--http-password HTTP_PASSWORDdhclientlist server password.-i, --insecure        use HTTP instead of HTTPS--debug               runs the server in debug mode### Python lib: ###import dhclientlistdhclientlist.get(address, username, password)  # optionally the 4th parameter: driver## Drivers ##The connection with DHCP server is made by a _driver_, a python module inside the **dhclientlist.drivers** package (or in any of its sub-packages) that has a get(address, username, password) function which return a list of dicts; each dict containing the following key-value pairs:("name", name_str),    # name of the guest connected to the dhcp server("mac", mac_str),      # MAC address of the guest connected to the dhcp server("ip", ip_str),        # IP address of the guest connected to the dhcp server("lease", lease_str)   # time in the format hh:mm:ss until this registry is updated in the dhcp serverThe **dhclientlist.util.find_driver** function will try to find the appropriate driver for the local DHCP server. However, the number of drivers is quite small at the moment, and dhclientlist may not succeed with the local DHCP server. In this case, one is welcome to contribute by forking this project and developing a driver to the local DHCP server.
Package: dhcomp
dhcompRationaleThere does not seem to be any permissively licenced drill hole compositing software in python.
dhcomp is a MIT licenced open source one function utility that (currently) composites geophysical data to a set of intervals.InstallationInstallationpip install dhcompUsagefrommatplotlibimportpyplotaspltfromdhcomp.compositeimportcompositeimportnumpyasnprng=np.random.default_rng(42)nsteps=100int_1=rng.gamma(1,4,nsteps)int_2=rng.gamma(1,2,nsteps)defcreate_intervals(rnums):tmp=np.cumsum(rnums)# wrap the resultfr=tmp[0:-1]to=tmp[1:]returnfr,tofr1,to1=create_intervals(int_1)fr2,to2=create_intervals(int_2)# use nsteps-1 because we loose a stepv1=np.cumsum(rng.standard_normal(nsteps-1))v2=np.cumsum(rng.standard_normal(nsteps-1))c2,_=composite(fr1,to1,fr2,to2,v2.reshape(-1,1))plt.plot(fr1,v1,'.-',label='process 1')plt.plot(fr2,v2,'.-',label='process 2')plt.plot(fr1,c2,'.-',label='process 2 values composited\nto process 1 intervals')plt.legend()plt.xlabel('steps')plt.ylabel('value')plt.title('resampled irregular time series')plt.show()Usagehttps://www.fractalgeoanalytics.com/articles/2023-01-13-compositing-drill-hole-intervals/
Package: dhcpain
# DHCPainDHCPain is a simple, no-nonsense DHCP attack toolkit built in Scapy for Python3. It is capable of locating all DHCP servers on the network as well as exhausting DHCP scopes by responding to DHCP Offer messages.### Purpose
Some attack utilities either do not work with the current version of Scapy (such as [DHCPig](https://github.com/kamorin/DHCPig)), or only floods the network with DHCP Discover packets without properly responding to DHCP Offer messages. This tool is simple and fixes both of these issues.### Setupgit clonehttps://github.com/GoodiesHQ/DHCPainThough it is not required, it is recommended to install DHCPain into a virtual environment.python3 -m virtualenv DHCPain
cd DHCPain# Linux
. bin/activate# Windows
Scriptsactivate.batOnce your environment is ready, simply install the requirements. DHCPain is a standalone python file.pip install -r requirements.txt
python dhcpain.py### Usageusage: dhcpain.py [-h] (–iface IFACE | –list) [–threads THREADS] [–delay DELAY]optional arguments:-h,--helpshow this help message and exit--ifaceIFACE,-iIFACEInterface name/index--list,-lList available interfaces--threadsTHREADS,-tTHREADSNumber of concurrent threads--delayDELAY,-dDELAYDelay between messages per thread### Example (Linux)
With Linux, the common interface name is the only thing necessary for execution:
![Attacker Side](https://i.imgur.com/f1UxsF8.png)
![DHCP Server](https://i.imgur.com/pv6czkO.png)### Example (Windows)
On Windows, you will need to provide either the complete interface name, or the index. In this case, either of these two commands would operate the same way:python dhcpain.py –iface 28
python dhcpain.py –iface “Intel(R) Dual Band Wireless-AC 8275”![Windows Interfaces](https://i.imgur.com/kpvYw2d.png)Once the interface is selected, it will perform as normal:![Attacker Side](https://i.imgur.com/8kLZFWU.png)