Saravanan666/pypi-org huggingface dataset:
Package: unicity
unicityI wrote this library to test and debug code from hundreds of Python files submitted by my programming class. It can also be used to find code submissions that are suspiciously similar (Python and MATLAB).To get started, install unicity usingpip.pipinstallunicityThen, download the and run the scripts in theexamplefolder above. Start withloading_projects.py,batch_testing.pyandsimilarity_check.py.Some disclaimers:I have discovered that when students are learning to code, they are very innovative in the ways they will find to break your workflow. So far, I have built support to catch and handledirectory changesandinfinite loops, but I'm sure there are more surprises out there! You can catch and handle these yourself in the way you define a test function, but I'd also like to hear if you think something should be added to make unicity testing more robust.Similarity checking should be treated as a screening tool to highlightpotentialinstances of copying. It does not (it cannot) assert that copying has in fact occurred. The best way to do that is by a follow up interview.More documentation atreadthedocs.
Package: uniclogs-rads
# RADS (Request Approve / Deny Service)## Dependencies$pip install -r requirements.txt## Build pip package$python3 setup.py bdist_wheel## InstallationLocal Install:$python -m pip install dist/rads*.whlGlobal Install:$sudo python -m pip install dist/rads*.whl## RunLocal: (user install)$python3 -m radsGlobal: (global install)$rads
Package: unicms
uniCMSuniCMS is a Web Application Content Management System developed usingDjango Framework.
The project is created by a group of passionate developers who introduces bespoke
design and architecture for a next generation CMS.SetupFor the installation steps please consult thedocumentationDemo projectThe quickest way to get started with uniCMS is to run a demo platform with a few basic websites, pages and contents.uniCMS Example ProjectGetting startedThe simpler and easier way to create a web site in uniCMS consist of the following steps:Select the template to be used. Refer toTemplatessection of this guideDefine yourblocks and Page templatesto be inherited by your Website's pagesCreate a WebSiteDomain nameFill contents like Categories, Publications, Menus ...Create a WebPath, a root node like '/' or a subdirectoryCreate a Page with as much as blocks you'd like.
Dispose menus, carousels and things with regular blocks or publication contents (or part of them) using placeholder blocks.FeaturesThe default template shipped with:Compatibility and interoperability in mobile platformsSEO optimizedBootstrap like design and structurePlugin mode and compatibility for Django applicationsAgile and adaptive design and logic (ah-hoc and easy customization)OpenAPIv3(OAS3) compliantCompatible with the major RDBMS engines with agile schema migrations capabilitiesMultitenancy - create and manage multple web applications within single platformQuery and search capabilities -MongoDB FullText Searchvia CLIExtensive localization withmultiple languagesAbility to handle Editorial Board workflows (WiP) and permissions by contextsHigh performance thanks to its cached model based on Redis TTLSecurity by design - security by defaultRobust enterprise and scalablePlugin model and rich interoperability with multiple frameworks and technologiesuniCMS is designed for both end users and developers where the developers can create their
own customzied web applications (CMS) without starting one from scratch and end users
without any development skills can setup a professional CMS platform without difficulty.uniCMS was created due to necessity of creation and design of a new protal for the
University of Calabria. After evaluation of several options, University of Calabria
having a strong in-house competitive and highly skilled technical team it was decided
to opt for the development of a brand new CMS solution based on Django framework.The entire uniCMS project code is open sourced and therefore licensed under
theApache 2.0.For any other information please consult theOfficial Documentationand feel free
to contribute the project or open issues.Tests# activate your virtualenv first, then
cd example
coverage erase ; coverage run ./manage.py test cms; coverage report -mHints for developersPlease run these before doing new commitspip install -r requirements-dev.txt

autopep8 -r --in-place   ../src/cms/
flake8 ../src/cms --count --exit-zero --statistics 

