Saravanan666/pypi-org huggingface dataset:
Package: idendrogram-streamlit-component
idendrogram-streamlit-componentA D3-powered bi-directional Streamlit component for idendrogram library that visualizes dendrograms created by hierarchical clustering algorithms (SciPy, scikit-learn and hdbscan compatible).Demo available athttps://idendrogram.streamlit.app/.Docs @https://kamicollo.github.io/idendrogram/Customizing the componentIf you would like to go beyond customization supported by this component out of the box (e.g. do somereally fancytooltips), you'll need:To be familiar withbi-directional Streamlit component developmentClone this repoMake adjustments! The D3 component is written in a single file (index.tsx), and the tooltip creation is part ofdraw_nodes()function.Run the npm server locally withnpm run startIn your Streamlit app,use theStreamlitConverter(release=False)to get idendrogram to look for the local NPM server.
Package: ident
Identpip install identSimple syntax sugar for logging on users to your website without using
password, just with their~/.sshkeypair, that they use to sign-in
to servers.SigningSign a message with your own~/.ssh/id_rsakey, and providing your
public key~/.ssh/id_rsa.pubafter:symbolfromidentimportsignresult=sign('MyChallengeMessage')Note.There is a colon (:) in the string produced, which separates
the base64-encoded signature (left) from the public key (right).VerifyingVerify the signed message, with public key included after the:sign:fromidentimportverifyverify('cpvVd42+ugHiw/7FThW3qzywUEweRNGM9ISzGWgU0R5OajQ0dAZmkxDJeTf3Cxr8f3cQZN5t9KP9ONIEYjjmqTP90GJaUuwjB/OgDa++Gr6VtCg7KVV0hZUP+bhbxCeo9QV/SOJWI3KBOWfvhrySTC3ehxVK+ZaS+2WIhY9+bX1UbFLwMFhVo42JKs+DuhzU39NRC72ria5Phm8fzoYh13j5gr5g4zr22jlWwshzoGLKI2DCz1EYEOuTLZlZ1gSN3L4yHxKUAi9Y+U1BtgbV7Qz63q3by5zI5SatSdh/shdPrTVGzZQ1og/PBuvIv7A41VV2LVAfRIvYV8Cuy+RJl4+hvntlOeNlGyViE1+4EBsP6cMK4KsM4iktgaXrn1dA1kDyrv2an01b1lRzUbZXcJlum9hTZwB3RrJ1pmTxXhgDCiV9ZxYfvmj8sTflXuBai9u73EyeH3fR1pCARJP9a3lDAn/DvMTGy2pCayAqzXfr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5cHpNUlM0Q0V1aFQ4dERnWGI3S1VPT0dTdy9udG8xaVlsVy9FMVo0L01GbkZLdlJqRFFnaEFoRlJjU2UrYWRVdVVDMlE9PSBtaW5kZXlAYXJjaHBjLTIwMTUtMDctMjUK')UsageFlowServer generatesMyRandomChallengeMessage, and displays it in a
box, asking user to copy it, and provide digest of the$ solvecommand, which they can install by adding the below function to~/.bashrcor~/.zshrc:solve(){if[-z"$1"]thenecho"No arguments supplied"fiecho"$1"|opensslrsautl-sign-inkey~/.ssh/id_rsa|base64-w0&&echo-n":"&&cat~/.ssh/id_rsa.pub|base64-w0}User runs locally, and produces signed message with their public key
included after:, and pastes to server textarea box:$ solve MyRandomChallengeMessageServer usesident.verify()to recognize that the random message was signed with the public key provided, and save that public key as a user.
Package: identi
Identieris an Python API library foridenti.ca.Identierprovides a API for accessing services of identi.ca. This
support various extensions provided by StatusNet apart from it’s Twitter
compatible API’s.InstallationIt is very easy to install Identier.(pip install | easy_install) identi… or in the traditional way:git clone git://github.com/psibi/Identier.git
cd Identier
python setup.py installBug ReportSubmit ithere.LicenseGNU General Public License v3 (GPLv3)
Package: identicallist
identicallistA mutable Python list that allows only identical objects and inherits their properties and methods.If a list property changes, it changes this property in all items.
If a list method is invoked, it invokes the method on all items.ExamplesIdenticalList behaves just like a list:fromidenticallistimportIdenticalListclassDummyItem:def__init__(self):self.num=5definc(self):self.num+=1defdec(self):self.num-=1il=IdenticalList(DummyItem(),DummyItem())print(len(il))# 2print(iter(il))# <generator object Sequence.__iter__ at 0x7fc3b708d5d0>fori,iteminenumerate(il):print('item number{}has the attribute num with value{}'.format(i,item.num))# item number 0 has the attribute num with value 5# item number 1 has the attribute num with value 5At the same time, it also behaves like the first object of the list:print(il.num)# 5il.inc()print(il.num)# 6Changing properties and calling methods on the list object affects all items in the list:fori,iteminenumerate(il):print('item number{}has the attribute num with value{}'.format(i,item.num))# item number 0 has the attribute num with value 6# item number 1 has the attribute num with value 6il.dec()il.dec()print(il.num)# 4fori,iteminenumerate(il):print('item number{}has the attribute num with value{}'.format(i,item.num))# item number 0 has the attribute num with value 4# item number 1 has the attribute num with value 4il.num=7fori,iteminenumerate(il):print('item number{}has the attribute num with value{}'.format(i,item.num))# item number 0 has the attribute num with value 7# item number 1 has the attribute num with value 7Changing properties on individual items in the list only affect that item:il[1].num=8fori,iteminenumerate(il):print('item number{}has the attribute num with value{}'.format(i,item.num))# item number 0 has the attribute num with value 7# item number 1 has the attribute num with value 8il[0].dec()fori,iteminenumerate(il):print('item number{}has the attribute num with value{}'.format(i,item.num))# item number 0 has the attribute num with value 6# item number 1 has the attribute num with value 8Now, calling inc on the list increases all item's num property. Note that because they started with different values, the resulting values are still different:il.inc()fori,iteminenumerate(il):print('item number{}has the attribute num with value{}'.format(i,item.num))# item number 0 has the attribute num with value 7# item number 1 has the attribute num with value 9
Package: identicons
Identiconsidenticonsis a Python package that generates unique 5x5 identicons based on MD5 hashes of input strings. These identicons are symmetrical images commonly used for representing user avatars in applications.InstallationpipinstallidenticonsIf you're downloading from a source, navigate to the root directory wheresetup.pyis located and run:gitclonehttps://github.com/LVivona/identicons.git
pythonsetup.pyinstallUsageTo generate an identicons, you can use thegeneratefunction:fromidenticonsimportgenerate# Generate an identicons with default colorsicon=generate('hello world')# Generate an identicons with custom primary and secondary colorsicon_custom=generate('hello world',primary=0xFFD700,secondary=0x8B0000)identicons--text"hello world"--file"output.png"-s0xa0e7e5-p0xffffffThegeneratefunction returns a NumPy array representing the identicons image. You can save this image using thesavefunction:fromidenticonsimportsave# Save the generated identicons that is 500x500save(icon,'identicons.png',500,500)FeaturesGenerate unique and symmetrical 5x5 identicons.Customize identicons colors.Save identicons in different sizes.ContributingContributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make aregreatly appreciated.If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".Don't forget to give the project a star! Thanks again!Fork the ProjectCreate your Feature Branch (git checkout -b feature/AmazingFeature)Commit your Changes (git commit -m 'Add some AmazingFeature')Push to the Branch (git push origin feature/AmazingFeature)Open a Pull RequestWhy build this?I was curious on how github generates there icons, and thought I should build a simple cli/package to do it for me lol. :)LicenseDistributed under the MIT License. SeeLICENSEfor more information.ContactYour Name -your_email@example.comProject Link:https://github.com/LVivona/identicons
Package: identifiers
The packageidentifiersprovides classes that can be used to create and
check identifiers for unique objects or unique classes of objects
according to international standards.Definition from Wikipedia:"An identifier is a name that identifies (that is, labels the identity of)
either a unique object or a unique class of objects, where the "object" or
class may be an idea, physical [countable] object (or class thereof), or
physical [noncountable] substance (or class thereof). The abbreviation ID
often refers to identity, identification (the process of identifying), or an
identifier (that is, an instance of identification). An identifier may be a
word, number, letter, symbol, or any combination of those."OverviewFor more detailed documentation seehttp://identifiers.readthedocs.io.Identifiers standardized by GS1Seehttp://www.gs1.org/id-keys.Global Trade Item Number (GTIN)Used to identify products and services.Variants: GTIN12, GTIN13, GTIN14Global Location Number (GLN)Used to identify parties and locations, for example companies, warehouses,
factories and stores.Global Shipment Identification Number (GSIN)Used to identify shipments, i. e. logistics units delivered to a customer
together.Serial Shipping Container Code (SSCC)Used to identify logistics units, for example loads on pallets,
roll cages or parcels.Identifiers for publicationsInternational Standard Book Number (ISBN)A unique international identifier for monographic publications.Seehttp://www.isbn-international.org.International Standard Music Number (ISMN)A unique international identifier of all notated music publications, whether
available for sale, hire or gratis, whether a part, a score, or an element
in a multi-media kit.Seehttp://www.ismn-international.org.International Standard Serial Number (ISSN)Used to identify newspapers, journals, magazines and periodicals of all
kinds and on all media - print and electronic.Seehttp://www.issn.org.Identifiers for banks and bank accountsSeehttp://www.swift.com.Business Identifier Code (BIC)Used to identify financial and non-financial institutions.International Bank Account Number (IBAN)An internationally agreed system of identifying bank accounts across
national borders.Identifiers for exchanges and exchange traded financial assetsMarket Identifier Code (MIC)A unique identification code used to identify securities trading
exchanges, regulated and non-regulated trading markets.Seehttps://www.iso20022.org/10383/iso-10383-market-identifier-codesInternational Securities Identification Number (ISIN)Uniquely identifies a tradable financial asset, a.k.a security.Seehttp://www.anna-web.org/standards/isin-iso-6166/.Identifiers for Value Added TaxationEuropean Union VAT Registration NumberThe VAT Registration Number is used to identify natural and legal persons
located in the European Union for purposes of VAT handling.Seehttp://ec.europa.eu/taxation_customs/business/vat
Package: identify
identifyFile identification library for Python.Given a file (or some information about a file), return a set of standardized
tags identifying what the file is.InstallationpipinstallidentifyUsageWith a file on diskIf you have an actual file on disk, you can get the most information possible
(a superset of all other methods):>>>fromidentifyimportidentify>>>identify.tags_from_path('/path/to/file.py'){'file','text','python','non-executable'}>>>identify.tags_from_path('/path/to/file-with-shebang'){'file','text','shell','bash','executable'}>>>identify.tags_from_path('/bin/bash'){'file','binary','executable'}>>>identify.tags_from_path('/path/to/directory'){'directory'}>>>identify.tags_from_path('/path/to/symlink'){'symlink'}When using a file on disk, the checks performed are:File type (file, symlink, directory, socket)Mode (is it executable?)File name (mostly based on extension)If executable, the shebang is read and the interpreter interpretedIf you only have the filename>>>identify.tags_from_filename('file.py'){'text','python'}If you only have the interpreter>>>identify.tags_from_interpreter('python3.5'){'python','python3'}>>>identify.tags_from_interpreter('bash'){'shell','bash'}>>>identify.tags_from_interpreter('some-unrecognized-thing')set()As a cli$ identify-cli --help
usage: identify-cli [-h] [--filename-only] path

