Saravanan666/pypi-org huggingface dataset:
Package: blind-files
Blind filesGenerates a mapping from file names to blind but memorable file names. This
script assumes that you have a directory that contains files and / or
subdirectories with samples from an experiment. The names of these files and
directories reveal which group the samples belong to, but the contents of the
files do not.The script will move these files to a new directory, renaming them so that the
new file names do not reveal which group the samples belong to. It will also
generate a mapping file to indicate how the new files map to the original
files.InstallingUsingpipxpipxinstallblind_filesRunningThis script takes an input dir, and generates a directory containing a script,blind.sh, that can be used to blind the files in the input dir. It also
generates a mapping csv,mapping.csv, that can be used after the user has
done the analysis to see how the original names map to blinded names.The script has two modes of operation:Using a delimiterIn the first mode of operation, you can specify a delimiter to use such that
all the text before the delimiter in each file name will be replaced. For
example:blind-files\--modedelimiter\--delimiter_foo\--input-dirinput_dir\--output-diroutput_dir\--mapping-dirmapping_dirIn this case, ifinput_dircontains the following files:sample_1_foo.txt
sample_1_foo-bar.csv
sample_2_foo.txt
hello.txtThen after runningmapping_dir/blind.sh,output_dirwill containgolf_elbow_foo.txt
golf_elbow_foo-bar.csv
co-producer_reputation_foo.txt
hello.txtInmapping_diryou will also find a filemapping.csvwith the contents:original,blinded
sample_1,golf_elbow
sample_2,co-producer_reputationLimitationsThis will only replace names at the top level of the input directory. If you
have a more complex nested directory structure, where the identifer names may
be buried in the directory tree, use identifier list approach described below.Using a list of identifiersIn the second mode of operation, you can specify list of identifiers that
should be blinded whenever they are encountered in the input directory tree.
For example, ifidentifiers.txtcontains the following:group_a_1
group_b_1then runningblind-files\--modeidentifiers\--identifiersidentifiers.txt\--input-dirinput_dir\--output-diroutput_dir\--mapping-dirmapping_dirIn this case, ifinput_dircontains the following files:group_a_1/group_a_1/foo.txt
group_b_1/group_b_1/foo.txt
hello.txtThen after runningmapping_dir/blind.sh,output_dirwill containhead_bottle/head_bottle/foo.txt
eponym_curtain/eponym_curtain/foo.txt
hello.txtInmapping_diryou will also find a filemapping.csvwith the contents:original,blinded
group_a_1,head_bottle
group_b_1,eponym_curtainLimitationsNo identifier can be a substring of any other identifier. For example, it is
not allowed to have identifierssample_1andsample_11. However,sample_01andsample_11would be fine.General limitationsThis script should work on any platform, but has only been tested on Mac OS.This script should handle symlinks by simply moving the symlink, without
following it, but this behavior has not been tested.CreditsThis package was created withCookiecutter.nounlist fromhere.
Package: blindfoldpy
blindfold.py - a lightweight and simple .gitignore generator⚠️ This repo is made to annoy my friendEoin-McMahon, the real blindfold is foundhere⚠️✨ FeaturesPulls .gitignore templates from gitignore.io.Clean and simple CLIAllows for the combination of any number of different templates all into one gitignore📦 Installation📥 Download from pypi.orgpipinstallblindfoldpy🏗️ Build from sourcegitclonehttps://github.com/iwishiwasaneagle/blindfold.pycdblindfold.py
python3setup.pyinstall🔧 Examples of use:# generates a single gitignore file for both dart and flutterblindfoldpy--optsdartflutter# arguments can also be written in shorthandblindfoldpy-orust# shows full list of available templatesblindfoldpy--list# There is a help screen that can be shown which details the subcommands and arguments to supply to the programblindfoldpy-h
Package: blindschleiche
blindschleicheA collection of bioinformatics / sequence utilities needed for my research, and hopefully useful for yours.doi:10.5281/zenodo.10049825Installpip install blindschleiche
# or for the current main branch:
# pip install git+https://github.com/kdm9/blindschleiche.gitUsageUSAGE: blsl <subtool> [options...]

