Saravanan666/pypi-org huggingface dataset:
Package: unifyml
UnifyML🌐Homepage📖Documentation🔗API•▶ Videos•ExamplesUnifyML provides a unified math and neural network API for Jax, PyTorch, TensorFlow and NumPy.See theinstallation Instructionson how to compile the optional custom CUDA operations.fromjaximportnumpyasjnpimporttorchimporttensorflowastfimportnumpyasnpfromunifymlimportmathmath.sin(1.)math.sin(jnp.asarray([1.]))math.sin(torch.tensor([1.]))math.sin(tf.constant([1.]))math.sin(np.asarray([1.]))CompatibilityWriting code that works with PyTorch, Jax, and TensorFlow makes it easier to share code with other people and collaborate.Your published research code will reach a broader audience.When you run into a bug / roadblock with one library, you can simply switch to another.UnifyML can efficientlyconvert tensors between ML librarieson-the-fly, so you can even mix the different ecosystems.Fewer mistakesNo more data type troubles: UnifyMLautomatically converts data typeswhere needed and lets you specify theFP precision globally or by context!No more reshaping troubles: UnifyML performsreshaping under-the-hood.Isneighbor_idx.at[jnp.reshape(idx, (-1,))].set(jnp.reshape(cell_idx, (-1,) + cell_idx.shape[-2:]))correct?: UnifyML provides a custom Tensor class that lets you writeeasy-to-read, more concise, more explicit, less error-prone code.Unique featuresn-dimensional operations: With UnifyML, you can write code thatautomatically works in 1D, 2D and 3D, choosing the corresponding operations based on the input dimensions.Preconditioned linear solves: UnifyML canbuild sparse matrices from your Python functionsand run linear solverswith preconditioners.Flexible neural network architectures:UnifyML provides various configurable neural network architectures, from MLPs to U-Nets.Non-uniform tensors: UnifyML allows you tostack tensors of different sizes and keeps track of the resulting shapes.
Package: unify-sdk
Element Unify Python SDKThe Unify Python SDK is a library to interact with Element Unify. This SDK is intended for
developers who are building connectors and automation software that interfaces with
Element Unify.User InformationThis section is intended for users of the Unify Python SDK. This includes
developers who are building connectors, integrations, and automation that interfaces
with Element Unify. For developers looking to contribute to the SDK, see theDeveloper Informationsection.InstallationYou can install the Unify Python SDK fromPyPI:pip install unify-sdkUsing the Unify Python SDK with virtualenvThis assumes you have installed an appropriate version virtualenv, python, and
other associated tools. This also assumes you have an existing python project
you'd like to import into, in this casemy-project.mkdir path/to/my-project; cd path/to/my-project
virtualenv venv
source venv/bin/activate
echo unify-sdk >> requirements.txtThen, in your python import section add the following line:from unify.apimanager import ApiManagerDocumentationDeveloper guide is found in the Unify API Documentation Portal under the Unify Python SDK section.Navigate to your instance of Element Unify.Log in and select your organization.From the top-right menu, click on the Support icon and select API Documentation.Asset AccessIn order to use the Unify Access package, please install psycopg2-binary.pip install psycopg2-binaryDeveloper InformationThis section is intended for developers working to extend the Unify Python SDK.Developer GuideFork this repository.Revise files with your contributions.Follow styling guides. SeePython style guide.Check for lint warnings. SeeLint checking.Create a pull request with description of your changes.Python style guidePlease use the following Python style guideGoogle Python Styling guideLint checkingWe usy pylint to verify lint warnings, our build system requires a linter score
of >=9.0 to pass successfully.To locally check you changespip install pylint
pylint dir/to/the/file.py
Package: unigui-carstentb
UniGuiA cross-platform user interface framework based on Adafruit DisplayioThis GUI framework can be used to create front-ends on multiple platforms, including Generic Linux and Windows PCs, Single board computers such as Raspberry Pi using a hardware display (for instance: PiTFT), and microcontroller-based projects (i.e. Feather RP2040) using CircuitPython and a display.There is also a class calledPygameDisplaythat uses pygame to create adisplayio.Displayfor use in a non-embedded environment. Much of that code was adopted fromhttps://github.com/FoamyGuy/Blinka_Displayio_PyGameDisplay.ToDo listPR for Adafruit_Blinka and (possibly) PlatformDetect to allow usage on generic PC environments.Overall improvement and features for widgetsFix border_on function for generic widget so border is always drawn on top of other content (useful for viewing widget dimensions)Map names (such as BASE_DARK, BASE_LIGHT, TEXT_DEFAULT, TEXT_HIGHLIGHT, etc) to the palette indices so that I can reference them independently of the color schemeFigure out how to better handle clicks. For example, I might want a single widget to have multiple click regions. I don't think this is easy to do right now. Consider removing UniGui object totally and just making the Widget idea fully recursive.Fix font file paths so they work alwaysHow to use this frameworkClone this repository to your computer, then navigate into the project directory.Create a python virtual environment withpython -m venv .venv. Note: This project has been tested with Python 3.10.4 on Windows and Linux. You can name your virtual environment directory whatever you like. The current.gitignorewill ignore all directories starting with.venvActivate the virtual environment on Linux withsource .venv/bin/activate.sh, or on Windows PowerShell with.venv\Scripts\Activate.ps1.Install dependencies withpip install -r requirements.txt.To run the main example, typepython examples/desktop/code-desktop.py
Package: unihan-db
unihan-db ·DatabaseSQLAlchemymodels forUNIHAN. Part of thecihaiproject. Powered byunihan-etl. See also:libUnihan.By default, unihan-db creates a SQLite database in anXDG data directory. You
can specify a custom database destination by passing a database url intoget_session.Example usage#!/usr/bin/env python"""Example for bootstrapping UNIHAN DB and print out a row."""importpprintfromsqlalchemy.sql.expressionimportfuncfromunihan_dbimportbootstrapfromunihan_db.tablesimportUnhnsession=bootstrap.get_session()bootstrap.bootstrap_unihan(session)random_row_query=session.query(Unhn).order_by(func.random()).limit(1)assertrandom_row_queryisnotNonerandom_row=random_row_query.first()pprint.pprint(bootstrap.to_dict(random_row))pprint.pprint(random_row.to_dict())# type:ignoreRun:$ ./examples/01_bootstrap.pyOutput:{'char':'鎷','kCantonese':[{'char_id':'鎷','definition':'maa5','id':24035}],'kDefinition':[],'kHanYu':[{'char_id':'鎷','id':24014,'locations':[{'character':5,'generic_indice_id':24014,'generic_reading_id':None,'id':42170,'page':4237,'virtual':0,'volume':6}],'type':'kHanYu'}],'kHanyuPinyin':[{'char_id':'鎷','id':18090,'locations':[{'character':5,'generic_indice_id':None,'generic_reading_id':18090,'id':42169,'page':4237,'virtual':0,'volume':6}],'readings':[{'generic_reading_id':18090,'id':26695,'reading':'mǎ'}],'type':'kHanyuPinyin'}],'kMandarin':[{'char_id':'鎷','hans':'mǎ','hant':'mǎ','id':23486}],'ucn':'U+93B7'}Developing$gitclonehttps://github.com/cihai/unihan-etl.git$cdunihan-etlBootstrap your environment and learn more about contributing. We use the same conventions / tools across all cihai projects:pytest,sphinx,mypy,ruff,tmuxp, and file watcher helpers (e.g.entr(1)).Python versions0.8.0:Last Python 3.7 releaseLast SQLAlchemy 1.3 releaseMore information
Package: unihandecode
BA
A0q0...", butthat's nearly useless to the user who actually wants to read whatthe text says.What Unihandecode provides is a function, 'decode(...)' thattakes Unihancode data and tries to represent it in ASCII characters(i.e., the universally displayable characters between 0x00 and 0x7F).The representation is almost always an attempt at transliteration-- i.e., conveying, in Roman letters, the pronunciation expressed bythe text in some other writing system.For example;>>>d = Unidecoder()>>>d.decode(u"\u5317\u4EB0")'Bei Jing'.d = Unidecoder(lang='ja')>>>d.decode(u"\u5317\u4EB0")'Pe King'Platform: UNKNOWNProvides: unihandecode
Package: unihan-tabular
unihan-tabular- tool to buildUNIHANinto tabular-friendly formats
like python, JSON, CSV and YAML. Part of thecihaiproject.UNIHAN’s data is dispersed across multiple files in the format of:U+3400      kCantonese      jau1
U+3400      kDefinition     (same as U+4E18 丘) hillock or mound
U+3400      kMandarin       qiū
U+3401      kCantonese      tim2
U+3401      kDefinition     to lick; to taste, a mat, bamboo bark
U+3401      kHanyuPinyin    10019.020:tiàn
U+3401      kMandarin       tiàn$unihan-tabularwill download Unihan.zip and build all files into a
single tabular friendly format.CSV (default),$unihan-tabular:char,ucn,kCantonese,kDefinition,kHanyuPinyin,kMandarin
㐀,U+3400,jau1,(same as U+4E18 丘) hillock or mound,,qiū
㐁,U+3401,tim2,"to lick; to taste, a mat, bamboo bark",10019.020:tiàn,tiànJSON,$unihan-tabular-Fjson:[{"char":"㐀","ucn":"U+3400","kCantonese":"jau1","kDefinition":"(same as U+4E18 丘) hillock or mound","kHanyuPinyin":null,"kMandarin":"qiū"},{"char":"㐁","ucn":"U+3401","kCantonese":"tim2","kDefinition":"to lick; to taste, a mat, bamboo bark","kHanyuPinyin":"10019.020:tiàn","kMandarin":"tiàn"}]YAML$unihan-tabular-Fyaml:-char:㐀kCantonese:jau1kDefinition:(same as U+4E18 丘) hillock or moundkHanyuPinyin:nullkMandarin:qiūucn:U+3400-char:㐁kCantonese:tim2kDefinition:to lick; to taste, a mat, bamboo barkkHanyuPinyin:10019.020:tiànkMandarin:tiànucn:U+3401Featuresautomatically downloads UNIHAN from the internetexport to JSON, CSV and YAML (requirespyyaml) via-Fconfigurable to export specific fields via-faccounts for encoding conflicts due to the Unicode-heavy contentdesigned as a technical proof for future CJK (Chinese, Japanese,
Korean) datasetscore component and dependency ofcihai, a CJK librarydata packagesupportsupports python 2.7, >= 3.5 and pypyIf you encounter a problem or have a question, pleasecreate an
issue.Usageunihan-tabularsupports command line arguments. Seeunihan-tabular CLI
argumentsfor information on how you can specify custom columns, files,
download URL’s and output destinations.To download and build your own UNIHAN export:$pipinstallunihan-tabularTo output CSV, the default format:$unihan-tabularTo output JSON:$ unihan-tabular -F jsonTo output YAML:$ pip install pyyaml
$ unihan-tabular -F yamlTo only output the kDefinition field in a csv:$ unihan-tabular -f kDefinitionTo output multiple fields, separate with spaces:$ unihan-tabular -f kCantonese kDefinitionTo output to a custom file:$ unihan-tabular --destination ./exported.csvTo output to a custom file (templated file extension):$ unihan-tabular --destination ./exported.{ext}Seeunihan-tabular CLI argumentsfor advanced usage examples.Structure# output w/ JSON{XDGdatadir}/unihan_tabular/unihan.json# output w/ CSV{XDGdatadir}/unihan_tabular/unihan.csv# output w/ yaml (requires pyyaml){XDGdatadir}/unihan_tabular/unihan.yaml# script to download + build a SDF csv of unihan.unihan_tabular/process.py# unit tests to verify behavior / consistency of buildertests/*# python 2/3 compatibility moduleunihan_tabular/_compat.py# utility / helper functionsunihan_tabular/util.py
Package: unihiker
unihikerThis is a library for unihiker from DFRobot (https://www.unihiker.com). Now there is an easy-to-use GUI inside based on tkinter and ttkbootstrap. This library aims to make unihiker suitable for education scenario.
The parameters in GUI's function is highly compatible with Tkinter's Button and Canvas widget. You could find the reference from here to get the detail configuration and parameters:https://anzeljg.github.io/rin2/book2/2405/docs/tkinter/canvas.htmlhttps://anzeljg.github.io/rin2/book2/2405/docs/tkinter/button.html
Package: unikube
The Unikube CLIThis is the command line interface forunikube.DocumentationThe unikubecli documentationis automatically built.InstallationGeneralThe unikube cli can be installed viapip. Please make sure you are using Python 3.pipinstallunikubeMacOSThe unikube cli is also installable via brew:brewtapunikubehq/tooling
brewinstallunikubehq/tooling/unikubeMake Localcddocs
makehtmlDevelopmentSetupStart the local unikube development cluster:k3dclusterstartunikubeInstall CLITo install the latest (pre-)release of the Unikube CLI typesudopip3installunikube==<VERSION>--upgrade--preEnable tab completionunikubesupport tab completion scripts for bash.unikubesystemcompletionbash>/etc/bash_completion.d/unikube.bash-completionYou probably need to restart your shell in order for the completion script to do its work.Virtual Environment + RequirementsCreate virtual environment:python-m.venvvenvInstall requirements (production + development):pip3install-rrequirements.txt-rrequirements.dev.txtVersion Build + ReleaseVersion management is handled via bump2version.bump2version patch|minor|majorIncreasedevversion (e.g.: 1.0.0-dev1 -> 1.0.0-dev2):bump2version buildCreate release (e.g.: 1.0.0-dev2 -> 1.0.0):bump2version releaseTestTests for the unikube cli are developed using thepytestframework in combination with theclick.testingmodule.Thus, it is possible to run the tests usingpytestor by configuring the testing environment/options within your IDE to usepytest.Currently, most tests are developed directly against the unikube API, using a test-account. Therefore, it is required to provide the credentials via the following environment variables:TESTRUNNER_EMAIL=...
TESTRUNNER_SECRET=...Otherwise, tests might fail locally, even if they are correct.It is possible to set the environment variables using an.envfile within your virtual environment or by providing them explicitly:TESTRUNNER_EMAIL=... TESTRUNNER_SECRET=... pytest
Package: unilakedocstheme
# Introduction
TODO: Give a short introduction of your project. Let this section explain the objectives or the motivation behind this project.# Getting Started
TODO: Guide users through getting your code up and running on their own system. In this section you can talk about:
1.      Installation process
2.      Software dependencies
3.      Latest releases
4.      API references# Build and Test
TODO: Describe and show how to build your code and run the tests.# Contribute
TODO: Explain how other users and developers can contribute to make your code better.If you want to learn more about creating good readme files then refer the following [guidelines](https://docs.microsoft.com/en-us/azure/devops/repos/git/create-a-readme?view=azure-devops). You can also seek inspiration from the below readme files:
- [ASP.NET Core](https://github.com/aspnet/Home)
- [Visual Studio Code](https://github.com/Microsoft/vscode)
- [Chakra Core](https://github.com/Microsoft/ChakraCore)
Package: unilakedocs-theme
# Introduction
TODO: Give a short introduction of your project. Let this section explain the objectives or the motivation behind this project.# Getting Started
TODO: Guide users through getting your code up and running on their own system. In this section you can talk about:
1.      Installation process
2.      Software dependencies
3.      Latest releases
4.      API references# Build and Test
TODO: Describe and show how to build your code and run the tests.# Contribute
TODO: Explain how other users and developers can contribute to make your code better.If you want to learn more about creating good readme files then refer the following [guidelines](https://docs.microsoft.com/en-us/azure/devops/repos/git/create-a-readme?view=azure-devops). You can also seek inspiration from the below readme files:
- [ASP.NET Core](https://github.com/aspnet/Home)
- [Visual Studio Code](https://github.com/Microsoft/vscode)
- [Chakra Core](https://github.com/Microsoft/ChakraCore)
Package: unilever
Unilever Q&A reporterA simple commandline app for automate UNILEVER Q&A reportManual$gitclonehttps://github.com/carlosgeovany/unilever$cdunilever$pythonsetup.pyinstallUsage$unileverber--file<filepathtoberfile>

$unilevertickets--file<filepathtoclosed_ticketsfile>
Package: unilogin
Unilogin APILog ind på alle sider som bruger unilogin kun ved brug af PythonInstallationpip install uniloginBrugEn fuld dokumentation er ikke udgivet endnu men her er basisfromuniloginimportUniloginuniloginClient=Unilogin(brugernavn="brugernavn",adgangskode="adganskode")loginUrl=uniloginClient.login(href="login link fra side du prøver at logge in fra",referer="link fra side du prøver at logge in fra")print(loginUrl)#Output: Url som du kan bruge til at logge indPakker som bruger Unilogin APISkoleintra API (ItsLearnings elev-intra)To DoKode oprydningBillede-koderDokumentationKommer snart!
Package: unilyze
Unilyze: Get detailed unicode informationUnichar ClassThis module helps you getting very detailed unicode information about single characters.
It's simple to use, and presents data from unicode.org in a very easy readable and usable way.First we import theUnilyzelib:>> from unilyze import Unichar
>> from pprint import pprintNow we can create an Unichar instance and use it:>> uc = Unichar()
>> info = uc.ucd_info("a")
>> pprint(info)

{'ASCII_Hex_Digit': False,
 'Age': 'V1_1',
 'Alphabetic': True ...}This will make a huge dict of attributes of the character.SeeFULL OUTPUTThere are literally more than 100 attributes for each character!You can also get the raw-data like this:raw_info = uc.ucd_info_short("J")You can also find out in what languages a unicode character is used:>> info = uc.lng_usage("Ã¥")
>> pprint(info)

{'main': ['Danish',
          'Finnish',
          'Javanese',
          'Kalaallisut',...
}Here you will get a huge dict with countries.SeeFULL OUTPUTUnistat ClassThis class is used to get statistics of strings instead of single characters. It's used for summing op
information of each single character in the string.>> from unilyze.unistat import Unistat
>> from pprint import pprint

>> us = Unistat()
>> us.add_text("This is a small test! 123")

>> unistat = us.unistat()
>> pprint(unistat, compact=True)

{'ASCII_Hex_Digit': {True: {'chars': {'1', '3', 'a', '2', 'e'},
                            'total-count': 6}},
 'Age': {'V1_1': {'chars': {' ', '!', '1', '2', '3', 'T', 'a', 'e', 'h', 'i',   
                            'l', 'm', 's', 't'},
                  'total-count': 25}},.........Again we get a huge output grouped on UCD properties, and a count of the characters.SeeFULL OUTPUTA simple count of each character can be done like this:>> charstat = us.charstat()
>> print(charstat)

{'T': 1, 'h': 1, 'i': 2, 's': 4, ' ': 5, 'a': 2, 'm': 1, 'l': 2, 't': 2, 'e': 1, '!': 1, '1': 1, '2': 1, '3': 1}Final notesFor full usage, look in theexamplesfolder.All the data is bases on Unicode version 13 definition files fromwww.unicode.orgYou should only create one instance of Unichar or Unistat, because it loads 60Mb of data into memory.
It not only uses a lot of memory, it also takes some time (a second or so)Have fun/ Alex Skov Jensen
Package: unimacro
UnimacroThe Unimacro project aims to provide a rich set of command grammars, that can be configured by the users without programming knowledge.
Read more atNatlink, including Unimacro and VocolaaInstallingUnimacro is reasonably stable, but still in alpha.  Check theUnimacro Issuesto see the problem
areas - probably nothing you can't live without.Install unimacroInstall from thePython Package Indexwith the following.pip install unimacroLocation of GrammarsGrammars installed with Unimacro will be installed in:
the Lib\site-packages\unimacro\UnimacroGrammars sub-directory of your
Python installation.  Good ones to start with include _folders.py and _clickbyvoice.py
as most users will  find web and file system navigation by voice useful.More aboutUnimacro GrammarsDeveloper instructions.If you want to install your local unimacro development environment as the working unimacro:pip install -e ..flit buildto build the wheen and sdist withflit.flit publishto pubish them to thePython Package Index.BEFORE YOU PUBLISH review the version number of dependencies in pyproject.toml, see if you require newer ones.
Package: unimake
UnimakeTheunimakepackage supports the Unimake Terminal Development
Environment (TDE), part of the Unimatrix Framework.Installunimake:$ pip install unimakeExample - bootstrap a new Python projectAll projects start by bootstrapping them using theunimakecommand-line
utility.#BootstrapaprojectforaPythonpackage.$python3-munimakebootstrappackagepython--namefoo#BootstapaprojectforanamespacedPythonpackage.$python3-munimakebootstrappackagepython--namebar--namespacefoo#BootstrapaprojectforaPythonapplication.$python3-munimakebootstrapapplicationpython--namefooExample - apply configuration to projectIf the project configuration is changed, it must be applied to the source tree.$python3-munimakeapplyDevelopingRunmake envto set up the local development environment.Runmake consoleto start a Python interpreter.If new requirements are added to the project (seegit log requirements.txt),
runmake depsrebuild.Export the environment variables to a file withmake .env. Use this command
when integrating with third-party IDEs such as Eclipse or VSCode. Do not check
in this file to the version control system - it is local to your environment
only.Build the technical documentation withmake documentation.Additional targets may be specified inconfig.mk.LicenseProprietaryAuthor informationThis Python package was created byCochise Ruhulessinfor theUnimatrix Oneproject.Send me an emailGitLabGitHubLinkedInTwitter
Package: unimatrix
Unimatrix CoreTheunimatrixpackage is the core library of the Unimatrix Framework.Installunimatrix:$ pip install unimatrixMake sure that your local environment satisfies thespecified prequisites.Head over to thedevelopment sectionif you plan to contribute
to this project. The technical documentation is available athttps://unimatrixone.gitlab.io/libraries/python-unimatrix/unimatrix.PrequisitesThe following Python version(s) are compatible with theunimatrixpackage:3.83.9To install or upgrade Python, visithttps://www.python.org/downloads/and
choose one of the supported releases.DevelopingRunmake envto set up the local development environment.Runmake consoleto start a Python interpreter.If new requirements are added to the project (seegit log requirements.txt),
runmake depsrebuild.Export the environment variables to a file withmake .env. Use this command
when integrating with third-party IDEs such as Eclipse or VSCode. Do not check
in this file to the version control system - it is local to your environment
only.Build the technical documentation withmake documentation.Additional targets may be specified inconfig.mk.LicenseProprietaryClick or tap here for licensing requests.Author informationThis Python package was created byCochise Ruhulessinfor theUnimatrix Oneproject.Send me an emailGitLabGitHubLinkedInTwitter