Saravanan666/pypi-org huggingface dataset:
Package: dranspose
dransposedranspose is a framework to perform a distributed transpose from multiple streams of partial events into parallel workers with full events.This is useful e.g. for assembling image frames which are captured by separate detectors.DocumentationInstallationTo install the package runpip install dransposeUsageThedransposecli wrapper allows to start different parts of the system or run them combinedTestingTo get debug logs for the tests which are useful when debugging usepytest --log-cli-level=DEBUG
Package: drapery
Drapery is a Python library and CLI tool to convert 2D geometries to 3D given an elevation source.InstallationTo install from the Python Package Index:$pip install draperyTo install from Anaconda Cloud:If you are starting from scratch the first thing to do is install the Anaconda Python distribution, add the necessary channels to obtain the dependencies and install drapery.$condaconfig--appendchannelsconda-forge$condainstalldrapery-cmrahnisTo install from the source distribution execute the setup script in the drapery directory:$python setup.py installExamplesTo doLicenseBSDDocumentationLatesthtml
Package: drasticali
drasticaliDiverse Radio Astronomy Software Tools for Imaging and CalibrationMain website:DRASTICALIIntroductionRadio astronomy reduction tools for the next generation radio telescope.InstallationInstallation fromsource,
working directory where source is checked out$pipinstall.This package is available onPYPI, allowing$pipinstalldrasticaliThen pull and/or build stimela imagesuDocker[Recommended]$stimelapullPodman[Recommended]$stimelapull-pSingularity[Recommeded]$stimelapull--singularity--pull-folder<foldertostorestimelasingularityimages>Docker$stimelapull-d$stimelabuildLicenseThis project is licensed under the GNU General Public License v3.0 - seelicensefor details.ContributeContributions are always welcome! Please ensure that you adhere to our coding
standardspep8.
Package: drasyl
Website|Documentation|Contributing|Changelogdrasyldrasyl[dʁazy:l] is a general-purpose overlay network framework for rapid development of distributed
P2P applications.By using drasyl developers can fully concentrate on creating distributed applications. With drasyl,
boundaries between IP-based networks will be eliminated and secure communication channels between
any peers will be provided. Zero-configuration is required to use drasyl. Developers can run a new
drasyl node without having to write configuration files or provide IP addresses of peers.FeaturesProvides Communication Channels between any two Nodes (on the Internet).Automatic Discovery of Peers running within same Process, Computer, LAN, or the Internet.Automatic Handover to most local Route.Overcomes Network Barriers (Stateful Firewalls, NATs).UDP Hole Punching.Port Mapping (UPnP-IGD, NAT-PMP, PCP).Communication is (PFS) encrypted.Reacts to Network Connection Changes.Asynchronous and Event-Driven.Lightweight.Extensible.Usage & DocumentationGetting StartedConfigurationCommand Line InterfaceLicenseThis is free software under the terms of theMIT License.
Package: drat
Text (readability) analysis tool written in Python (2.7 and 3).FeaturesDrat is a tool that analyzes reading texts and produces a brief report
which provides the following information:the Dale-Chall readability score.the Coleman-Liau Readability Index.the number of uncommon words (based on the General Service List).a list of all of these uncommon words (if you choose the verbose option).Drat supportsdocx,odt,ods,odpfiles as well as text
files and urls.You can also analyze multiple texts / links by creating a text file
with the filenames / links written in it.A simple example of how drat can be used in a web application is provided in the
webapp directory.UsePlease read thewikifor information about how to use drat.DependenciesPython (2.7 or 3), click and requests.NameDrat is a recursive acronym which either stands for Drat is a Readability
Analysis Tool or Drat is a Rabid Assessor of Texts.AuthorThis program has been developed by David Whitlock.LicenseDrat is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your
option) any later version.
Package: dratio
Dratio Python clientThe Dratio Python client allows you to effortlessly access and download data from the Dratio API using Python. Integrate a wide range of datasets from Dratio into your data science projects related to marketing, consumption, demographics, or income, and make data-driven decisions to drive innovation within your organization.Get started by installing the client and authenticating with your Dratio API key. The client provides methods to access and download the data you need, returning the data as a Pandas DataFrame for easy manipulation and analysis.InstallationThe stable version of the Dratio Python client is available onPyPIfor Python 3.7 to 3.11, regardless of the platform. Install it using pip:pipinstalldratioFor datasets with geographic information, ensuregeopandasis installed in your Python environment. Alternatively, install the package with all necessary dependencies using pip:pipinstalldratio[geo]API KeysTo use the API,create an API key. If you haven't registered,create an account on dratio.io.| Remember to securely store your API keys and avoid sharing them publicly. API keys grant access to all services on your behalf. If a key is compromised, delete and create new keys.Getting StartedTheClientclass enables access to all API resources using your API key.fromdratioimportClientclient=Client('Your API key')Basic functionality allows you to search and filter available datasets for download.client.list_datasets()After selecting aDataset, access its information and download its content as a PandasDataFrameor, for datasets with geographic information, as aGeoDataFrame.dataset=client.get_dataset('municipalities')df=dataset.to_pandas()# Download as DataFramegdf=dataset.to_geopandas()# GeoDataFrame with geographic informationTo gain a comprehensive understanding of the Dratio Python client and explore all its features, visit theofficial documentationon Read the Docs.License & Terms and ConditionsThis source code is licensed under the Apache License, Version 2.0. Obtain a copy of the License atapache.org.The use of the data offered by this client must comply with Dratio's terms and conditions. Obtain a copy of the terms atdratio.io/legal/.SupportIf you encounter a bug or have a feature suggestion, please log an issue or contact us through our page or via email atinfo@dratio.io
Package: draughts
DraughtsIncoming requests, outgoing queries, and messages being passed around often contain
data that needs be normalized to account for things like missing data, types,
or default values. This is a simple tool for generating boilerplate for data objects.Notes:Tries to be inplace, the dict you start with should still exist with the structure+type corrections applied.Let IDEs check type annotations and attribute spelling.Let you annotate fields with metadata that other systems may need in order to process the document properly.Properties and methods are copied in.
Package: draw2Svg
draw2SvgThis is fork to drawSvg, in which we try to readjust its coordinate system to follow SVG standardA Python 3 library for programmatically generating SVG images (vector drawings) and rendering them or displaying them in a Jupyter notebook.Most common SVG tags are supported and others can easily be added by writing a small subclass ofDrawableBasicElementorDrawableParentElement.An interactiveJupyter notebookwidget,drawSvg.widgets.DrawingWidget, is included that can update drawings based on mouse events.Installdraw2Svg is (not available yet) available on PyPI, but on test PyPI:$ pip install -i https://test.pypi.org/simple/ draw2SvgPrerequisitesCairo needs to be installed separately. When Cairo is installed, drawSvg can output PNG or other image formats in addition to SVG. See platform-specificinstructions for Linux, Windows, and macOS from Cairo. Below are some examples for installing Cairo on Linux distributions and macOS.Ubuntu$ sudo apt-get install libcairo2macOSUsinghomebrew:$ brew install cairoFor more detailed manuals, go to our website:https://draw2svg.netlify.app/
Package: draw3d
draw3d工具包本项目旨在使用不同的Python绘图后端绘制三维规则图形1. 安装pipinstalldraw3d2. 使用示例2.1 Matplotlib后端importmatplotlib.pyplotaspltaxGlob=plt.axes(projection='3d')MatplotPainter.drawCube(axGlob,0,0,0,0.5,0.5,0.5)# 绘制cubeMatplotPainter.drawCylinder(axGlob,0.5,0,0,1,0.5,0.5,alpha=0.8,main_axis='x')# 绘制圆柱体MatplotPainter.setAxisLimits(axGlob,2,2,2)# 设置各坐标轴范围MatplotPainter.setInitView(axGlob,50,50)# 设置初始视角plt.show()# 显示图形
Package: draw-compose
Draw composeRender compose files with one command line!This project needs graphviz installed.Simple exampleSimple exampleClassic python examplePython classicInstallOn OSX:Install graphvizbrew install graphvizand draw-compose:$ pip install draw-composeUseRenders by defaultdocker-compose.ymlin the current folder.$ draw-compose -o docker.pngOr a specific docker file can be rendered:$ draw-compose -i fixtures/real.yml -o docker-specific.png
Package: drawdata
drawdataThis small Python library contains Jupyter widgets that allow you to draw a dataset in a Jupyter
notebook. This should be very useful when teaching machine learning algorithms.The project usesanywidgetunder the hood so our tools should work in Jupyter, VSCode and Colab.InstallationInstallation occurs via pip.python -m pip install drawdataTo read the data,polarsis useful, but this library also suppotspandas:python -m pip install pandas polarsUsageYou can load the scatter widget to start drawing immediately.fromdrawdataimportScatterWidgetwidget=ScatterWidget()widgetIf you want to use the dataset that you've just drawn you can do so via:# Get the drawn data as a list of dictionarieswidget.data# Get the drawn data as a dataframewidget.data_as_pandaswidget.data_as_polarsShoutoutThis work was originally part of my work over atcalmcode labsbut my employerprobablhas
been very supportive and has allowed me to work on this project during
my working hours. This was super cool and I wanted to make sure I recognise them for it.Old FeaturesThe original implementation of our widget would use an iframe to load a site in order
to be able to draw from a Jupyter notebook. This works, but requires more manual effort, only works withpandasvia the clipboard feature and needs an internet connection. Here's what that widget looks like:It will be kept around, but the way forward for this library is to build on top of anywidget.Old Feature UsageWhen you run this from jupyter, you should load in an iframe.fromdrawdataimportdraw_scatterdraw_scatter()Once you're done drawing you can copy the data to the clipboard. After this you can use pandas to read the clipboard to get your drawn data into a dataframe.importpandasaspdpd.read_clipboard(sep=",")
Package: draw-devops-against-humanity
Draw Devops Against HumanityPrint a random sentence about development and operations. Inspired and using data fromDevops Against HumanityThis project was used to demonstrate configuration examples at EuroPython 2017.0.0.4Installingpip install draw-devops-against-humanityUsage$ draw
Security through [Catastrophic Failure as a Service].You can also make it your terminal default gritting. Make sure you havefortuneinstalled and insert in your .bashrc or .bash_login:fortune | drawRunning the tests (dev)To run all test and coding style tests use Makefile to install test requiremets and run the tests:make devinstall
make testsLicenseThis project is licensed under the MIT License - see the LICENSE.txt file for details.ContactMagdalena Rother (rother.magdalena@gmail.com)AcknowledgmentsThis project was inspired byBridget KromhoutDevops Against Humanity.Kristian Rotherprovided comments and code review.
Package: drawer
Asp - Aspect Oriented Programming for PythonAn Aspect Oriented Programming Library for Python.ContributorsTom WallisSchool of Computing Science, University of GlasgowGitHub ID: probablytomtwallisgm@googlemail.comTim StorerSchool of Computing Science, University of GlasgowGitHub ID: twsswttimothy.storer@glagow.ac.ukOverviewAsp is a library for applying aspects (cross cutting concerns) to Python modules at runtime.ExamplesTodo
Package: drawgly
DrawGlyDrawGly is a Python library for drawingSymbol Nomenclature for Glycans (SNFG), usingGlyConnect API.Requirementspython>=3.9Installationpython-mpipinstalldrawglyUsageUsingget_cartoon()to get the cartoon and saving the image.
More information can be found in the docstring.Note: This function usesGlyConnect APIto get the cartoons,
please make sure you have an internet connection.fromdrawglyimportget_cartoonstruct_format="gws"structure="freeEnd--?a1D-GalNAc,p(--3b1D-Gal,p--??2D-NeuAc,p)--6b1D-GlcNAc,"\"p--??1D-Gal,p--??2D-NeuAc,p}--??1Ac$MONO,Und,0,0,freeEnd"output_path="output.png"get_cartoon(struct_format,structure,output_path)Example output:LicenseThis project is licensed under the MIT License. See the LICENSE file for more information.
Package: draw-hypertrie
Drawing HypertrieSmall tool to draw hypertrie nodes.Toolsdraw_hpertrie: Draws a depth-3 hypertrie v1 and v2 from a TSV file of integer triples.InstallFrom git repository:git clone https://github.com/dice-group/draw-hypertrie.git
cd sparql-query-tools
pip install .or with pip from PyPI:pip install draw-hypertrie
Package: drawio
drawioA library to draw networkx graphs with diagrams.netDocumentationThis library generates graphs using thecsv
API.Usageimportnetworkxasnximportdrawioimportsysg=nx.gn_graph(10)drawio.write(g,sys.stdout)This will print# identity: nodeid
# label: %label%
# style: %style%
# link: url
# width: @width
# height: @height
# layout: verticalflow
# ignore: nodeid,style,height,width,ref_0_0,ref_1_0,ref_2_0,ref_3_0,ref_4_0,label_0,label_1,label_2,label_3,label_4
# connect: {"from": "ref_0_0", "to": "nodeid", "fromlabel": "label_0", "style": "-"}
# connect: {"from": "ref_1_0", "to": "nodeid", "fromlabel": "label_1", "style": "-"}
# connect: {"from": "ref_2_0", "to": "nodeid", "fromlabel": "label_2", "style": "-"}
# connect: {"from": "ref_3_0", "to": "nodeid", "fromlabel": "label_3", "style": "-"}
# connect: {"from": "ref_4_0", "to": "nodeid", "fromlabel": "label_4", "style": "-"}
nodeid,label,tags,style,width,height,link,ref_0_0,ref_1_0,ref_2_0,ref_3_0,ref_4_0,label_0,label_1,label_2,label_3,label_4
0,-,-,-,auto,auto,-,-,-,-,-,-,-,-,-,-,-
1,-,-,-,auto,auto,-,0,-,-,-,-,-,-,-,-,-
2,-,-,-,auto,auto,-,1,-,-,-,-,-,-,-,-,-
3,-,-,-,auto,auto,-,1,-,-,-,-,-,-,-,-,-
4,-,-,-,auto,auto,-,0,-,-,-,-,-,-,-,-,-
5,-,-,-,auto,auto,-,4,-,-,-,-,-,-,-,-,-
6,-,-,-,auto,auto,-,0,-,-,-,-,-,-,-,-,-
7,-,-,-,auto,auto,-,0,-,-,-,-,-,-,-,-,-
8,-,-,-,auto,auto,-,0,-,-,-,-,-,-,-,-,-
9,-,-,-,auto,auto,-,5,-,-,-,-,-,-,-,-,-
Package: drawio2pdf
DrawIO2PDFIntroAlways wondered how to make beautiful mathematical figures with latex inside
them? You can usetikzbut it's learning
curve is steep and many only ascended people can use it fluently. How aboutdraw.io? It allows you to make beautiful figures.
What's better, you can latex-type there. But what is that? Have you tried to
export it into PDF? No? I don't recommend that if you have a figure full of
maths and you still want to have your eyes unharmed.This is why I created this tool. You can export your figures from draw.io
without worrying that it will break any math font. The output is essentially
unrecognizable from a standard tikz figure. It will look beautiful in your PDF
document and since it's a vector graphic, everyone can zoom in to take a deeper
look into your diagram.Requirementsinkscape>= 1.0pdflatex (I usesudo apt-get install texlive-fullfor that)python  >= 3.6InstallationFrom the pip repository:pip install drawio2pdfor from git:pip install git+https://github.com/kacperkan/drawio2pdf/UsageCreate your beautiful diagram, using latex formulas and so on.DisableExtras > Mathematical Typesetting.Export your diagram with SVG.drawio2pdf <path-where-you-saved-your-svg>.The script will a PDF in the same folder and the same file name.The result:FAQQ: I getAssertionError: Incorrect PDF latex generationwhile running you script!A: I met these issue personally in one of the following cases:I didn't havepdflatexorinkscapethat was runnable from the consoleI accidentally put a new line in the math formula. When usingMathematical Typesetting, draw.io will render it correctly. However, the SVG file content
will be completely broken and it's not that obvious how to parse it with theETreein python.Solution:Remove any newline in mathematical formulas
so they're one linersI totally forgot to turnMathematical Typesettingoff.LicenceThis project is licensed under the terms of the MIT license.
Package: drawioedit
Drawioedit is a simple interface to edit drawio files. It uses N2G functions and adds some features.FeaturesDrawioedit has following features:load embedded drawio from png filesset styles of shapes and linksall of the N2G drawio featuresInstallationInstall drawioedit by running:pip3installdrawioeditExamplesSet the fillcolor of a shape or a linkimportsyssys.path.insert(0,"../")fromdrawioeditimportDrawIOEditimportosred='#ff0000'base_path=os.path.dirname(os.path.realpath(__file__))drawing=DrawIOEdit(file_path=f'{base_path}/input.drawio.svg')drawing.set_shape_color('DC1-SW1',red)drawing.set_shape_color('bbnew-1',red)drawing.set_shape_color('iperf-1',red)drawing.set_shape_color('iperf-3',red)forlinkindrawing.find_link_between_nodes('DC1-SW1','bbnew-1'):link.attrib['style']=drawing._edit_style(link.attrib['style'],'strokeColor',red)forlinkindrawing.find_link_between_nodes('Backbone-1','BB-new'):link.attrib['style']=drawing._edit_style(link.attrib['style'],'strokeColor',red)print(f'saving{base_path}/output.drawio.png')drawing.save(f'{base_path}/output.drawio.png')print(f'saving{base_path}/output.drawio.svg')drawing.save(f'{base_path}/output.drawio.svg')print(f'saving{base_path}/output.drawio.jpg')drawing.save(f'{base_path}/output.drawio.jpg')print(f'saving{base_path}/output.drawio')drawing.save(f'{base_path}/output.drawio')ContributeIssue Tracker:https://github.com/jinjamator/drawioedit/issuesSource Code:https://github.com/jinjamator/drawioeditRoadmapSelected Roadmap items:add class documentationFor documentation please refer tohttps://drawioedit.readthedocs.io/en/latest/LicenseThis project is licensed under the Apache License Version 2.0
Package: drawio-python
Drawio-python is an open-source project on GitHub that enables users to generate Drawio diagrams from their code using automation. Easy to use, it works in any Python environment and can generate diagrams for any type of code. With Drawio-python, users can quickly create diagrams to better visualize their architecture.InstallationDrawio-python is available on PyPI. To install it, run the following command:pip install drawio-pythonUsageTODO: Add usage examples
Package: draw-isabelle
draw-isabelleQuick visualization tool for nested Isabelle trees which are defined by the angle brace Isabelle syntax⟨l, a, r⟩.Install and usage$pipinstalldraw-isabelle$draw-isabelle'⟨⟨⟨⟨⟩, a, ⟨⟩⟩, a, ⟨⟨⟩, a, ⟨⟩⟩⟩, a, ⟨⟨⟩, a, ⟨⟩⟩⟩'will output________a___
         /            \
     ___a___          _a
    /       \        /  \
  _a        _a      ⟨⟩   ⟨⟩
 /  \      /  \