Where <subtool> is one of:

  telogrep:             Search contigs for known telomere repeats
  n50:                  Calculate N50 and total length of a set of contigs
  falen:                Tabulate the lengths of sequences in a FASTA file
  mask2bed:             The inverse of bedtools maskfasta: softmasked fasta -> unmasked fasta + mask.bed
  genigvjs:             Generate a simple IGV.js visualisation of some bioinf files.
  liftoff-gff3:         Obtain an actually-useful GFF3 from Liftoff by fixing basic GFF3 format errors
  pansn-rename:         Add, remove, or modify PanSN-style prefixes to contig/chromosome names in references
  ildemux:              Demultiplex modern illumina reads from read headers.
  ilsample:             Sample a fraction of read pairs from an interleaved fastq file
  regionbed:            Make a bed/region file of genome windows
  uniref-acc2taxid:     Make a ncbi-style acc2taxid.map file for a uniref fasta
  nstitch:              Combine R1 + R2 into single sequences, with an N in the middle
  gg2k:                 Summarise a table with GreenGenes-style lineages into a kraken-style report.
  equalbestblast:       Output only the best blast hits.
  tabcat:               Concatenate table (c/tsv) files, adding the filename as a column
  esearchandfetch:      Use the Entrez API to search for and download something. A CLI companion to the NCBI search box
  deepclust2fa:         Split a .faa by the clusters diamond deepclust finds
  farename:             Rename sequences in a fasta file sequentially
  ebiosra2rl2s:         INTERNAL: MPI Tübingen tool. Make a runlib-to-sample map table from ebio sra files
  galhist:              Make a summary histogram of git-annex-list output
  gffcat:               Concatenate GFF3 files, resepcting header lines and FASTA sections
  pairslash:            Add an old-style /1 /2 pair indicator to paired-end fastq files
  vcfstats:             Use bcftools to calculate various statistics, outputing an R-ready table
  shannon-entropy:      Calculate Shannon's entropy (in bits) at each column of one or more alignments
  fastasanitiser:       Sanitise fasta IDs to something sane, then back again
  help:                 Print this help message