# auto flake0
autoflake -r --in-place  --remove-unused-variables --expand-star-imports --remove-all-unused-imports ../src/cms/
Package: unicms-editorial-board
unicms-editorial-boardUse as is in productionpip install unicms-editorial-board
./manage.py collectstaticDevelopmentInstall node.js and npmPurge old installationsudo rm -rf /usr/local/bin/npm /usr/local/share/man/man1/node* ~/.npm
sudo rm -rf /usr/local/lib/node*
sudo rm -rf /usr/local/bin/node*
sudo rm -rf /usr/local/include/node*

sudo apt-get purge nodejs npm
sudo apt autoremoveDownload the latest tar.xz NodeJS file fromhttps://nodejs.org/en/download/tar -xf node-v#.#.#-linux-x64.tar.xz
sudo mv node-v#.#.#-linux-x64/bin/* /usr/local/bin/
sudo mv node-v#.#.#-linux-x64/lib/node_modules/ /usr/local/lib/
Where #.#.# is the version you downloaded.Verify installation usingnode -v
npm -vInstall packagescd /unicms-editorial-board/src/unicms_editorial_board/unicms_editorial_board_vue
npm installEdit files and buildnpm run build
Package: unicode-age
unicode_ageA package for determining what version a Unicode codepoint was added to the standardThis package's versionX.Y.Ztracks Unicode versionX.Y, withZreserved as
a release counter for updates unrelated to the Unicode version.Example usage>>>importunicode_age>>>codept=ord("\N{SNAKE}")# added in Unicode 6.0>>>print(unicode_age.version(codept))(6,0)RationaleBefore writing this module, I was parsingDerivedAge.txtinto alist[int | None],
but this approach consumes an atrocious amount of memory (10 MB) for
what it is. Using the representation here consumes three orders of magnitude
less memory (~30 KB), and it was kinda fun to write besides :)UpdatingThe scriptmakeunicode_age.pyconsumesDerivedAge.txtand
produces the header file that holds the backing data for this module and fills
in the number of spans in the Cython template. To make a build for another
version of the Unicode Character Database, you should be able to replaceDerivedAge.txtand re-run this script.
Package: unicodeart
UnicodeArt本项目是基于asciifier做了些调整和改进：优化了程序结构、优化了一些细节处理、增加了对宽字符的处理(基于特定混合等宽字体)。主要功能为：根据输入的文本或图片生成相应的字符画。使用方法python src/unicodeart/console.py [-h] [-c CONFIG] (-i IMAGE | -t TEXT) [-a CHARS] [-o OUTPUT] [-e HEIGHT] [-w WIDTH] [-f FONT] [-r RATIO] [-v] [-m MATRIX] [-p PRINT]options:
  -h, --help            show this help message and exit
  -c CONFIG, --config CONFIG
                        配置文件路径
  -i IMAGE, --image IMAGE
                        任何cv2支持的图像文件
  -t TEXT, --text TEXT  一些文本字符串
  -a CHARS, --chars CHARS
                        用来构成字符画的基本字符
  -o OUTPUT, --output OUTPUT
                        生成文件的路径
  -e HEIGHT, --height HEIGHT
                        输出高度，即行数，也用作字体大小
  -w WIDTH, --width WIDTH
                        输出宽度，即字符画横向对应的字符数
  -f FONT, --font FONT  用于显示的文本字体
  -r RATIO, --ratio RATIO
                        每个字符相对于其宽度的高度倍数
  -v, --invert          反转图像
  -m MATRIX, --matrix MATRIX
                        用于采样的矩阵大小
  -p PRINT, --print PRINT
                        执行print(all:全部，为默认值；spec:指定，用于外部调用；no:不执行print输出)示例python src/unicodeart/console.py -o output.txt -t "黑白あき123ABab" --font "C:\Windows\Fonts\SimSun.ttc" --height 20
