Saravanan666/pypi-org huggingface dataset:
Package: unvcf
Split VCF file into intelligible tab-delimited files.VCF stands for variants call format and is widelly used in
bioinformatics for saving XX information for being flexible enough to
store a wide range of data. Although it has been inspired by CSV files
to (I suppose) make VCF easy to read by humans and easy to parse by
machines, it is nowadays hardly doing well in both instances. It is a
file format whose full specification cannot be given before-hand as each
VCF files is free to specify the format of its own fields. As a result,
the first step to process data contained in a VCF file is often
extracting a subset of it and converting the extract data into a more
amenable file format.This command-line Python package aims to tackle the above problems. It
will split a VCF format into standard CSV files, each of which
containing a different field of the original VCF file. Therefore
facilitating making it both easier to read by humans and machines again.InstallAssuming you have a up-to-date Python installation, you will almost
certainly have all the necessary requirements to install unvcf. From
terminal, enter:pipinstallunvcfUsageAfter the installation, you will have acccess tounvcffrom
terminal. In which case you can start using it as follows:unvcfpath_to_file.vcfdestination_folder/This will produce CSV files that represent the original fields ofpath_to_file.vcf. For more information, you can enterunvcf--helpIf by any change you face a problem or have a question, please, create anew issueand we will
try to sort it out as soon as possible.AuthorsDanilo HortaLicenseThis project is licensed under theMIT
License.
Package: unvcode
【幼女Code】反和谐超级武器！你还在因为在群名里加入色图而被QQ改成一个「*」而苦恼吗？你还在因为在红包祝福里写「年轻人好好自慰」而白白花钱吗？快使用幼女Code吧！幼女Code使用Librian幼女娱乐中心最新研发的unvcode，可以快速解决你的一切问题！原理在unicode中(注意这不是unvcode)，有很多字，它们看起来长得很像，但是它们的ord不一样。这样一来，只要把字符串里原本的字……啊，点到为止，再说下去就不好玩了。效果幼女Code真是太棒了！接口defunvcode(s:str,skip_ascii=True)->Tuple[str,Tuple[float,...]]:输入一个字符串，返回改变后的字符串、每个字符被改变后与原本的像素差异(没变就是None)。如果skip_ascii开启则会跳过ascii字符。样例:importunvcodes,var=unvcode.unvcode('Librian幼女娱乐中心开业了，注册即送色图！')print(s)print(var)输出:Librian幼⼥娱乐㆗⼼开业了，注册即送⾊图！
(None, None, None, None, None, None, None, None, 0.0, None, None, 0.009146429779930796, 0.0, None, None, 0.0, None, None, None, None, None, 0.0, None, None)注意，这句话看起来的样子取决于你的系统字体，所以我也不知道它会是什么样的……安装pip install unvcode然后在代码里import unvcode就行了，就是这么简单！(我还没发好包，等等先别装……)结束如果你觉得幼女Code对你的工作或学习有所帮助，欢迎给作者送一些幼女过来。
Package: unvtray
Unvanquished TrayA minimalisticUnvanquishedserver browser that
runs in your system tray. The icon shows the player count of the most populated
server. A left click on the icon connects to this server (on supported
platforms) while a right click opens a server list in a context menu. Clicking
on a server will launch the game and connect to it.Installationvia pippipinstall--userunvtrayon Arch Linux$YOUR_AUR_HELPER-Sunvtrayfrom sourcegit clone https://github.com/Unvanquished/unvanquished-tray-browser.git
cd unvanquished-tray-browser
python -m pip install --user build  # possibly already installed
python -m build
python -m pip install --user dist/*.whlRunningTo run Unvanquished Tray in the foreground, execute:unvtrayor, if the above does not work (e.g. when~/.local/binis not in yourPATHon Unix-like platforms):python -m unvtrayAutostarton GNU/LinuxTo either of the above commands, append&as necessary (for running in the
background) and add it to your display server startup file (e.g.~/.xinitrcif starting Xorg manually or~/.xprofileif using a display manager), or to
your desktop environment or window manager configuration (e.g..i3/configfor
i3). See theArch Linux
wikifor more
options.TroubleshootingThe game does not launch when selecting a server from the context menuon GNU/LinuxMake surexdg-utilsare installed and that your distribution of Unvanquished
comes with a.desktopfile that describes theunv://URI scheme. For
example, theofficial
updaterand theofficial
flatpak(all
platforms) as well as theAUR
package(Arch Linux) should
install a.desktopfile alongside the game.on other platformsLaunching the game may not be implemented properly for other platforms; please
comment in Unvanquished/unvanquished-tray-browser#2 if you are affected.Launching the game on a different monitor than the tray icon is onusing i3Add the following to your configuration:for_window [class="daemon"] move container to output YOUR_MAIN_MONITORAdditionally, for i3 it is recommended to disablefullscreenand enableborderless windowin the game's settings and to add the following to your
configuration:for_window [class="daemon"] fullscreenA similar solution may improve fullscreen behavior also with other tiling
window managers.Code and asset licensesThe source code is licensed underGPLv3 or later.Theincluded fontis unmodified from theGNU FreeFont familyand is licensed
underGPLv3 or later.The originalUnvanquished iconand the
derivedunvtray iconsare licensed underCC BY-SA
2.5; you may attribute all
to "Unvanquished Development."
Package: unwanted-content-detector
Unwanted Content DetectorA library to detect undesired, unbranded, or harmful contentUsageIn python:pipinstallunwanted-content-detector--upgradeWith Pandasimportpandasaspdfromunwanted_content_detectorimportDetectordetector=Detector()df=pd.DataFrame({"text":["this is hate speech","We should all do our part to protect the environment.",'Everyone has the right to love who they want.']})df['is_unwanted']=df['text'].apply(lambdax:detector.is_unwanted(x))To get a view of the complete options type in the terminal:unwanted_detectorModelsModel namesize (mb)distilbert-finetuned300 mbTrainingunwanted_detectortrainLiabilityThis tool aims to help you to detect harmful content but it is not meant to be used as the final decision maker alone.
Package: unweb.iptc
Introductionunweb.iptc will extract IPTC metadata from uploaded images and will save them
as Dublic Core metadata in Plone. Whenever the Dublin Core metadata is updated
in Plone, the IPTC metadata inside the image file will be respectively
updated.Works independently, or in combination with unweb.watermark.No need to install from the Plone Control Panel. Simply add it to your buildout
eggs section.Created byunweb.meChangelog0.4 (2015-06-16)#1 Set the CreationDate based on information given in IPTC recordsDate CreatedandTime Created(requres py-dateutil for
parsing the timezone information).
If IPTCDate Createdis not set, fallback to ExifDateTimeOriginal[fRiSi]0.3.1 (2012-12-21)handle images with latin-1 encoded iptc data too. description works
ootb, title needs an extra encoding try. [fRiSi]0.3 (2011-12-02)Cleanup dependencies [fRiSi]remove unnecessary depencency on grokno need to initialize the package as Zope2 productmove dependencies on plone.app.testing and interlude tounweb.iptc[test]extraAdd dependency on Procuts.CMFPlone and ATContentTypes0.2 (2010-11-22)Remove empty locales folder which was causing problems in some buildouts0.1 (2010-11-13)Initial releaseContributorsDimitris Moraitis, dimo at unweb.meChristos Psalits, cpsaltis at unweb.meMarkos Gogoulos, provetza at unweb.meHarald Friessnegger, harald at webmeisterei (dot) com
Package: unwebpack-sourcemap
unwebpack-sourcemapRecover uncompiled TypeScript sources, JSX, and more from Webpack sourcemaps.This is a Python command line application that parses Webpack sourcemaps and returns uncompiled TypeScript sources.unwebpack-sourcemap can process source maps on the local filesystem, or it can discover source maps on a remote website.IntroductionIf you're unfamiliar with source maps, you can read:"Introduction to JavaScript Source Maps"by Google Chrome Developers"Use a source map"by Firefox Source DocsInstallation1. Create a new Python virtualenv in a directory namedvenv.python3 -m venv venv2. Activate the virtualenv.source venv/bin/activate3. Install unwebpack-sourcemap from PyPI.python3 -m pip install unwebpack-sourcemapNote: unwebpack-sourcemap comes with Python dependencies that may conflict with the dependencies in your system installation of Python. That is why it is important toalways install unwebpack-sourcemap inside of a virtualenv,which won't make any changes to your surrounding system.4. Try running unwebpack-sourcemap.unwebpack-sourcemap --helpThe below examples assume that you are inside of anactivated virtualenv.If you have installed unwebpack-sourcemap in a virtualenv, but want to avoid activating it, you can find the unwebpack-sourcemap command in the locationvenv/bin/unwebpack-sourcemap.UsageThese examples use the--make-directoryflag to create a subdirectory namedoutput_dir.
You can omit the--make-directoryif you want to use an existing empty directory.Example #1: Unpacking a sourcemap on the local filesystemunwebpack-sourcemap --make-directory --local /path/to/source.map output_dirExample #2: Unpacking a sourcemap on a remote websiteunwebpack-sourcemap --make-directory https://pathto.example.com/source.map output_dirExample #3: Unpacking a sourcemap on a remote website (with autodetection)To attempt to read all<script src>on an HTML page, fetch JS assets, look forsourceMappingURI, and pull sourcemaps from remote sources:This will:read all of the<script src=>tags on an HTML pagefetch JavaScript assetslook forsourceMappingURIand pull the sourcemaps that are found.To do this, the command is:unwebpack-sourcemap --make-directory --detect https://pathto.example.com/spa_root/ output_dirLicense and creditunwebpack-sourcemap wasoriginallypublished byrarecoilunder theMIT license. rarecoil has also published a blog postexplaining the design and functionalityof the original version of unwebpack-sourcemap.This repository is a fork of unwebpack-sourcemap maintained byJames Mishraand packaged for PyPI.This repository is also licensed under the MIT license.
Package: unweb.recipe.ploneftp
A zc.buildout recipe for Plone sites that configures an ftp upload proxy with
resume support in front of Zope’s Medusa FTP. Plone users can login using their
username and password. When a file is succefully uploaded it is moved to the
user’s home folder in Plone.Code repository:http://svn.plone.org/svn/collective/unweb.recipe.ploneftp/Questions and comments tohttps://unweb.me/contactReport bugs athttp://plone.org/products/unweb.recipe.ploneftp/issuesSupported optionsThe recipe supports the following options:address
    host and port to listen on. Defaults to port 21

zope_ftp_address
    host and port of the zope ftp. Defaults to 127.0.0.1:8021

path
    path of the target folder in Zope. Defaults to /Plone/Members/%s where %s is the username

tmp_dir
    temporary directory where files will be uploaded. Defaults to /tmp/PloneFTP

login_message
    custom login message. Defaults to "Welcome to Plone FTP. Your uploaded file may not be visible in FTP when the upload has finished. Go to your Plone site member folder to see your file."

logout_message
    custom logout message. Defaults to "Thanks for using Plone FTP!"CreditsCreated byunweb.meBased onplumiftpby Andy Nicholson and Victor Rajewski.Development sponsored byengagemedia.orgContributorsDimitris Moraitis, dimo at unweb.meAndy Nicholson, andy at infiniterecursion.com.auVictor Rajewski, vik at engagemedia.orgChange history0.1 (2010-11-22)Initial release [dimo]Download
Package: unweb.shareit
Introductionunweb.shareit is a plone product that adds a “share this” link or button that shows a jquery popup with links to various social sites. The popup is based on the jquery shareit plugin:http://joanpiedra.com/jquery/shareit/unweb.shareit aims to be as unobtrusive as possible. It uses GenericSetup actions to register the icon in the document actions, and avoids overriding any plone templates.Changelog0.1Initial release [clopy]
Package: unweb.watermark
Introductionunweb.watermark lets you protect your high resolution images while publishing
resized and watermarked versions. The original images will only be available
to users with the “Licensee” role.Add it to your instance eggs in buildout and install using the Plone Add-ons
panel.Go to the “Watermark settings” configuration panel and set a watermark image.Then upload your hi-res images normally. The default Plone workflow will be
applied. Whenever you publish an image, the original file will be transfered to
a protected image field and the watermarked and resize image will be displayed
in the default image field. If you retract the image then the original file
will replace the watermarked one.Can be used standalone or in combination withunweb.iptcCreated byunweb.meChangelog0.3 (2010-11-22)Remove empty locales folder which was causing problems in some buildouts0.2 (2010-11-19)Added missing versions.cfg file0.1 (2010-11-13)Initial release
Package: unwind
UnwindA simple solution to analysis and extract information from tracebackinstallpipinstallunwindusagefromunwindimportReportwithReport()asreport:a=1b=2c='a'd=1+cprint(report.errors[0])print(report.reports[0])'''(<class 'TypeError'>, TypeError("unsupported operand type(s) for +: 'int' and 'str'"), <traceback object at xxxxx>)---------report--------info = _TraceContext(file='xxxxxx', line=7, name='<module>', code='d = 1 + c', locals={...})flag = operateargs = {'c': 'a'}---------end------'''orfromunwindimportget_reporttry:a=1b=2c='a'd=1+cexceptExceptionase:print(get_report(e))
Package: unwiredlabs
This implements the Unwiredlabs Location API protocol in pythonInstallationJust install withpip:pip install unwiredlabsUsagePython example:import unwiredlabs

key = 'ABCDEF1234567890'  # from the API console

bssid = 'ab:cd:ef:12:34:56'
rssi = -60

request = unwiredlabs.UnwiredRequest()
request.addAccessPoint(bssid, rssi)

connection = unwiredlabs.UnwiredConnection(key=key)
response = connection.performRequest(request)

if response.status != 'Ok':
        print('Error:', response.status)
else:
        print('Response: ', response.coordinate)Command line clientIn thetestdirectory you’ll find a command line client to test if everything works:$ python cmdline_client.py --help
usage: cmdline_client.py [-h] -k KEY [-w WIFI] [-g GPS] [-c CELL]
                                                 [-l LTE] [-u UMTS] [-m CDMA] [-a]

Make a location request against the unwiredlabs location API

optional arguments:
  -h, --help            show this help message and exit
  -k KEY, --key KEY     token from Unwired API panel
  -w WIFI, --wifi WIFI  WIFI BSSID and signal strength (format: XX:XX:XX:XX:XX:XX@RSSI)
  -g GPS, --gps GPS     GPS coordinate (format: latitude,longitude@num_satelites)
  -c CELL, --cell CELL, --celltower CELL
                                                GSM Celltower information (format: MCC,MNC,LAC,CellID@RSSI)
  -l LTE, --lte LTE     LTE Celltower information (format: MCC,MNC,LAC,CellID@RSSI)
  -u UMTS, --umts UMTS  UMTS (3G) Celltower information (format: MCC,MNC,LAC,CellID@RSSI)
  -m CDMA, --cdma CDMA  CDMA/EVDO Celltower information (format: MCC,MNC,LAC,CellID@RSSI)
  -a, --address         Fetch address info in addition to coordinates
Package: unwrap
This is a Python wrapper for 2D and 3D phase unwrapping code based on:(2D) M. A. Herráez, D. R. Burton, M. J. Lalor, and M. A. Gdeisat, “Fast two-dimensional phase-unwrapping algorithm based on sorting by reliability following a noncontinuous path”,Applied Optics, Vol. 41, Issue 35, pp. 7437-7444 (2002),(3D) H. Abdul-Rahman, M. Gdeisat, D. Burton, M. Lalor, “Fast three-dimensional phase-unwrapping algorithm based on sorting by reliability following a non-continuous path”,Proc. SPIE 5856, Optical Measurement Systems for Industrial Inspection IV, 32 (2005).More information about the code can be found on GERI homepage:2D,3D.
The general principle and applications are the same as those for a 1Dunwrapavailable in numpy.UsageThe package is based oncffiand requires it for installation:$ pip install cffi
$ pip install unwrapThe interface consists of a single function:>>> from unwrap import unwrap
>>> unwrapped_array = unwrap(
...    wrapped_array,
...    wrap_around_axis_0=False,
...    wrap_around_axis_1=False,
...    wrap_around_axis_2=False)It takes a 2- or 3-dimensionalnumpyarray of floats,wrapped_array, and returns
an array with the same shape with the values changed by integer
multiples of 2 pi such that the whole array has the least amount of
jumps.wrapped_arraycan be amasked array,
in this case masked entries are ignored during the phase unwrapping
process. This is useful if the wrapped phase data has holes or contains
invalid entries.If the optional argumentswrap_around_axis_0etc. are set toTrue, then phase unwrapping takes place also across the boundaries
of the specified axis, i.e., the first and last pixel along this axis
are assumed to be neighbours.Internally the wrapped array is converted to a C-contiguous array ofnp.float32, therefor the unwrapped array also has this data type.Usage examples can be found intest/test_unwrap.py.PeopleThe original C code by the authors mentioned above has been slightly modified by
Gregor Thalhammer for using it as a library. Bogdan Opanchuk changed
the Python wrapper to usecffiinstead ofCythonand improved packaging.
Package: unwrapper
# unwrapper [![Build Status](https://travis-ci.org/shaunvxc/unwrapper.svg?branch=master)](https://travis-ci.org/shaunvxc/unwrapper) [![PyPI version](https://badge.fury.io/py/unwrapper.svg)](https://badge.fury.io/py/unwrapper)unwrapperis a small utility for unwrapping the callback function from an otherwise easily parseablejsonstring.###Usage
* To unwrap theJSONfrom a callback function, and obtain a parsed dictionary:`python from unwrapper import unwrapunwrap('json13123({"a":1,"b": 2, "c":3})')# returns this dict: {u'a': 1, u'c': 3, u'b': 2} `* To simply unwrap the callback wrapper, useunwrap_raw:`python from unwrapper import unwrap_rawunwrap_raw('json13123({"a":1,"b": 2, "c":3})')# returns'{"a":1,"b": 2, "c": 3}' `####Command Line$ curl “SOME CURL REQUEST RETURNING WRAPPED JSON” | unwrap###Installation$ pip install unwrapper
Package: un-xtab
un-xtab.pyis a Python module and command-line program that rearranges data from a crosstabulated format to a normalized format. It takes data in this form:Station2006-05-232006-06-152006-07-19WQ-014.53.76.8WQ-029.75.17.2WQ-03106.18.8and rearranges it into this form:StationDateValueWQ-012006-05-234.5WQ-022006-05-233.7WQ-032006-05-236.8WQ-012006-06-159.7WQ-022006-05-155.1WQ-032006-06-157.2WQ-012006-07-1910WQ-022006-07-196.1WQ-032006-07-198.8Input and output are both text (CSV) files.You can use the un-xtab program to rearrange data that have been provided in a format designed for readability into a format that is more suitable for storage in a database, or for use with statistical, modeling, graphics, or other software.The un-xtab program can deal with crosstabbed formats that include multiple rows of column headers and groups of data values that were crosstabbed together.A row number can be added to assist with post-processing of the output file, if necessary.Complete documentation is at ReadTheDocs:https://un-xtab.readthedocs.io/.
Package: unyt
A package for handling numpy arrays with units.Often writing code that deals with data that has units can be confusing. A
function might return an array but at least with plain NumPy arrays, there is no
way to easily tell what the units of the data are without somehow knowinga
priori.Theunytpackage (pronounced like “unit”) provides a subclass of NumPy’sndarrayclass that knows about units. For example, one could do:>>> import unyt as u
>>> distance_traveled = [3.4, 5.8, 7.2] * u.mile
>>> print(distance_traveled.to('km'))
[ 5.4717696  9.3341952 11.5872768] kmAnd a whole lot more! Seethe documentationfor
installation instructions, more examples, and full API reference.This package only depends onnumpyandsympy.  Notably, it doesnotdepend onytand it is written in pure Python.Code of ConductTheunytpackage is part ofThe yt Project. Participating inunytdevelopment therefore
happens under the auspices of theyt community code of conduct. If
for any reason you feel that the code of conduct has been violated, please send
an e-mail toconfidential@yt-project.orgwith details describing the
incident. All emails sent to this address will be treated with the strictest
confidence by an individual who does not normally participate in yt development.LicenseThe unyt package is licensed under the BSD 3-clause license.CitationIf you make use of unyt in work that leads to a publication we would appreciate
a mention in the text of the paper or in the acknowledgements along with a
citation to ourpaperin the
Journal of Open Source Software. You can use the following BibTeX:@article{Goldbaum2018,
  doi = {10.21105/joss.00809},
  url = {https://doi.org/10.21105/joss.00809},
  year  = {2018},
  month = {aug},
  publisher = {The Open Journal},
  volume = {3},
  number = {28},
  pages = {809},
  author = {Nathan J. Goldbaum and John A. ZuHone and Matthew J. Turk and Kacper Kowalik and Anna L. Rosen},
  title = {unyt: Handle,  manipulate,  and convert data with units in Python},
  journal = {Journal of Open Source Software}
}Or the following citation format:Goldbaum et al., (2018). unyt: Handle, manipulate, and convert data with units in Python . Journal of Open Source Software, 3(28), 809,https://doi.org/10.21105/joss.00809
Package: unzip-aes
unzip-aesUnzip AES encrypted zip file.Installpipinstallunzip-aesInstalled Utilsunzip-aesUsageC:\Code\unzip-aes256>pythonunzip-aes.py--help
Usage:unzip-aes.py[OPTIONS]ZIPFILE[DST]UnzipAESencryptedzipfile.

Options:-p,--passwordTEXT[required]--helpShowthismessageandexit.ExampleExample1:Unzip the-target.zip file to current folder.unzip-aes-pPasswordthe-target.zipExample2:Unzip the-target.zip file to dst folderunzip-aes-pPasswordthe-target.zipdstReleasev0.1.2 2022/01/07Repack to fix license file missing problem.v0.1.1 2020/03/31Depends on click without version.v0.1.0 2020/03/11First release.
Package: unzip-http
unzip-httpExtract individual files from .zip files over http without downloading the entire archive.Installpip install unzip-httpUsageunzip-http <url.zip> <filenames..>Extract  from a remote .zip at<url>to stdout.If no filenames given, displays .zip contents (filenames and sizes).Each filename can be a wildcard glob; all matching files are concatenated and sent to stdout in zipfile order.Note: HTTP server must sendAccept-Ranges: bytesandContent-Lengthin headers.Python moduleunzip_httpimport unzip_http

rzf = unzip_http.RemoteZipFile('https://example.com/foo.zip')
binfp = rzf.open('bar.bin')
txtfp = rzf.open_text('baz.txt')Creditsunzip-httpwas written bySaul Pwansonand made available for use under the MIT License.