Saravanan666/pypi-org huggingface dataset:
Package: block-diag-ilu
block_diag_iluis an open sourceC++ single header-file implementationof an
incomplete LU decomposition routine suitable for diagonally dominant (square) block diagonal
matrices with sub- and super diagonals of small magnitude. It is useful for
preconditioning linear systems. The use-case in mind is for integrating discretized PDEs of mixed
chemical kinetics / diffusion problems where the diffusion process may be accurately
considered a mild perturbation.A picture is worth a thousand words, so if your matrix looks anything like this:then its LU decomposition then looks like this:thenblock_diag_ilushould be able to save quite a bit of time when
solving linear systems approximately,e.g.for preconditioning.Conditional compilationThe following macros affect the compilation:Macro nameAction (when defined)DefaultNDEBUGusestd::unique_ptrinstead ofstd::vectoras underlying data structure.undefinedBLOCK_DIAG_ILUT_WITH_OPENMPfactorize blocks in parallel. Set the
environment variableBLOCK_DIAG_ILU_NUM_THREADSto control number
of threads.undefinedsetup.pywill set these when envinronment variables with those are set to “1”.LicenseThe source code is Open Source and is released under the very permissive
“simplified (2-clause) BSD license”. SeeLICENSE.txtfor further details.Contributors are welcome to suggest improvements athttps://github.com/chemreac/block_diag_iluAuthorBjörn Dahlgren, contact:gmail adress: bjodahkth.se adress: bda
Package: blockdiaglite
blockdiaggenerate block-diagram image file from spec-text file.FeaturesGenerate block-diagram from dot like text (basic feature).Multilingualization for node-label (utf-8 only).You can get some examples and generated images onblockdiag.com.SetupUse pip:$ sudo pip install blockdiagIf you want to export as PDF format, give pdf arguments:$ sudo pip install "blockdiag[pdf]"Copy and modify ini file. example:$ cp <blockdiag installed path>/blockdiag/examples/simple.diag .
$ vi simple.diagPlease refer tospec-text setting samplesection for the format of thesimpla.diagconfiguration file.spec-text setting sampleFew examples are available.
You can get more examples atblockdiag.com.simple.diagsimple.diag is simply define nodes and transitions by dot-like text format:diagram admin {
  top_page -> config -> config_edit -> config_confirm -> top_page;
}screen.diagscreen.diag is more complexly sample. diaglam nodes have a alternative label
and some transitions:diagram admin {
  top_page [label = "Top page"];

  foo_index [label = "List of FOOs"];
  foo_detail [label = "Detail FOO"];
  foo_add [label = "Add FOO"];
  foo_add_confirm [label = "Add FOO (confirm)"];
  foo_edit [label = "Edit FOO"];
  foo_edit_confirm [label = "Edit FOO (confirm)"];
  foo_delete_confirm [label = "Delete FOO (confirm)"];

  bar_detail [label = "Detail of BAR"];
  bar_edit [label = "Edit BAR"];
  bar_edit_confirm [label = "Edit BAR (confirm)"];

  logout;

  top_page -> foo_index;
  top_page -> bar_detail;

  foo_index -> foo_detail;
               foo_detail -> foo_edit;
               foo_detail -> foo_delete_confirm;
  foo_index -> foo_add -> foo_add_confirm -> foo_index;
  foo_index -> foo_edit -> foo_edit_confirm -> foo_index;
  foo_index -> foo_delete_confirm -> foo_index;

  bar_detail -> bar_edit -> bar_edit_confirm -> bar_detail;
}UsageExecute blockdiag command:$ blockdiag simple.diag
$ ls simple.png
simple.pngRequirementsPython 3.7 or laterPillow 3.0 or laterfuncparserlib 1.0.0a0 or laterreportlab (optional)wand and imagemagick (optional)setuptoolsLicenseApache License 2.0
Package: block-disposable-email
Installationpip install block-disposable-emailSimple usage (email)from bdea.client import is_disposable_emailif is_disposable_email(‘spam@mailinator.com’, ‘example_apikey_12345’):print(“Email is disposable”)else:print(“Email is valid”)Simple usage (domain)from bdea.client import is_disposable_domainif is_disposable_domain(‘mailinator.com’, ‘example_apikey_12345’):print(“Domain is disposable”)else:print(“Domain is valid”)Django validatorAdd your apikey to Django settings.py:BDEA_APIKEY = ‘example_apikey_12345’Add validator to your EmailField:from django import forms
from bdea.django_validators import disposable_email_validatorclass EmailField(forms.EmailField):default_validators = forms.EmailField.default_validators + [disposable_email_validator]Advanced usagefrom bdea.client import BDEAClientcl = BDEAClient(‘example_apikey_12345’, timeout=5)# examine API status
res = cl.get_api_status()
print(res.status(), res.credit_status(), res.credits())# get raw API response
print(res.response)# validate domain
res = cl.get_domain_status(‘mailinator.com’)
print(res.is_disposable(), res.status())# get raw API response
print(res.response)DevelopmentTo bootstrap your development environment, install virtualenvwrapper and run the following commands from project directory:mkvirtualenv disposable
setvirtualenvproject
pip install -r requirements/dev.txt
pip install -e ./To run tests use py.test, or run the following command:tox
Package: blockdivision
TimeCodertimecoder.py - is a pipeline for division uploaded subtitles to blocks based on threshold of cosinus similarityInside the script there are 2 approaches:first summarization of subtitles followed by calculation of cosinus similarityfirst calculation of cosinus similarity followed by division by blocks and then summarization of each blockparse_subs.py - is a parser of YouTube subtitles converting them to pd.DataFrame
sentence_similarity.py - script for calculation of cosinus similarity
gpt_shortening.py - script for summarizationDifferent models for summarization and Sentence Similarity were compared. For similarity now we are using "IlyaGusev/mbart_ru_sum_gazeta". For Sentence Similarity the model called 'symanto/sn-xlm-roberta-base-snli-mnli-anli-xnli'.
Package: blockeval
Randomized Block Design AnalysisModule to analyze randomized block design in python. Blocks can be population segments derived from a predictive model, an uplift score, or any business rule. It assumes that individuals within each block are randomized in a treated and control groups. The sample size ratio between the treated and control groups can differ between blocks. When combining blocks, the Weighted Average Treatment Effect is calculated to avoid the counfounding effect of blocks and Simpson's paradox.Users can:estimate the treatment effect for each block or group of blockscompare the treatment effect between blocks or group of blocksestimate the overall treatment effect of the campaignContributorsMathieu d'AcremontAudrey LeeInstallationThe latest version can be installed from PyPI:pip install blockevalTestIn a jupyter notebook, check if you can import the package functions:from blockeval.analysis import *
from blockeval.utils import campaign_simulationExampleThis examplenotebookshows how to run a segment analysis on an uplift campaign and how to solve the Simpson's paradox.
Package: blockfinder
blockfinder by Jacob Appelbaum <jacob@appelbaum.net>, David <db@d1b.org>“All that Blockfinder does is allow you to identify, contact and potentially
hack into every computer network in the world.” - Rolling Stone, August 2010 [0]Contrary to popular media claims, blockfinder is a simple text based console
tool that returns a list of netblocks for a given country.  It does this by
fetching the following lists of allocations:ftp://ftp.arin.net/pub/stats/arin/delegated-arin-latestftp://ftp.ripe.net/ripe/stats/delegated-ripencc-latestftp://ftp.afrinic.net/pub/stats/afrinic/delegated-afrinic-latestftp://ftp.apnic.net/pub/stats/apnic/delegated-apnic-latestftp://ftp.lacnic.net/pub/stats/lacnic/delegated-lacnic-latestThe list of ISO codes is ISO 3166-1 as found here:http://www.iso.org/iso/home/standards/country_codes/country_names_and_code_elements_txt-temp.htmhttp://en.wikipedia.org/wiki/ISO_3166-1blockfinder has two methods of operation:Update the lists of network object allocations
Returning a list of all netblocks (or asn, etc) for a given countryTo use blockfinder, first create or update the cache:blockfinder -iOnce you have a proper cache, search for the desired resource in the country
of your choice:./blockfinder -v -t mmAdditionally, to filter results for a specific protocol you can use a selector:./blockfinder -v -t mm:ipv4On Windows (in cmd, PowerShell and 4nt) one may find blockfinder.bat useful:blockfinder.bat[0]http://www.rollingstone.com/culture/news/17389/192242
Package: blockgamebot
block game botblock game bot api WrapperInformationWritten without any external libraries other thanaiohttpwhich is used to fetch data from the block game bot API.This requires a block game bot API key. You may obtain one by joiningthisDiscord and messaging me (asov#0187).Creditsasov- Maker of Scammer Listtimnoot- Helped me a lot in generalUsageimportasynciofromblockgamebot.apiimportScammersscammers=Scammers("BLOCKGAMEBOT_API_KEY")asyncdefmain():# Get all scammersall_scammers=awaitscammers.get_all()print(all_scammers)# Lookup a scammerscammer=awaitscammers.lookup("asov")print(scammer)asyncio.run(main())APIIf you don't want to use the Wrapper you can use theAPI.
Package: blockhash
blockhashA SHA implementations which serves normal SHA for small files and
block based SHA for larger files which speeds up your processInstallationUsingpip$pipinstallblockhashLatest build from the SourceClone the repo$gitclonehttps://github.com/Spockuto/blockhash.gitRun$pythonsetup.pyinstallUsageblockhash--helpusage:blockhash[-h][-1][-2][-3][-4][-5][-fFILE]SpeedupyourSHA.Adifferenthashstyle.optionalarguments:-h,--helpshowthishelpmessageandexit-1,--sha1-2,--sha224-3,--sha256-4,--sha384-5,--sha512-fFILE,--fileFILEThepathtothefileContributeIf you want to add features, improve them, or report issues, feel free
to send a pull request.ContributorsVenkkateshSekarLicenseMITVenkkateshSekar
Package: block-hosts
BlockBlock is a simple Python-based command line utility for blocking access to web sites in order to stop you from procrastinating, because you can't do it by yourself. Relies on modifying the hosts file.InstallingIt is possible to install Block using the Python package manager, pip:$ pip install block-hostsUsageThe simplest and most common usage of Block is to block all sites in a curated list. To do this, run the following command in the console:$ block-hosts block-alland to unblock, run:$ block-hosts unblock-allTo block a profile of web sites, such as "social" or "news", run:$ block-hosts block-profile PROFILE_NAMEand to unblock, run:$ block-hosts unblock-profile PROFILE_NAMETo block a single web site, run:$ block-hosts WEBSITE_URLwherewebsite_urlrefers to, you guessed it, the URL of the website you want to block. To reverse the action, run$ block-hosts unblock WEBSITE_URLNote: modifying the hosts file requires administrator privileges, so make sure that the terminal is in elevated mode.Another note: you might need to restart the browser for changes to take effect.
Package: blockies
Blockies (for python)A tiny library for generating blocky identicons.Python port of the blockies javascript library fromhttps://github.com/alexvandesande/blockies.Usageimport blockies

data = blockies.create("0xfb6916095ca1df60bb79ce92ce3ea74c37c5d359")
with open('test.png', 'wb') as png:
    png.write(data)
Package: blockify
Fast, mathematically optimal genome segmentation with Bayesian blocksInstallationpip install blockifyThe earliest recommended version of blockify is 0.2.1.UsageBlockify is available as both a Python library and a command line executable.To use in Python:fromblockifyimportannotationfromblockifyimportsegmentationfromblockifyimportnormalizationfromblockifyimportdownsamplingTo use from the command line:blockify -hFor more details, please see thedocumentation.DevelopmentTo actively develop blockify, clone from GitHub and switch to the
development branch:git clone https://github.com/arnavm/blockify.git
cd blockify
git checkout devUnit tests are available from the top-level directory:python -m unittest tests.test_basicTwo batteries of tests are provided:tests.test_basicandtests.test_advanced. For routine development, the basic set of tests
should be sufficient. The advanced suite takes much more time and
fetches several large datasets. It is best used when making major
changes to the code.DisclaimerNot to be confused with thesimilarly-named Spotify plugin.
Package: blockinfile
blockinfileblockinfileis a tool for editing automatically a text block surrounded by marker lines. It's an automated port of ansible'sblockinfile module.Basically, it can overwrite a part of a file that's well delimited so it doesn't overwrite the whole file.Usageblockinfile --path FILE_TO_PATCH --block CONTENT_TO_INSERT [--marker MARKER_TEMPLATE] [--marker-begin START_STRING] [--marker-end END_STRING] [MORE_OPTIONS]Options are the same as inAnsible documentation.SampleIfmyfile.confinitially contains:sample line
other lineThen running:blockinfile --path myfile.conf --marker "# {mark} MY BLOCK" --block 'this line will be entered
this one too'Then myfile.conf will be updated:sample line
other line
# BEGIN MY BLOCK
this line will be entered
this one too
# END MY BLOCKThen running:blockinfile --path myfile.conf --marker "# {mark} MY BLOCK" --block 'updating the section'Would produce:sample line
other line
# BEGIN MY BLOCK
updating the section
# END MY BLOCK"Automated" portThis project includes the source of Ansible'sblockinfilemodule, slightly modified so it can work without having to use or even install Ansible. The modifications have been automated so it should be possible to easily port newer Ansible versions.Seebuilder/build.sh.InstallFromPyPI:pipx install blockinfileLicenseSinceblockinfileis a port of (part of) Ansible's source, it's licensed under GPLv3+ just like Ansible.
Package: blocking
.. raw:: html<embed><p align="center"><img width="300" src="https://github.com/yngtodd/blocking/blob/master/img/pylibrary.png"></p></embed>--------------------------.. image:: https://badge.fury.io/py/blocking.png:target: http://badge.fury.io/py/blocking.. image:: https://travis-ci.org/yngtodd/blocking.png?branch=master:target: https://travis-ci.org/yngtodd/blocking=============================Blocking=============================Stage directions for Python ML projects.Documentation--------------For references, tutorials, and examples check out our `documentation`_.Installation------------From Sources:You can either clone the public repository:.. code-block:: consolegit clone git://github.com/yngtodd/blockingOr download the `tarball`_:.. code-block:: consolecurl  -OL https://github.com/yngtodd/blocking/tarball/masterOnce you have a copy of the source, you can install it with:.. code-block:: consolepython setup.py install.. _tarball: https://github.com/yngtodd/blocking/tarball/master.. _documentation: https://blocking.readthedocs.io/en/latestDocumentation-------------The full documentation is at http://blocking.rtfd.org.History-------0.1.0 (2019-04-11)++++++++++++++++++* First release on PyPI.
Package: block-io
BlockIoThis Python package is the official reference client for the Block.io payments API. To use this, you will need the Dogecoin, Bitcoin, or Litecoin API key(s) fromBlock.io. Go ahead, sign up :)COMPATIBILITY: Please use Python 3.6+. Untested on Windows: ensure all tests pass before using this package regardless.InstallationUsing virtualenv is recommended when installing Python packages.Install the package usingpip3:pip3 install block-ioUsageIt's super easy to get started. In your Python shell, do:from block_io import BlockIo