Package: unicode-babel
Unicode BabelUnicode Babel is a easy to use python package for generating random unicode code-points/characters.It's ideal for use in your tests or tools, Allowing you to quickly identify bugs and data processing issues.Easy to use iterator for repeated testsUnicode Planes 0, 1 and 2Python 3.6+Free  to use and open sourceGetting started:To install:pipinstallunicode-babelThis code:fromunicode_babelimporttools,filtersgenny=tools.CodePointGenerator()forpointingenny.random_codepoints(10,filters.filter_out_if_no_name):print(point)Will output 10 random unicode code-points from the Basic Multilingual Plane, filtered to ensure only valid named code-points are returned.:ᓆ
ᗡ
ꋛ
販
ۅ
䶣
楨
蟷
䔉
ݥAs these are valid characters from valid code-points you can use these anywhere that clams to accept text.If you want to really put the cat among the pigeons try this code:fromunicode_babelimport*genny=tools.CodePointGenerator()forpointingenny.random_codepoints(10,filters.filter_in_if_no_name):print(point)...it will fail badly, as the code-points filtered-in can not be encoded, the codepoints don't map to a 'character'.
The error might look something like this:Traceback (most recent call last):
  File "tryout.py", line 6, in <module>
    print(point)
UnicodeEncodeError: 'utf-8' codec can't encode character '\ud8b4' in position 0: surrogates not allowedBut this nonetheless might be useful in unit testing etc.Or you can get individual code-points and them use them with other tools, for example Selenium Webdriver:fromunicode_babelimporttools,filtersfromseleniumimportwebdriverfromselenium.webdriver.common.keysimportKeysbrowser=webdriver.Chrome()browser.get("https://www.google.com")data_genny=tools.CodePointGenerator()unusual_char=data_genny.get_random_codepoint(filters.filter_out_if_no_name)search_box=browser.find_element_by_name("q")search_box.send_keys(unusual_char+Keys.RETURN)Assuming you have Chromedriver (Webdriver) in your path, that should open Google and search for a random character.TestingIf you have downloaded the code from GitHub and wish to run the unit tests:python -m unittest discover -v testsLicense:Copyright © 2023 Peter HoughtonPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Package: unicodec
Unicodec Package DocumentationThis package provides functions for:decoding bytes content of HTML document into Unicode textdetecting encoding of bytes content of HTML documentnormalization of encoding's name to canonical form, according to WHATWG HTML standardFeel free to give feedback in Telegram groups:@grablaband@grablab_ru.Installationpip install -U unicodecUsage Example #1Download web document with urllib and convert its content to Unicode.fromurllib.requestimporturlopenfromunicodecimportdecode_content,detect_content_encodingres=urlopen("http://lib.ru")rawdata=res.read()data=decode_content(rawdata,content_type_header=res.headers["content-type"])print(data[:70])print(detect_content_encoding(rawdata,res.headers["content-type"]))Output:<html><head><title>Lib.Ru: Библиотека Максима Мошкова</title></head><b
koi8-rUsage Example #2Download web document with urllib3 and convert its content to Unicode.fromurllib3importPoolManagerfromunicodecimportdecode_content,detect_content_encodingres=PoolManager().urlopen("GET","http://lib.ru")rawdata=res.datadata=decode_content(rawdata,content_type_header=res.headers["content-type"])print(data[:70])print(detect_content_encoding(rawdata,res.headers["content-type"]))Output:<html><head><title>Lib.Ru: Библиотека Максима Мошкова</title></head><b
koi8-rUsage Example #3Convert names of encodings to canonical form (according to WHATWG HTML standard).fromunicodec.normalizationimportnormalize_encoding_namefornamein["iso8859-1","utf8","cp1251"]:print("{}->{}".format(name,normalize_encoding_name(name)))Output:iso8859-1 -> windows-1252
utf8 -> utf-8
cp1251 -> windows-1251Referenceshttps://docs.python.org/3/library/html.htmlhttps://docs.python.org/3/library/html.entities.htmlhttps://html.spec.whatwg.org/multipage/parsing.htmlhttps://encoding.spec.whatwg.org/#names-and-labelshttps://www.i18nqa.com/debug/table-iso8859-1-vs-windows-1252.html
Package: unicode-charnames
unicode-charnamesThis package supports Unicode version 15.1, released in September 2023.The library provides:A function to get the character name (the normative character property “Name”) or the code point label (for characters that do not have character names) of a single Unicode character.A function to get the code point value (in the usual 4- to 6-digit hexadecimal format) corresponding to a Unicode character name; the search is case-sensitive and requires exact string match.A function to search characters by character name; the search is case-insensitive but requires exact substring match.The generic term “character name” refers to the Unicode character “Name” property value for an encoded Unicode character. For code points that do not have character names (unassigned, reserved code points and other special code point types), the Unicode standard uses constructed Unicode code point labels, displayed between angle brackets, to stand in for character names.Installation or upgradeThe easiest method to install is using pip:pipinstallunicode-charnamesTo update the package to the latest version:pipinstall--upgradeunicode-charnamesUCD versionTo get the version of the Unicode character database currently used:>>>fromunicode_charnamesimportUCD_VERSION>>>UCD_VERSION'15.1.0'Example usagefromunicode_charnamesimportcharname,codepoint,search_charnames# charnameforcharin'龠💓\u00E5\u0002':print(charname(char))# CJK UNIFIED IDEOGRAPH-9FA0# BEATING HEART# LATIN SMALL LETTER A WITH RING ABOVE# <control-0002># codepointfornamein['LATIN CAPITAL LETTER E WITH ACUTE','SQUARE ERA NAME REIWA','SUPERCALIFRAGILISTICEXPIALIDOCIOUS']:print(codepoint(name))# 00C9# 32FF# None# search_charnamesforxinsearch_charnames('break'):print('\t'.join(x))# 00A0    NO-BREAK SPACE# 2011    NON-BREAKING HYPHEN# 202F    NARROW NO-BREAK SPACE# 4DEA    HEXAGRAM FOR BREAKTHROUGH# FEFF    ZERO WIDTH NO-BREAK SPACERelated resourceThis implementation is based on the following resource:Section 4.8, Name, in the Unicode core specification, version 15.1.0.LicensesThe code is available under theMIT license.Usage of Unicode data files is governed by theUNICODE TERMS OF USE. Further specifications of rights and restrictions pertaining to the use of the Unicode data files and software can be found in theUnicode Data Files and Software License, a copy of which is included asUNICODE-LICENSE.
Package: unicodeconverter
Unicode ConverterA python tool to convert Bangla Bijoy text to Unicode text.InstallationUnicode Converter can be installed via PyPi. Make surepipis installed and updated. Then simply run the following command:pip install unicodeconverterhow to useimport unicodeconverter as uc