positional arguments:
  path

optional arguments:
  -h, --help       show this help message and exit
  --filename-only$identify-clisetup.py;echo$?["file", "non-executable", "python", "text"]0$identify-clisetup.py--filename-only;echo$?["python", "text"]0$identify-cliwat.wat;echo$?wat.wat does not exist.1$identify-cliwat.wat--filename-only;echo$?1Identifying LICENSE filesidentifyalso has an api for determining what type of license is contained
in a file.  This routine is roughly based on the approaches used bylicensee(the ruby gem that github uses to figure out the license for a
repo).The approach thatidentifyuses is as follows:Strip the copyright lineNormalize all whitespaceReturn any exact matchesReturn the closest by edit distance (where edit distance < 5%)To use the api, install viapip install identify[license]>>>fromidentifyimportidentify>>>identify.license_id('LICENSE')'MIT'The return value of thelicense_idfunction is anSPDXid.  Currently
licenses are sourced fromchoosealicense.com.How it worksA call totags_from_pathdoes this:What is the type: file, symlink, directory? If it's not file, stop here.Is it executable? Add the appropriate tag.Do we recognize the file extension? If so, add the appropriate tags, stop
here. These tags would include binary/text.Peek at the first X bytes of the file. Use these to determine whether it is
binary or text, add the appropriate tag.If identified as text above, try to read and interpret the shebang, and add
appropriate tags.By design, this means we don't need to partially read files where we recognize
the file extension.
Package: identinum
identinumA command-line wrapper aroundmpmath's
identify.You come across the number 0.866025. It looks vaguely familiar but you can't quite point
your finger at it? Then identinum is for you.identinum is a small command-line utility that "de-decimalizes" decimal numbers into
approximate rational expressions (with some basic functions).$ identinum 0.4285714285
3/7   -7.14285297576112E-11$ identinum 0.866025403
sqrt(3)/2   -7.84438675343059E-10Installationidentinum isavailable from the Python Package
Index, so simply dopip install identinumTestingTo run the identinum unit tests, check out this repository and typepytest
Package: identity
Identity libraryThis Identity library is an authentication/authorization library that:Suitable for apps that are targeting end users onMicrosoft identity platform, a.k.a. Microsoft Entra ID(which includes Work or school accounts provisioned through Azure AD,
and Personal Microsoft accounts such as Skype, Xbox, Outlook.com).Currently designed for web apps,
regardless of which Python web framework you are using.Provides a set of high level API that is built on top of, and easier to be used thanMicrosoft's MSAL Python library.Written in Python, for Python apps.DISCLAIMER: The code in this repo is not officially supported by Microsoft and is not intended for production use.
The intention of this repo is to unblock customers who would like to use a higher level API,
before such an API has been migrated to an Microsoft library with official support. Migration of this API to official support is not guaranteed and is not currently on the MSAL roadmap.
Please ensure to fully test any code used from this repository to ensure it works in your environment.Scenarios supportedWeb app that logs in usersWeb app that logs in users and calls a web API on their behalf[In roadmap] Protected web API that only authenticated users can access[In roadmap] Protected web API that calls another (downstream) web API on behalf of the signed-in userInstallationThis package isavailable on PyPI.
You can install it bypip install identity.VersionsThis library followsSemantic Versioning.
Your project should declareidentitydependency with proper lower and upper bound.You can find the changes for each version underReleases.UsageRead ourdocs hereWeb app sample for FlaskWeb app sample for DjangoIf you want your samples for other web frameworks showing up here,
please create an issue to let us know.
Package: identity-client
identity-clientClient lib for the identity serviceManual deploymentSince we don't have a CI/CD pipeline set up right now. You'll have to follow the following steps to releaseDo your changesInstallbumpversionandtwinepip install twine bumpversionBump the version usingbumpversionbumpversion patchA commit should be made automatically, just pushgit pushBuild using setup.pypython setup.py sdistPush to pypi using twinetwine upload dist/*Use1passwordto find the credentials for pypi.In order to upload, we have 2FA and the following needs to be done:username should be "__token__"password should be the Access Token value
Package: identy
identyGenerate grayscale identity icons.Usageimportidentyprint(identy.from_string('identy',v=1))print()print(identy.random().png().base64str())# You can save the iconidenty.random().png(256).save('/path/to/file.png')████████████████
████░░    ░░████
██▓▓▓▓▓▓▓▓▓▓▓▓██
██▒▒▒▒░░░░▒▒▒▒██
██▒▒▒▒░░░░▒▒▒▒██
██▓▓▓▓▓▓▓▓▓▓▓▓██
████░░    ░░████
████████████████

iVBORw0KGgoAAAANSUh...Note: Thestrrepresentation of the icon may differ from the generated png image.
Package: identYwaf
identYwafis an identification tool that can recognize web
protection type (i.e. WAF) based on blind inference. Blind inference is
being done by inspecting responses provoked by a set of predefined
offensive (non-destructive) payloads, where those are used only to
trigger the web protection system in between (e.g.http://<host>?aeD0oowi=1AND 2>1). Currently it supports more than
80 different protection products (e.g.aeSecure,Airlock,CleanTalk,CrawlProtect,Imunify360,MalCare,ModSecurity,Palo Alto,SiteGuard,UrlScan,Wallarm,WatchGuard,Wordfence, etc.), while the knowledge-base is
constantly growing.For more information you can checkslidesfor a talk “Blind WAF
identification” held atSh3llCON 2019(Santander / Spain).InstallationYou can use pip to install and/or upgrade the identYwaf to latest (PyPI) version with:pip install --upgrade identYwafAlternatively, you can download the latest tarball by clickinghereor
latest zipball by clickinghere.identYwaf works out of the box withPythonversion2.6,2.7and3.xon any platform.UsageTo get a list of basic options and switches use:identYwaf -h
Package: ideogram
Ideogram provides functions for generating visualizations of software projects. The source code is parsed for functions, function calls, classes, and methods. This data can be used to construct d3 visualizations from mustache templates.Documentation
See github.com/brmscheiner/ideogramCreditThis is my first Python package! Many thanks to Drew Garrido, James Porter, Diwank Tomer, and Oren Shoham for their help putting it all together.
Package: ideograph
ideographA tool to look up ideographs by their components. At the moment, it only contains Han characters, but it could be expanded to include other ideographic scripts such as Tangut or Sumero-Akkadian Cuneiform.Installation$pipinstallideographUsageideographconsists of a two functions,find()andcomponents():find()takes a string of ideograph components and returns a set of ideographs that include all of those components.Characters in the component string that are not ideographic components are ignored.Note that the current implementation is quite strict and relies on visual distinction for components rather than etymological connection: e.g. "人" ≠ "亻".It can be called from the command line:$ideograph木日勿
䵘楊鸉𣝻𣿘𥂸𥠜𦼴𩁒𪳷𬬍or imported as a Python package:>>>importideograph>>>ideograph.find("木日勿"){'𣿘','𣝻','𥠜','𪎥','𩁒','𪎧','𥟘','𣓗','楊','𣓾','𬬍','𪳷','𦼴','鸉','䵘','𥂸'}components()takes a string consisting of a single ideograph and returns a set of components. Note that the set contains components and the components of those components, and so on, down to the most basic of components contained in the cjkvi-ids data set.>>>importideograph>>>ideograph.components("楊"){'日','木','昜','一','勿','旦','勹','丿','\uf3e4'}DataCharacter components are derived from thecjkvi-ids database(included in this Git repository as a submodule), specifically theids-cdp.txtdata file. As some components do not currently have a Unicode code point assigned to them, they are given code points in the Private Use Area of Unicode. Note that because of this, some of these characters may be returned by thefind()andcomponents()functions.Data is stored in a sqlite3 database, which can be regenerated from cjkvi-ids data by running thegenerate_data.pyscript.
Package: ideplots
IDE PlotsMatplotlib styles for cleaner integration with IDEs running Jupyter NotebooksGetting StartedThe fastest way to get up and running is to install IdePlots by using thepipcommand.# to install the latest release from PyPipipinstallIdePlots# to install the latest commit from GitHubpipinstallgit+https://github.com/benabernathy/IdePlots.gitIn your notebook you need to first import ideplots...importideplotsThen you may reference any of the available styles...plt.style.use("vscode-dark-modern")Then your plots will no longer cause your eyese to bleed.ExamplesHere are some example plots without and with the styles enabled.
Package: ideskeleton
Scaffolding of IDE project files such as Visual Studio from Python existing folder structure.RationaleIt is common practice in Python open source projects not relying on any IDE.
This tool allows you to have a clean folder structure that can be shared in GIT repositories
while being able to work with your favorite IDE in your workstation.Installpip install ideskeletonBasic usageYou can execute the package from the command line:python -m ideskeleton -f your-full-pathThis will generate all needed files such as solution and project files for the Visual Studio case.Off course, you can also import the package and customize the behavior as desired:from ideskeleton import builder
builder.build("your_path", overwrite=True, ide="vstudio")For normal use, all you have to do:import ideskeletonThis will import:Thebuildfunction that allows to build the files needed for IDECommand line optionsIn order to build the IDE files from command line you just type:python -m ideskeleton [-h] [-f] [-i {vstudio}] source_pathpositional arguments:source_path:          path of the folder structure used to generate the IDE                         skeletonoptional arguments:-h,--helpshow this help message and exit-f,--forceforce overwrite existing solution and project files-i,--idechoose IDE {vstudio}API docsCan find api documentation atreadthedocs.Important notesJust Visual Studio is supported so far, although adding new IDE’s is pretty easy.A number of opinionated conventions are enforced:.gitignore file is used to decide which files to considerJust*.pyfiles are added with compile action.Any not ignored folder in the first level is added as a python project.Any not ignored folder in higher than first level are added as project folder.