⟨⟩   ⟨⟩   ⟨⟩   ⟨⟩ContributingPlease open PR's with fixes and code improvements; could be cool to also support the Node/Leaf syntax or maybe other useful structures.Code is also pretty untested so please LMK with breaking examples.Might also make sense to code the ASCII tree representation in this repo to remove the binarytree dependency.
Package: drawitor
DrawitorDraw Images/GIFs in your terminal.InstallpipinstalldrawitorCLI Tooldrawitorcat_dancing.gifLibraryThe library is written in a simple functional style.fromdrawitorimportdrawdraw("my_img.png")draw("super_cute_dog.gif")Check the CLI toolsource codefor an usage example.LicenceReleased under the MIT Licence
Package: drawlogo
# Draw motif logo
Python3 scripts to draw motif logo in svg format## Installation` pip3 install drawlogo `## Requirements` python >= 3.6 `## Usage` drawlogo<options>...`or` python3-mdrawlogo<options>...`To get full usage description one can execute:` drawlogo--help`The drawlogo tool is maintained by Sergey Abramov and Alexandr Boytsov.
Package: drawm
# DrawM[This project is in active development and not currently recommended for public use.][![version status](https://img.shields.io/pypi/v/drawm.svg)](https://pypi.python.org/pypi/drawm)
[![downloads](https://img.shields.io/pypi/dm/drawm.svg)](https://pypi.python.org/pypi/drawm)DrawM is a toolkit for creating publication-quality images of phylogenetic trees.##InstallThe simplest way to install this package is through pip:
> sudo pip install drawmThis package requires [Dendropy](http://www.dendropy.org/) to be installed.##CiteIf you find this package useful, please cite this git repository (https://github.com/dparks1134/drawm)##CopyrightCopyright © 2015 Donovan Parks. See LICENSE for further details.
Package: drawmatrix
Drawing on a matrixWhat is this?The module allows you to create a symbolic matrix and draw different lines on it, after which you can convert the drawn lines into a beautiful structure.Quick GuideDrawing a simple, beautiful line:my_picture = РЎanvas_matrix(10,10)
my_picture.makeline(1, 1, 8, 9)
my_picture.beautify()
my_picture.pt()UsingUsing the library is as simple and convenient as possible:Let's import it first:
First, import everything from the library (use thefrom...import *construct).To start working with the module, you need to create an object with the classCanvas_matrix, in this case we are creating a 10 by 10 matrix filled with spaces:my_picture = РЎanvas_matrix(10,10," ")This class has several methods that will help you master this library:.pt()- prints the entire matrix, if pt = True, the garden will be printed after printing for the next print:my_picture.pt(pt = False).makeline(x1, y1, x2, y2)- draws a line at two points, the coordinates start at 1, that is, the coordinate at the upper left point will be[0,0]my_picture.makeline(1, 1, 8, 9).point(x, y, r)- draws a point in x, y coordinates with the same width and height r:my_picture.point(5, 7, 2).local_draw- stores the coordinates of the local drawing, you no longer need to count the coordinates from the origin, but only from the beginning of the local coordinates:my_picture.local_draw = [x, y].beautify()- Transforms a boring picture from identical symbols into a beautiful picture with different symbols:my_picture.beautify()an example of drawing a simple picture:t = РЎanvas_matrix(10,25)
t.local_draw = [7,0]
t.makeline(0, 0, 4, 2)
t.makeline(20, 2)
t.makeline(25, -1)
t.local_draw = [2,4]
t.point(0,0)
t.point(10,-1)
t.beautify()
t.pt(False)