bijoy_text = 'Avwg evsjvq Mvb MvB|'
unicode_text = uc.convert_bijoy_to_unicode(bijoy_text)

print(unicode_text)
# >>> আমি বাংলায় গান গাই।
Package: unicodecsv
The unicodecsv is a drop-in replacement for Python 2.7’s csv module which supports unicode strings without a hassle.  Supported versions are python 2.7, 3.3, 3.4, 3.5, and pypy 2.4.0.More fullyPython 2’s csv module doesn’t easily deal with unicode strings, leading to the dreaded “‘ascii’ codec can’t encode characters in position …” exception.You can work around it by encoding everything just before calling write (or just after read), but why not add support to the serializer?>>>importunicodecsvascsv>>>fromioimportBytesIO>>>f=BytesIO()>>>w=csv.writer(f,encoding='utf-8')>>>_=w.writerow((u'é',u'ñ'))>>>_=f.seek(0)>>>r=csv.reader(f,encoding='utf-8')>>>next(r)==[u'é',u'ñ']TrueNote that unicodecsv expects a bytestream, not unicode – so there’s no need to usecodecs.openor similar wrappers.  Plainopen(…, ‘rb’)will do.(Version 0.14.0 dropped support for python 2.6, but 0.14.1 added it back.  See c0b7655248c4249 for the mistaken, breaking change.)
Package: unicodedata2
unicodedata2unicodedatabackport/updates.The versions of this package match Unicode versions, so unicodedata2==13.0.0 is data from Unicode 13.0.0.Pre-compiled wheel packages are available onPyPIand can be installed via pip.TestingWe run the tests usingtox. This can be installed as usual withpip install tox.Without any options,toxwill run the tests against all of the library's
target Python versions. Any missing versions will be skipped.To run tests against a specific python version you can use the-eoption followed by
a tox environment name. E.g.-e py38will run tests against Python 3.8.
For more info, checktox'sdocumentation.Changelog15.0.0Upgrade to Unicode 15.0.014.0.0Upgrade to Unicode 14.0.013.0.0-2Fix issue with source distribution tarball archive missing CHANGELOG.md file.Use tox as test runner.13.0.0Upgrade to Unicode 13.0.012.1.0Upgrade to Unicode 12.1.0Remove Python 3.4 support as multibuild no longer supports Python 3.4.12.0.0Upgrade to Unicode 12.0.011.0.0Upgrade to Unicode 11.0.0Remove Python 3.3 support as wheel no longer supports Python 3.3.10.0.0-2Wheel for Python 3.610.0.0Upgrade to Unicode 10.0.0Remove Python 2.6 support as wheel no longer supports Python 2.6.9.0.0-4Re-releasing 9.0.0-3 because PyPI doesn't handle bad internet connections well.9.0.0-3Add binary packages for all platforms. Patch by Cosimo Lupo (anthrotype).9.0.0-2Python 3 supportFix incorrect digitification caused by using the underlying Python's Unicode tables.9.0.0Upgrade to Unicode 9.0.08.0.0Upgrade to Unicode 8.0.07.0.0-2Compiles under Python 2.6 (and older 2.7). Patch by John Vandenberg. Fixes #2Runs regular unicodedata tests. Adds Travis and AppVeyor CI. Patch by John Vandenberg (jayvdb).7.0.0Initial release
Package: unicodedataplus
unicodedataplusDrop-in replacement forunicodedatawith extensions for additional Unicode properties.Currently supported additional Unicode properties:Script:script(chr)Script Extensions:script_extensions(chr)Block:block(chr)Indic Conjunct Break:indic_conjunct_break(chr)Indic Positional Category:indic_positional_category(chr)Indic Syllabic Category:indic_syllabic_category(chr)Grapheme Cluster Break:grapheme_cluster_break(chr)Vertical Orientation:vertical_orientation(chr)Age:age(chr)Total Strokes (CJK):total_strokes(chr)Emoji:is_emoji(chr)Emoji Presentation:is_emoji_presentation(chr)Emoji Modifier:is_emoji_modifier(chr)Emoji Modifier Base:is_emoji_modifier_base(chr)Emoji Component:is_emoji_component(chr)Extended Pictographic:is_extended_pictographic(chr)Additionally, two dictionaries (property_value_aliasesandproperty_value_by_alias) are provided for Property Value Alias lookup.The versions of this package match unicode versions, so unicodedataplus==15.0.0 is data from unicode 15.0.0.Forked fromhttps://github.com/mikekap/unicodedata2Changelog15.1.0Upgrade to Unicode 15.1.0Add indic_conjunct_break property15.0.0-2Add age property15.0.0-1Add vertical orientation property15.0.0Upgrade to Unicode 15.0.014.0.0-2Added Emoji properties14.0.0-1Added Python3.10 and PyPy support14.0.0Upgrade to Unicode 14.0.013.0.0-2Added grapheme cluster break property13.0.0-1Fixed pre-Python 3.8 compatibility problems13.0.0Upgrade to Unicode 13.0.012.1.0Upgrade to Unicode 12.1.0Added property value alias lookupAdded script extensions, indic positional categories, and indic syllabic categories lookup.12.0.0Forked from unicodedata2Added script, block and total strokes lookup11.0.0Upgrade to Unicode 11.0.0Remove Python 3.3 support as wheel no longer supports Python 3.3.10.0.0-2Wheel for Python 3.610.0.0Upgrade to Unicode 10.0.0Remove Python 2.6 support as wheel no longer supports Python 2.6.9.0.0-4Re-releasing 9.0.0-3 because pypi doesn't handle bad internet connections well.9.0.0-3Add binary packages for all platforms. Patch by Cosimo Lupo (anthrotype).9.0.0-2Python 3 supportFix incorrect digitification caused by using the underlying Python's Unicode tables.9.0.0Upgrade to Unicode 9.0.08.0.0Upgrade to Unicode 8.0.07.0.0-2Compiles under Python 2.6 (and older 2.7). Patch by John Vandenberg. Fixes #2Runs regular Unicodedata tests. Adds travis and appveyor CI. Patch by John Vandenberg (jayvdb).7.0.0Initial release
Package: unicodedata-reader
unicodedata-readerThis package reads and parses theUnicode Character Databasefiles.Many of them are available in theunicodedatamodule,
or in other 3rd party modules.
When the desired data is not in any existing modules,
such as theLine_Break propertyor theVertical_Orientation property,
this package can read the data files
athttps://www.unicode.org/Public/UNIDATA/.This package can also generate JavaScript functions
that can read the property values of theUnicode Character Databasein browsers.
Please see theJavaScriptsection below.Installpipinstallunicodedata-readerIf you want to clone and install usingpoetry:gitclonehttps://github.com/kojiishi/unicodedata-readercdunicodedata-reader
poetryinstall
poetryshellPythonimportunicodedata_readerreader=unicodedata_reader.UnicodeDataReader.defaultlb=reader.line_break()print(lb.value(0x41))The example above printsAL,
theLine_Break propertyvalue for U+0041.
Please also seeline_break_test.pyfor more usages.JavaScriptTheUnicodeDataCompressorclassin this package
can generate JavaScript functions that can read the property values
of theUnicode Character Databasein browsers.Following examples are available in the "js" directory:GeneralCategory.jsis a generated JavaScript file
for the UnicodeGeneral_Category property.LineBreak.jsis a generated JavaScript file
for the UnicodeLine_Break property.LineBreak.htmlfor an example usage ofLineBreak.js.The following command generates a JavaScript file for theLine_Break propertyusingjs/template.jsas the template file:unicodedata-readerlb-tjs/template.js
Package: unicodeit
UnicodeItTested on Linux, Mac and Windows:Converts LaTeX tags to unicode.
Available online atunicodeit.net.Examples\alpha α, \beta β, \infty ∞       e^+ e⁺, \mu^- μ⁻               \exists ∃, \nexists ∄
\int ∫, \sum ∑, \partial ∂        \to →, p\bar{p} pp̅             \mathcal{H} ℋ, \mathbb{R} ℝ
\slash{\partial} ∂̸                \underline{x} x̲                \phone ☎, \checkmark ✓
\dot{x} ẋ, \ddot{x} ẍ             A^6 A⁶, m_0 m₀                 \Im ℑ, \Re ℜ, \hbar ℏ
\gamma γ, \Gamma Γ                \~{O} Õ                        \perp ⊥, \parallel ∥
\sfrac{3}{5} ⅗                    \therefore ∴, \because ∵       \subset ⊂, \supset ⊃PythonInstall withpip install unicodeitand runpython-municodeit.cli\\alphaor in Pythonimportunicodeitprint(unicodeit.replace('\\alpha'))JavaScript / TypeScriptInstall withnpm install unicodeit --save-devand use it like this:varunicodeit=require('unicodeit');console.log(unicodeit.replace('\\alpha'));Mac AutomatorCreate your own Automator Workflow:Create a new "Quick Action" (might also be labeled as "Service").At the top, leave the defaults: "Service receivesselected textinany application"Select the checkmark "output replaces selected text".Add the action "Run Shell Script".From dropdown, select to "pass in: as arguments".The command is:/usr/local/bin/python3 -m unicodeit.cli $1. This Python interpreter must have unicodeit installed; e.g. with/usr/local/bin/python3 -m pip install unicodeit.It should look something like this:To set a keyboard shortcut, go toSystem Preferences→Keyboard→Shortcuts→Services→Text→UnicodeItAction.
Choose a keyboard shortcut likeCommand+Option+Shift U.Now you are all set to use your new keyboard shortcut in many apps, like here in Keynote:[dev] New Release Flowupdate version inuncodeit/__init__.pyandpackage.jsoncreate a new release on Github