block_io = BlockIo('API KEY', 'SECRET PIN', API_VERSION)

# print the account balance
print block_io.get_balance()

# print all addresses on this account
print block_io.get_my_addresses()For more information, seePython API Docs. This Python client provides a mapping for all methods listed on the Block.io API site.ContributingFork it (https://github.com/BlockIo/block_io-python/fork)Create your feature branch (git checkout -b my-new-feature)Commit your changes (git commit -am 'Add some feature')Push to the branch (git push origin my-new-feature)Create a new Pull Request
Package: blockkit
Blockkit is a Python library for building UI interfaces for Slack apps. It allows you to compose the interface from Python classes, so you type less, and your code becomes more maintainable.Blockkit performs validation at runtime and provides user-friendly errors when data is invalid.GenerateYou don't even need to write code yourself. Go tohttps://blockkit.botsignals.copaste your JSON payload fromBlock Kit Builderand get corresponding Python code!InstallationpipinstallblockkitUsageStart with one of theHome,Modal, orMessagesurface classes and follow the structure as you would follow it in JSON.The library supports all types ofsurfaces,blocks,block elements, andcomposition objectsSlack provides.Once UI is ready, call thebuild()method to render components to dictionary:fromblockkitimportSection,MarkdownTextSection(text=MarkdownText(text="hello world")).build(){"type":"section","text":{"text":"hello world","type":"mrkdwn"}}Here's the list of types of components and corresponding classes:SurfacesTypeClasshomeHomemodalModalMessageworkflow_stepWorkflowStepBlocksTypeClassactionsActionscontextContextdividerDividerheaderHeaderimageImageBlockinputInputrich_textRichTextsectionSectionBlock elementsTypeClassbuttonButtoncheckboxesCheckboxesdatepickerDatePickerdatetimepickerDatetimePickertypeImagemulti_static_selectMultiStaticSelectmulti_users_selectMultiUsersSelectmulti_channels_selectMultiChannelsSelectmulti_conversations_selectMultiConversationsSelectmulti_external_selectMultiExternalSelectoverflowOverflowplain_text_inputPlainTextInputradio_buttonsRadioButtonsstatic_selectStaticSelectusers_selectUsersSelectchannels_selectChannelsSelectconversations_selectConversationsSelectexternal_selectExternalSelecttimepickerTimePickerrich_text_listRichTextListrich_text_preformattedRichTextPreformattedrich_text_quoteRichTextQuoterich_text_sectionRichTextSectionComposition objectsTypeClassplain_textPlainTextmrkdwnMarkdownTexttextTextemojiEmojiStyleConfirmPlainOptionMarkdownOptionOptionGroupFilterDispatchActionConfigContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT
Package: blocklib
BlocklibPython implementations of record linkage blocking techniques. Blocking is a technique that makes
record linkage scalable. It is achieved by partitioning datasets into groups, called blocks and only
comparing records in corresponding blocks. This can reduce the number of comparisons that need to be
conducted to find which pairs of records should be linked.blocklibis part of theAnonlinkproject for privacy preserving record linkage.InstallationInstall with pip:pip install blocklibDocumentsYou can find comprehensive documentation and tutorials inreadthedocsTestsRun unit tests withpytest::$ pytestDiscussionIf you run into bugs, you can file them in ourissue trackeron GitHub.There is also ananonlink mailing listfor development discussion and release announcements.Wherever we interact, we strive to follow thePython Community Code of ConductLicense and Copyrightblocklibis copyright (c) Commonwealth Scientific and Industrial Research Organisation (CSIRO).Licensed under the Apache License, Version 2.0 (the "License"). You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Package: block-licenses
AboutCLI tool that helps us easily define which licenses are not good based on therequirements.txtfile. It usespkg_resourcesto get details from the packages, given us the licenses listed byt the package owner and returns exit 1 if found a package that contains a blocked license. Here goes the output of with all the possible options of the CLI package:Usage: block-licenses [OPTIONS]

  CLI tool that helps us easily define which licenses are not good based on
  the requirements.txt file. It uses pkg_resources to get details from the
  packages, given us the licenses listed byt the package owner and returns
  exit 1 if found a package that contains a blocked license.

Options:
  -b, --blocked                   Print blocked licenses list.
  -p, --permitted                 Print permitted licenses list.
  -i, --interactive               Block packages interactively by analysing
                                  their licenses.
  -q, --quiet                     Do not print any output.
  -v, --verbose                   Print a detailed output for blocked
                                  packages.
  -P, --paranoid                  Paranoid mode for the interactive option,
                                  loop through each package even if contains
                                  a license that was already checked.
  -r TEXT                         Indicate the requirements file to be used.
  -a, --all                       Print all available licenses based on the
                                  requirements file.
  --mode [permitted|blocked]      Mode which will be used to check packages,
                                  either from the permitted list or blocked
                                  list perspective.
  --format [text|json|column|content]
                                  Format output.
  --get-allowed                   Retrieve allowed packages instead.
  -h, --help                      Show this message and exit.
Package: blocklist
# Blocklist> Command-line tool for download and write blocklists.**Blockist** use by default [iblocklist.com](https://www.iblocklist.com/) as lists provider, but others can be added and contributions are welcome.Its operation is simple, *Blocklist* recovers on a web page with a pattern all blocklists URI. Then it downloads and writes them to a file.![](screenshot.png)## Getting the source code```https://github.com/Joffr3y/blocklist.git```## Dependencies* Python ≥ 3.6* Python setuptools## Make dependency* GCC compiler## Installation```python setup.py install --user```## Datas and configurations files* **~/.config/blocklist/settings.ini**  : Configurations.* **~/.config/blocklist/sources.list**  : Sources URL.* **~/.config/blocklist/peers.p2p**     : Rules list by default.* **~/.config/blocklist/blocklist.log** : Logs.## Usage```blocklist --helpusage: blocklist [-h] [-u] [-w] [-q]Blocklist version 0.1.0optional arguments:-h, --help    show this help message and exit-u, --update  Update the sources-w, --write   Write the rules-q, --quiet   Quiet mode```