Use blsl subtool --help to get help about a specific toolWhy the name Blindschleiche?They're awesome animalsTheir English name is Slow Worm, which is appropriate for this set of low-performance tools in Python.All tools implemented in Python must be named with a snake pun, and they're kinda a snake (not really, they're legless lizards)
Package: blindspin
Sometimes you would just like to show the user some progress,
but a progress bar is not suitable because you don’t know how much longer it would take.
In these cases you might want to display a simple spinner using thespinner()function.Example usage:with blindspin.spinner():
    do_something()
    do_something_else()It looks like this:Spinner class based on on a [gist by @cevaris](https://gist.github.com/cevaris/79700649f0543584009e).Install$ pip install blindspinSupports Python 2.6, 2.7, and 3.Based on the work of:Yoav Ram (@yoavram)Andreas Maier (@andy-maier)
Package: blindtex
BlindTexBlindTeX cree la posibilidad de eliminar barreras que impiden el acceso al conocimiento científico, de manera que personas con discapacidad visual logren mayor autonomía a nivel personal, académico y laboral. Combinando los conocimientos en ciencias exactas y desarrollo de software,Modo de usoTODOInstalación# For Develop and test purposes
pip3 install --editable .Se puede probar el ejemplo de la siguiente maneracd examples
python3 lineal_read.py -e '\frac{2}{3+4}''
  fraction 2  over 3 + 4  endfractionDocumentaciónTODOTesting# run the tests

python3 -m pytest##Licencia
TODO
Package: blind-video-watermark
blind-video-watermarkBlind video watermarking with great invisibility and robustness.blind-video-watermarkfeatures multiple blind video watermarking techniques in DT CWT domain. It aims at achieving good imperceptibility and strong robustness against various operations and attacks, including compression, resizing, cropping, rotation and frame rate conversions.Installationpipinstallblind-video-watermarkFor the latest in-development version:git clone https://github.com/eluv-io/blind-video-watermark
cd blind-video-watermark
pip install .Getting StartedThe documentations are hosted on this repo'sWiki Page. Check thispagefor examples and documentations of the command line interface.Play with the examples inexamplesdirectory. All sample videos, images and watermarks are included inside. Take a look at thedocfor various interfaces for developers.
Package: blind-watermark
blind-watermarkBlind watermark based on dct and svd.Documentation:https://BlindWatermark.github.io/blind_watermark/#/en/文档：https://BlindWatermark.github.io/blind_watermark/#/zh/中文 readmeREADME_cn.mdSource code:https://github.com/guofei9987/blind_watermarkinstallpipinstallblind-watermarkFor the current developer version:git clone git@github.com:guofei9987/blind_watermark.git
cd blind_watermark
pip install .How to useUse in bash# embed watermark into image:blind_watermark--embed--pwd1234examples/pic/ori_img.jpeg"watermark text"examples/output/embedded.png# extract watermark from image:blind_watermark--extract--pwd1234--wm_shape111examples/output/embedded.pngUse in PythonOriginal Image + Watermark = Watermarked Image+ '@guofei9987 开源万岁！' =See thecodesEmbed watermark:fromblind_watermarkimportWaterMarkbwm1=WaterMark(password_img=1,password_wm=1)bwm1.read_img('pic/ori_img.jpg')wm='@guofei9987 开源万岁！'bwm1.read_wm(wm,mode='str')bwm1.embed('output/embedded.png')len_wm=len(bwm1.wm_bit)print('Put down the length of wm_bit{len_wm}'.format(len_wm=len_wm))Extract watermark:bwm1=WaterMark(password_img=1,password_wm=1)wm_extract=bwm1.extract('output/embedded.png',wm_shape=len_wm,mode='str')print(wm_extract)Output:@guofei9987 开源万岁！attacks on Watermarked Imageattack methodimage after attackextracted watermarkRotate 45 Degrees'@guofei9987 开源万岁！'Random crop'@guofei9987 开源万岁！'Masks'@guofei9987 开源万岁！'50% Horizontal cut'@guofei9987 开源万岁！'50% Vertical cut'@guofei9987 开源万岁！'Resize 0.5'@guofei9987 开源万岁！'Pepper Noise'@guofei9987 开源万岁！'Brightness 10% Down'@guofei9987 开源万岁！'embed imagesembed watermark:fromblind_watermarkimportWaterMarkbwm1=WaterMark(password_wm=1,password_img=1)# read original imagebwm1.read_img('pic/ori_img.jpg')# read watermarkbwm1.read_wm('pic/watermark.png')# embedbwm1.embed('output/embedded.png')Extract watermark:bwm1=WaterMark(password_wm=1,password_img=1)# notice that wm_shape is necessarybwm1.extract(filename='output/embedded.png',wm_shape=(128,128),out_wm_name='output/extracted.png',)attack methodimage after attackextracted watermarkRotate 45 DegreesRandom cropMaskembed array of bitsSee ithereAs demo, we embed 6 bytes data:wm=[True,False,True,True,True,False]Embed:fromblind_watermarkimportWaterMarkbwm1=WaterMark(password_img=1,password_wm=1)bwm1.read_ori_img('pic/ori_img.jpg')bwm1.read_wm([True,False,True,True,True,False],mode='bit')bwm1.embed('output/embedded.png')Extract:bwm1=WaterMark(password_img=1,password_wm=1,wm_shape=6)wm_extract=bwm1.extract('output/打上水印的图.png',mode='bit')print(wm_extract)Notice thatwm_shape(shape of watermark) is necessaryThe outputwm_extractis an array of float. set a threshold such as 0.5.ConcurrencyWaterMark(...,processes=None)processes: number of processes, can be integer. DefaultNone, meaning use all processes.Related Projecttext_blind_watermark:https://github.com/guofei9987/text_blind_watermarkEmbed message into text.
Package: blingtron
# Blingtron[![Build Status](https://travis-ci.org/ImageIntelligence/blingtron.svg?branch=master)](https://travis-ci.org/ImageIntelligence/blingtron)[![PyPI version](https://badge.fury.io/py/blingtron.svg)](https://badge.fury.io/py/blingtron)**Welcome to Blingtron!**> Assembles the upgraded [Blingtron 5000](http://www.wowhead.com/item=111821/blingtron-5000), a savage, yet generous, robot. While he will give out gifts to players once per day, he will also fight other Blingtron units to the death. (4 Hrs Cooldown)Blingtron is a simple command line too (CLI) aimed at helping developers run their Image Intelligence projects.## Installation```$ pip install blingtron```Projects that use Blingtron are expected to have a `bling.json` file at the root of the project directory structure. For an example of what a bling.json file might look like, checkout [bling.example.json](./bling.example.json).* `name`: The name of your project* `registry`: The username of your account for your image registry* `run`: The command that's executed when a Docker container runs your image (remotely)* `start`: The arguments passed into `docker run`(locally)* `packer`: The location of your Packer configuration directory* `packer_exec_path`: (optional) The absolute path to your Packer executable* `env`: An object of custom environ variables you can pass into all `bling` commandsSee [imageintelligence/skeleton-python](https://github.com/ImageIntelligence/skeleton-python) and [imageintelligence/skeleton-scala](https://github.com/ImageIntelligence/skeleton-scala) for more examples.## Usage```>>> bling --helpbling.pyusage:bling startbling stopbling runbling build [--publish] [--debug]commands:start         starts app inside an interactive containerstop          stops running containerrun           starts app inside a container, executing the specified run commandbuild         invokes `packer build` with packer template json fileoptions:--publish     publishes the build artifact to a remote registry--debug       enables debug mode-h --help     shows this-v --version  shows version```Example workflow:```$ bling build$ bling start```## DevelopmentClone the project:```$ git clone git@github.com:ImageIntelligence/blingtron.git```Setup your virtualenv:```$ mkvirtualenv blingtron```Attach `bling` to your shell:```$ python setup.py develop```## DeploymentCreate a `~/.pypirc` and replace the username and password with real credentials:```[distutils]index-servers =blingtron[blingtron]repository=https://pypi.python.org/pypiusername=xxxpassword=yyy```Register this package to the Cheeseshop:```$ python setup.py register -r blingtron```Build a distributable and upload:```$ python setup.py sdist upload -r blingtron```
Package: blink1py
Blink(1) python libraryPrerequesitesMake the blink1 library (seeblink1/commandline)2. Rename the blink1 library tolibblink1.so.0.0(or something that
will resolve as blink1) and add it to your path (ie ldconfig)UsageExample:blink1 = open_blink1()

blink1.set_rgb(255, 0, 0)

blink1.on() #white

blink1.off()

blink1.close()Now with more with!with blink1py.open_blink1() as blink1:
    blink1.on()
Package: blink1-state
blink1_state is a state machine for theBlink(1)LED. It significantly simplifies the programmable pattern playing for one or
two colour patterns with an optional initial pause.The audience for this is anyone who wants to concisely transition between
states for their Blink(1) within a Python script.The source for this project is available here.Copyright (c) 2018 Akamai Technologies, Inc.This project was based on the Python Sample Project distributed fromhttps://packaging.python.org/.This is the README file for the project.The file should use UTF-8 encoding and be written usingreStructuredText. It
will be used to generate the project webpage on PyPI and will be displayed as
the project homepage on common code-hosting services, and should be written for
that purpose.Typical contents for this file would include an overview of the project, basic
usage examples, etc. Generally, including the project changelog in here is not
a good idea, although a simple “What’s New” section for the most recent version
may be appropriate.
Package: blinka-displayio-pygamedisplay
IntroductionVERSION NOTICEThis library has not been updated to work with Blinka_DisplayIO 1.0.0+ yet. The most recent version of Bliaka_DisplayIO that is supported is 0.11.1.InfoBlinka makes her debut on the big screen! With this library you can use CircuitPythondisplayiocode on PC and Raspberry Pi to output to a PyGame window instead of a hardware display connected to I2C or SPI. This makes it easy to to usedisplayioelements on HDMI and other large format screens.Warning: you must checkdisplay.check_quit()in the main loop andbreakif it’s true in order to correctly handle the close button!DependenciesThis driver depends on:PyGameAdafruit Blinka DisplayioPlease ensure all dependencies are available they can be installed with pip3Optional DependenciesThis driver can optionally make use of thesedisplayiomodule libraries:Adafruit Display TextAdafruit ImageLoadAdafruit Progress BarAdafruit Display ButtonThey can be installed with pip3.Installing from PyPIOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locallyfrom
PyPI. To install for current user:pip3installblinka-displayio-pygamedisplayTo install system-wide (this may be required in some cases):sudopip3installblinka-displayio-pygamedisplayTo install in a virtual environment in your current project:mkdirproject-name&&cdproject-namepython3-mvenv.envsource.env/bin/activatepip3installblinka-displayio-pygamedisplayUsage Exampleimportdisplayiofromblinka_displayio_pygamedisplayimportPyGameDisplaydisplay=PyGameDisplay(width=320,height=240)splash=displayio.Group()display.show(splash)color_bitmap=displayio.Bitmap(display.width,display.height,1)color_palette=displayio.Palette(1)color_palette[0]=0x00FF00# Bright Greenbg_sprite=displayio.TileGrid(color_bitmap,pixel_shader=color_palette,x=0,y=0)splash.append(bg_sprite)# Must check display.running in the main loop!whileTrue:ifdisplay.check_quit():breakContributingContributions are welcome! Please read ourCode of Conductbefore contributing to help this project stay welcoming.DocumentationFor information on building library documentation, please check outthis guide.
Package: blink-cameras
BlinkPython API for the Blink Home Security Camera SystemThis is based off the documentation at:https://github.com/MattTW/BlinkMonitorProtocolUsageimportblinkb=blink.Blink()events=b.events()an_event=events[0]mp4_data=b.download_video(an_event)This assumes you have a file~/.blinkconfigthat looks like this:me@somewhere.net: my_passwordAlternatively, you can init Blink like so:b = blink.Blink(email='me@somewhere.net', password='my_password')Archiving VideoBlink eventually deletes old video clips.  If you want to archive your videos locally, run:$ python -m blink --archive path/to/archive_dirTypically this would be put into a cron job.APIFunctionDescriptionImplementedWorksconnect()Client login to the Blink Servers.yesyesnetworks()Obtain information about the Blink networks defined for the logged in user.yesyessync_modules(network)Obtain information about the Blink Sync Modules on the given network.yesyesarm(network)Arm the given network (start recording/reporting motion events).yesyesdisarm(network)Disarm the given network (stop recording/reporting motion events.yesyescommand_status()Get status info on the given command.yesunknownhomescreen()Return information displayed on the home screen of the mobile client.yesyesevents(network)Get events for a given network (sync module).yesyesdownload_video_by_addressGet a video clip using its address.yesyesdownload_video(event)Get a video clip from the events list.yesyesdownload_thumbnail(event)Get a thumbnail from the events list.yesnocameras(network)Gets a list of cameras.yesyesclients()Gets information about devices that have connected to the blink service.yesyesregions()Gets information about supported regions.yesyeshealth()Gets information about system health.yesyescapture_video(camera)Captures a new video for a camera.nocapture_thumbnail(camera)Captures a new thumbnail for a camera.nounwatched_videos()Gets a list of unwatched videos.nodelete(video)Deletes a video.no
Package: blinkcheck
🌎blinkcheck- a basic link checkerCheck for dead links in all files, with support for regex URL extraction and glob file patterns.Installationpip install blinkcheckUsage ExamplesCheck for dead links in all files, starting in the current directory.blinkcheckCheck for dead links in all Markdown*.mdfiles of a specific./docsfolder.blinkcheck --root ./docs -i *.mdCheck for dead links in LaTeX*.texfiles in the current directory with regex\\url{(.*?)}.If a regex contains one group constructs, the group is used as the link.blinkcheck -i *.tex -r "\\url{(.*?)}"Only list failed links and do not verify SSL certificates.blinkcheck --skip-ssl --only-failsAvailable ArgumentsArgumentDefault ValueDescription--root.(current directory)Directory in which we recursively check matching files.-i --include*.*(all files)A glob pattern that files have to match.-r --regexseehereRegex to extract URLs with group syntax support.--skip-sslDo not verify the SSL certificate when performing requests.--only-failsOnly output failed requests.DevelopmentInstallPoetryand setup your environment.poetry install
poetry shellRun tests withpytest.poetry run pytest
Package: blink-config
Author: Stalin
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Provides-Extra: ini
Provides-Extra: toml
Provides-Extra: xml
Provides-Extra: yaml
License-File: LICENSEblinkA hot-reload configuration dictionaryIntroductionblinkallows you to create configuration dictionary to your pythonprogram which autoupdates when your file changes. Usually when you loada config file, the loaded dictionary is stored in memory and when theactual config file changes, those changes are not reflected in memory.blinkcan help you with that problem by updating your configdictionary based on file changes safely.You can access configuration exactly how you access your dictionary inpython.How to useJust importfromblinkimportConfigconfig=Config("config.json")and use it like a normal dictionary!val=config["key1"]["subkey1"]print(config["number"])
Package: blinker
Blinker provides a fast dispatching system that allows any number of
interested parties to subscribe to events, or “signals”.Signal receivers can subscribe to specific senders or receive signals
sent by any sender.>>>fromblinkerimportsignal>>>started=signal('round-started')>>>defeach(round):...print(f"Round{round}")...>>>started.connect(each)>>>defround_two(round):...print("This is round two.")...>>>started.connect(round_two,sender=2)>>>forroundinrange(1,4):...started.send(round)...Round 1!
Round 2!
This is round two.
Round 3!LinksDocumentation:https://blinker.readthedocs.io/Changes:https://blinker.readthedocs.io/#changesPyPI Releases:https://pypi.org/project/blinker/Source Code:https://github.com/pallets-eco/blinker/Issue Tracker:https://github.com/pallets-eco/blinker/issues/