Saravanan666/pypi-org huggingface dataset:
Package: tangible
Tangibleis a Python library to convert data into tangible 3D models. It
generates code for different backends likeOpenSCADorImplicitSCAD. It is
inspired by projects likeOpenSCADandd3.js.ImplementationThe difference from Projects likeSolidPythonis thatTangibleis a modular
system with an intermediate representation of objects that is capable of
generating code for different backends, not justOpenSCAD. Additionally, its
main focus is not general CAD, but printable 3D visualization of data.The workflow to get a real object from data is as follows:Python code => Intermediate representation (AST) => Programmatic CAD code
=> STL file => Slicer => G code => 3D printer => Tangible objectOf these,Tangibledoes the first three steps. The fourth step is handled by
a programmatic CAD tool likeOpenSCADorImplicitSCADand the last four
steps are handled by the specific 3D printer software.Currently supported Python versions are 2.6 and 2.7. Support for 3.3+ is
planned.This library was my student research project thesis atHSR.
You can find the thesis paper here:http://dbrgn.ch/sa-thesis.pdfContributions are very welcome! Please open an issue or a pull request.InstallationYou can install Tangible directly via PyPI:pip install tangibleIf you want the current development version:pip install -e git+https://github.com/dbrgn/tangible#egg=tangible-devDocumentationDocumentation can be found on ReadTheDocs:http://tangible.readthedocs.org/If you want to know more about the architecture of the library, please refer to
mythesis PDF.Coding GuidelinesPEP8viaflake8with max-line-width set to 99 and
E126-E128,E266,E731 ignored.All Python files must start with an UTF8 encoding declaration and somefuture-imports:# -*- coding: utf-8 -*-from__future__importprint_function,division,absolute_import,unicode_literalsDocstrings convention:Sphinx style.TestingPrepare:pip install -r requirements-dev.txt --use-mirrors
pip install -e .Run tests:py.testViolations of the PEP8 coding guidelines above will be counted as test fails.VersioningTangible implementsSemantic Versioning 2.0.LicenseLGPLv3 or laterhttp://www.gnu.org/licenses/lgpl.html
Package: tangled.contrib
tangled.contribis a namespace package for third party Tangled extensions.
The layout for such an extension looks like this:${project root}/
    setup.py
    README
    tangled/ (empty directory)
        contrib/ (empty directory)
            ${package name}/
                __init__.pyThetangled scaffoldcommand can be used to create such a package:tangled scaffold contrib tangled.contrib.sqlalchemyNoteThetangled.contribnamespace can be used by anyone, but please
don’t name your packagetangled.{name}–the top leveltanglednamespace is reserved for official packages.This will create the following directories and files in the directory where the
command was run:tangled.contrib.sqlalchemy/
    setup.py
    README
    tangled/
        contrib/
            sqlalchemy/
                __init__.pyDocumentation
Package: tangled-up-in-unicode
Tangled up in UnicodeThis module provides access to character properties for all Unicode characters, from the Unicode Character Database (UCD) .
This module provides an alternative to Python's standard libraryunicodedata.Tangled up in Unicodeprovides four main benefits compared to the standard library:Thelatest versionof the Unicode database is used.Adds human-readable class names (Property value aliases).Extends the properties to use more potential of the database.UCD version independent of Python version (Python 3.6 has UCD 9.0, 3.7 has UCD 11.0.0, 3.8 has 12.0.1, 3.9 has 13.0.0)Note that Python 3 added unicode support, but that this is different from the UCD.
Unicode support handles storing and manipulating unicode characters, while this package aims to provide properties of specific characters.ExampleThe default lookup inunicodedatafor$:PropertyValueNameDollar SignCategory (Short)ScBidirectional (Short)ETCombining0Mirrored0East Asian Width (Short)NaDecompositionExtra information provided by this packagePropertyValueCategory Alias (Long)Currency_SymbolBidirectional Alias (Long)European_TerminatorEast Asian Width Alias (Long)NarrowScript (Long)CommonScript (Short)ZyyyBlock (Long)Basic_LatinBlock (Short)ASCIIPropListPattern_SyntaxUppercase CharacterLowercase CharacterTitlecase	CharacterProperties comparisonPropertytangled-up-in-unicodeunicodedataName☑☑Decimal☑☑Digit☑☑Numeric☑☑Combining☑ + alias☑Mirrored☑☑Decomposition☑☑Category☑ + alias☑Bidirectional☑ + alias☑East Asian Width☑ + alias☑Script☑ + alias-Block☑ + alias-Age☑ + alias-Binary Property Values☑-Version14.0.0 (latest)12.0.1Table 1: presence of properties is denoted by ☑ (Unicode Character 'BALLOT BOX WITH CHECK' (U+2611)).Usageimporttangled_up_in_unicodeasunicodedataThe package can be installed via pip:pip install tangled-up-in-unicodePerformanceThe module is written in Python.
It can be compiled with Cython to gaincompetitive performancewith the native library.Unsupported featuresSome of the features inunicodedataare not supported.Featuretangled-up-in-unicodeunicodedatalookup-☑normalize-☑ucd_3_2_0-☑AcknowledgementsWhere possible, code and documentation of the original module are used.
This repository is part of the Dylan Profiling project.
Package: tangled.web
Tangled.Web is a somewhat opinionated, resource oriented Web framework. It
might be considered a “micro” framework because it simply provides a way to map
HTTP requests to resources and has no opinions regarding databases, templating,
etc.Unlike many other frameworks, there are no “views” or “controllers” here, only
resources. Resources respond to HTTP requests and return representations based
on the client’s preference (indicated via Accept headers).Documentation (in progress)Python 3Tangled.Web runsonlyon Python 3.3+. Part of the reason for this is simply
that I didn’t feel like dealing with straddling 2|3. I also wanted to use some
features that aren’t available in earlier versions (e.g., built-in namespace
packages). Finally, I’ve been itching to really learn all the new Python 3
goodness, and a Python 3 only project seemed like a good way to do that (it
has been so far).I’m also of the opinion that Python 3 hasalmostarrived. Most of the
libraries I’ve been using for the past several years (SQLAlchemy, Mako, WebOb,
etc) have already been ported.
Package: tanglegram
tanglegramUses scipy and matplotlib to plot simple tanglegrams. Inspired by the amazingdendextendby Tal Galili.InstallationFirst, getPIPand then run in terminal:pip3 install tanglegram -UTo install the bleeding-edge version from Github you can run:pip3 install git+git://github.com/schlegelp/tanglegram@masterAttention: on Windows, the dependencies (i.e. Numpy, Pandas and SciPy) will likely fail to install automatically. Your best bet is to get a Python distribution that already includes them (e.g.Anaconda).DependenciesInstalling viaPIPshould install all external dependencies. You may run into problems on Windows though. In that case, you need to install dependencies manually, here is a list of dependencies (check outinstall_requiresinsetup.pyfor version info):PandasSciPyNumpyMatplotlibHow it workstanglegramexposes three functions:tanglegram.plotplots a tanglegram (optionally untangling)tanglegram.entanglementmeasures the entanglement between two linkagestanglegram.untanglerotates dendrograms to minimize entanglementimporttanglegramastgimportmatplotlib.pyplotaspltimportpandasaspd# Generate two distance matrices and just switch labels in onelabelsA=['A','B','C','D']labelsB=['B','A','C','D']data=[[0,.1,.4,.3],[.1,0,.5,.6],[.4,.5,0,.2],[.3,.6,.2,0]]mat1=pd.DataFrame(data,columns=labelsA,index=labelsA)mat2=pd.DataFrame(data,columns=labelsB,index=labelsB)# Plot tanglegramfig=tg.plot(mat1,mat2,sort=False)plt.show()# Plot again but this time try minimizing cross-overfig=tg.plot(mat1,mat2,sort=True)plt.show()Known Issues:layout does not scale well, i.e. small dendrograms look weirdLicense:This code is under GNU GPL V3
Package: tango-admin
Tango Admin=====Tango Admin is a collection of simple admin helpers for Django apps.It includes:* A responsive admin theme (at least, a lazy first pass at one)* An admin menu column. Thanks to @kezabelle for the idea.* Inlines can support a link to the related object.* Drag and drop tabular inlines* A textarea length counter* A "nuke user" functionAnd some other minor improvements. It can be used with or without other Tango apps.
Package: tango-articles
Tango Articles==============[![Build Status](https://travis-ci.org/tBaxter/tango-articles.svg?branch=master)](https://travis-ci.org/tBaxter/tango-articles)Tango Articles is a simple but robust reusable app for news articles and blogs entries. It can power anything from a simple blog to sophisticated full-featured news sites.While it forms a key component of Tango, it can also be dropped into an existing non-Tango project.## Key features* Have as many blogs as you like running one site.* Have as many sections as you like.* Drag-and-drop photo ordering* Output is compliant with hnews microformat.##Installation:pip install tango-articlesor install directly from github:pip install git+https://github.com/tBaxter/tango-articles.git## Usage:Add the following to your installed apps```pythonINSTALLED_APPS = (# ...'django.contrib.sites', # if not already present'articles','tango_shared',# ...)```Add a `SITE_ID` to your `settings.py````python# ...SITE_ID = 1# ...```Then run `python manage.py syncdb` or `python manage.py makemigrations` and `python manage.py migrate`.`tango_shared` and [bindings for Twitter](https://github.com/sixohsix/twitter) will be installed for you.
Package: tango-autotagger
Autotagger=====Autotagger helps automatically create text links between related objects in Django applications as well as cross-reference by arbitrary admin-defined strings.Takes a given block of text and tags it according to models and fields defined in settings.### Installation``` pip install tango-autotagger ```### SETUPExample:AUTOTAG_CONTENT = ({'model'      : 'schools.school','field'      : 'school','check'      : 'is_active','m2m_field'  : 'articles','reverse_m2m': 'politicians',},... etc ...)THE FIELDS...model:the app and model to checkfield:the particular field/value you are matching in the textcheck:an optional field to filter by. Maybe. If we can figure out how to do it...m2m_field:Optional. Will add the current object to a m2m field on the remote object.For example, if you are auto_tagging schools in articlesyou can add the article to the schools "articles" field.reverse_m2m:Optional. Will add the remote object to a m2m field on the current object.For example, politicians can be a m2m on articles in some cases.If you were tagging politicians in articles, this would add the politicianto the article's  "politicians" field.Do NOT attempt to use both m2m and reverse_m2m on the same setting.To insert links to matching objects:from autotagger.autotag_content import autotagtagged_text = autotag(article.text)
Package: tango-contact-manager
Tango Contact Manager=====[![Build Status](https://travis-ci.org/tBaxter/tango-contact-manager.svg?branch=master)](https://travis-ci.org/tBaxter/tango-contact-manager)Provides contact forms and any other sort of user submission form you might want. You can create new forms on the fly, straight from the admin.It has been tested for Python 2 and 3.## Key features* Simple contact forms or complex user-submission forms -- it's your call* Create new forms on the fly through the Django admin* Email addresses are never exposed to spammers* Submissions can be emailed or stored in your database* Submissions can be displayed on site* Submissions can include a photo.##Installation:pip install tango-contact-managerorpip install git+https://github.com/tBaxter/tango-contact-manager.git## Usage:Add 'contact_manager' and 'tango_shared' to your installed apps, then run syncdb or migrate.tango_shared is a dependency. It will be installed for you.Site emails will be sent to superusers or anyone specified in a DEFAULT_CONTACTS setting. That setting should be a list of emails.
Package: tangoctl
tangoctlA CLI built forTangosystem
administrators.tangoctl aims to be toTangowhat systemctl
is to to systemd.Actions speak louder than words. Here is a video:Purposeday to dayTangomaintenancehelp automate ansible, puppet or chef scriptsprepare automated test scripts for your own softwarehelp write a custombash completionfor your toolFeaturesserver operations:server infotree of serverslist of serversregister/unregister serversdevice operations:device infotree of deviceslist of devicesregister/unregister devicesexecute commandscommand inforead and write attributesattribute inforead and write propertiesInstallationpip install it on your favorite python environment:$ pip install tangoctlThat's it!Examples# Display tree of servers:tangoctlservertree# Display list of devices:tangoctldevicelist# Read 'state' attribute from a devicetangoctldeviceattributeread-dsys/tg_test/1-astate# Execute command Init() on a devicetangoctldevicecommandexec-dsys/tg_test/1-cinit# Display 'double_spectrum' attribute informationtangoctldeviceattributeinfo-dsys/tg_test/1-adouble_spectrum# Display list of device attributes:tangoctldeviceattributelist-dsys/tg_test/1Writting a custom bash completion for your serverImagine you have aTangoserver calledLimaCCDsand you registered two instances in the database, maybe
using tangoctl:tangoctlserveraddLimaCCDs/basler1-did00/limaccds/basler1
tangoctlserveraddLimaCCDs/pilatus1-did00/limaccds/pilatus1To have bash auto-complete every time you typeLimaCCDs [tab]on the
command line, place the following lines in a bash script:# naive tango server autocomplete using tangoctl server ilist_tango_server_complete(){stype="${COMP_WORDS[0]}"sname="${COMP_WORDS[COMP_CWORD]}"echo$stypeCOMPREPLY=($(tangoctlserverilist-t"${stype}"--instance="${sname}*"))return0}complete-F_tango_server_completeDemoand run it. Next time you typeLimaCCDs [tab]]on the bash command line it
will offer the existing LimaCCDs instances as completion options:$LimaCCDs[tab]basler1pilatus1

$LimaCCDspil[tab]pilatus1Check the bash completion documentation on how to add it permanently to
your environment.Special thanks toPyTango: Tango binding
to pythonclick: beautiful command line
interfacesgevent: I/O made simple and
efficienttabulate: ASCII
tablestreelib: tree data structurespython prompt toolkit:
powerful interactive command line applications
Package: tango-extensions
tango-extensionsExtension modules forallenai/tango(ai-2tango).Installationtango-extensions is availableon PyPI. Just run:pipinstalltango-extensionsTo install with a specific integration, such asdiffusersfor example, run:pipinstall'tango-extensions[diffusers]'pipinstall'tango-extensions[albumentations]'# install both diffusers and albumentations extensionspipinstall'tango-extensions[diffusers, albumentations]'To install with all integrations, run:pipinstall'tango-extensions[all]'Available ExtensionsExtension nameIntegration pathDetailshuggingface/diffuserstango_ext/integrations/diffusersdiffusers/formatalbumentations-team/albumentationstango_ext/integrations/albumentationsAcknowledgementsallenai/tango: Organize your experiments into discrete steps that can be cached and reused throughout the lifetime of your research project.https://github.com/allenai/tangoLicenseMIT
Package: tango-gateway
tango-gatewayA Tango gateway serverClients from other networks can connect to the gateway to access the tango
database transparently. It opens ports dynamically when an access to a device
is required and redirects the traffic to the corresponding device. The ZMQ
tango events are also supported.Requirementspython >= 3.4zmqaiozmqpytango (optional)prometheus_client (optional)Usage$ tango-gateway -h
usage: tango-gateway [-h] [--bind ADDRESS] [--port PORT] [--tango HOST] [--verbose]

Run a Tango gateway server

optional arguments:
  -h, --help            show this help message and exit
  --bind ADDRESS, -b ADDRESS
                        Specify the bind address (default is all interfaces)
  --port PORT, -p PORT  Port for the server (default is 10000)
  --tango HOST, -t HOST
                        Tango host (default is given by PyTango)
  --promfile PROMFILE   Name of file to write Prometheus metrics to. Requires prometeus_client.
  --verbose, -vContactKITS :kitscontrol@maxiv.lu.se
Package: tango-happenings
[![Build Status](https://travis-ci.org/tBaxter/tango-happenings.svg?branch=master)](https://travis-ci.org/tBaxter/tango-happenings)A powerful Django calendar/events app. It works as part of Tango, or as a standalone app.Supports multi-day events, schedules, photos, updates, recaps and a bunch of other stuff.Includes a copy of jquery.hcal for easy calendar creation.Tango Happenings is tested for usage on both Python2 and Python3 installations.## Installation:pip install tango-happeningsorpip install git+https://github.com/tBaxter/tango-happenings.git## Usage:Add ‘happenings’ and ‘tango_shared’ to your installed apps, then run syncdb or migrate.## RequirementsInstalls python-card-me for ical/vcal integrationTango Shared Core
Package: tango-photos
Tango Photos=====Tango-Photos is a reusable app for photo galleries in Django. While it forms a key component of Tango, it can also be dropped into an existing non-Tango project.##Installation:pip install tango-photosorpip install git+https://github.com/tBaxter/tango-photos.gittango_shared is a dependency. It will be installed.## Usage:Add 'photos' and 'tango_shared' to your installed apps, then run syncdb or migrate.
Package: tangos
Tangos - The agile numerical galaxy organisation systemTangoslets you build a database (along the lines ofEagleorMultiDark)
for your own cosmological and zoom simulations.It's a modular system for Python 3.6+, capable of generating and querying databases.Tangos:is designed to store and manage results from your own analysis code;provides web and python interfaces;allows users to construct science-focussed queries, including across entire merger trees,
without requiring any knowledge of SQL;When building databases,tangos:manages the process of populating the database with science data, including auto-parallelising
your analysis;can be customised to work with multiple python modules such aspynbodyorytto
process raw simulation data;can use your favourite database as the underlying store, thanks tosqlalchemy.
By default,tangosuses the file-based databasesqlite, but it is also routinely
tested against the server-based MySQL (from v1.5) and PostgreSQL (from v1.7).Getting startedFor information on getting started refer to thetutorials on our github pages.
These tutorials are also available in markdown formatwithin the tangos repository.Acknowledging the codeWhen usingtangos, please acknowledge it by citing the release paper:
Pontzen & Tremmel, 2018, ApJS 237, 2.DOI 10.3847/1538-4365/aac832;arXiv:1803.00010. Optionally you can also cite the Zenodo DOI for the specific version oftangosthat you are using, which may be foundhere.
Package: tango-serial
ALBA Python Serial DeviceServerALBA Python Serial device server for tango. with the aim to be API compatible
with the C++ Tango Serial device server extending its functionality.This device server internally usespyserialmeaning that supports the same serial protocols, like rfc2217:// socket:// loop:// hwgrep:// spy:// alt://InstallationFrom within your favorite python environment type:$ pip install tango_serialTango serverRegister a Serial tango server in the tango database:$ tangoctl server add -s Serial/test -d Serial test/tango_serial/1
$ tangoctl device property write -d test/tango_serial/1 -p serialline -v "rfc2217://192.168.123:5000"(the above example usestangoctl. You would need
to install it withpip install tangoctlbefore using it. You are free to use any other
tango tool likefandangoor Jive)Launch the server with:$ Serial testCreditsDevelopment LeadAlberto López Sánchezalopez@cells.esCTBeamlines (ctbeamlines@cells.es)ContributorsNone yet. Why not be the first?History0.1.2 (2020-12-15)First release on PyPI.
Package: tango-shared-core
Tango Shared Core=====Provides shared and core functionality used by multiple Tango apps,and will be installed by them as needed.[![Build Status](https://travis-ci.org/tBaxter/tango-shared-core.svg?branch=master)](https://travis-ci.org/tBaxter/tango-shared-core)## So what's in here, anyway?### Base modelsAbstract base models are included for common content objects, including images, so you can handle common fields and needs quickly, easily and consistently.### Useful settingsA lot of them. Seriously, take a look at the settings file.### Template tags and filters* Formatting helpers* Simple (and non-tracking) social media links.* Additional time output helpers### A robust base templateBased on HTML5 Boilerplate, but for Django, and battle-tested.### A administrator how-to section in the adminYou already have developer documentation in the admin. This gives you hooks to include documentation aimed at administrators as well, just by including a `how_to.md` file in your app. See the other Tango apps for examples.### Middleware and Context Processors* StripEmptyLines: Strips HTML output of excessive newlines* CompactHTMLMiddleware: Pseudo-minification for HTML output, good for a 30-40% reduction in file size. Not entirely safe with `pre` tags. Use with caution.* The site_processor context processor adds a bunch of useful things in context.### Utils* Robust user submission sanitization* Map tools to ease Google Map integration (Note: You'll need to set `GMAP_KEY` in your settings)### JS* A solid implementation of Markitup## InstallationInstallation should be automatic, from the application needing it.You can also install from pip or github.If you run into appRegistry issues, be sure  `INSTALLED_APPS` contains`easy_thumbnails` and  `django.contrib.contenttypes`.
Package: tango-textual-inversion
allenai/tangoversion oftextual inversionInstall dependenciespoetryinstallLogin throughhuggingface-clipoetryrunhuggingface-cliloginRun a tango experimentpoetryruntangorunconfigs/textual_inversion.jsonnet-wworkspaceExamples of generated imagePrompt:A <cat-toy> backpackWatch the workspace withtango serverpoetryruntangoserver-wworkspace/
Package: tangram
Tangram for PythonWatch the VideoRead the DocsThe Tangram Python library makes it easy to make predictions with your Tangram machine learning model from Python.Usage$ pip install tangramimporttangrammodel=tangram.Model.from_path('./heart_disease.tangram')input={'age':63,'gender':'male',# ...}output=model.predict(input)For more information,read the docs.Platform SupportTangram for Python is currently supported on Linux, macOS, and Windows with ARM64 and AMD64 CPUs. Are you interested in another platform?Open an issueor send us an email athelp@tangram.dev.ExamplesThe source for this package contains a number of examples in theexamplesdirectory. Each example has aREADME.mdexplaining how to run it.NotesTangram for Python requires pip 20.3 or later, which includes support forPEP 600. This is necessary to correctly install tangram's native extension. If you are using an earlier python version, you may see the error "Could not find a version that satisfies the requirement tangram" when you attempt topip install tangram. To resolve this, you should upgrade pip to version 20.3 or later.
Package: tangUtils
tangUtilsDescription根据个人使用习惯, 将一些 文件、目录、命令行交互 相关操作做了一个语法糖Installation> pip install tangUtilsExamplesfromtangUtils.mainimportDirfromtangUtils.mailimportMailem=Mail(fromAddr=("王小明","10086@qq.com"),password="your auth code")files=Dir("/path/to/dir").filestoAddr=["10000@qq.com",("王钢蛋","10010@qq.com"),]subject="来自王小明的提醒"fallbackText="您的客户端无法显示此类型的消息(html), 请换用其它客户端以查看该超文本内容"html="""<!DOCTYPE html><html lang="zh-cn"><body><div>您已接收到来自<strong>王小明</strong>的提示</div><!-- 邮箱客户端一般会屏蔽不同域的图片链接, 可以将图片放到附件中 --><!-- src 使用 cid:idx, idx 是图片所在的文件序号 --><img src="cid:1" alt="picture"></body></html>"""em.sendTo(toAddr=toAddr,subject=subject,fallbackText=fallbackText,html=html,attachment=files)em.quit()