Saravanan666/pypi-org huggingface dataset:
Package: bincrafters-remove-outdated
Conan Remove OutdatedA script to remove all outdated packages from remoteRequirementsPython 3theConanclientINSTALLTo install by pip is just one stepLocalIf you want to install by local copypip install .RemoteOr if you want to download our pip packagepip install bincrafters_remove_outdatedRUNMake sure your remote is properly listed on Conan remote list (conan remote list)Make sure your Conan client is logged in (conan user) the repository you want to clean. Then:$ bincrafters-remove-outdatedTo removeALLoutdated packages on Bincraftershttps://api.bintray.com/conan/bincrafters/public-conan$ bincrafters-remove-outdated bincraftersUSAGEbincrafters-remove-outdated [-h] [--yes] [--ignore] [--dry-run] [--pattern PATTERN | --package-list-file PACKAGE_LIST_FILE] [--version] remote

Conan Remove Outdated

positional arguments:
  remote                Conan remote to be cleaned e.g conan-center

optional arguments:
  -h, --help            show this help message and exit
  --yes, -y             Do not ask for confirmation
  --ignore, -i          Ignore errors receive from remote
  --dry-run, -d         Check which packages will be removed only
  --pattern PATTERN, -p PATTERN
                        Pattern to filter package name to be removed. e.g
                        Boost/*
  --package-list-file PACKAGE_LIST_FILE, -plf PACKAGE_LIST_FILE
                        Package list file path
  --version, -v         show program's version number and exitFILTERIf you need to remove only some packages, there are some options:PatternYou could apply a pattern to filter the reference name.For example, removing all Boost packages from bincrafters:bincrafters-remove-outdated --pattern=Boost/* bincraftersPackage ListYou could use a file to list all packages to be removed.For example, remove outdated builds from Boost, Poco and OpenSSL using a text file:boost/1.71.0@conan/stable
poco/1.9.1@pocoproject/stable
openssl/1.0.2s@conan/stablebincrafters-remove-outdated --package-list-file=package_list.txt bincraftersTesting and DevelopmentTo install extra packages required to testpip install .[test]TESTINGTo run all unit test + code coverage, just execute:pip install -r bincrafters_remove_outdated/requirements_test.txt
cd tests
pytest -v --cov=bincrafters_remove_outdatedREQUIREMENTS and DEVELOPMENTTo develop or run conan remove outdatedpip install -r bincrafters_remove_outdated/requirements.txtUPLOADThere are two ways to upload this project.Travis CIAfter to create a new tag, the package will be uploaded automatically to PyPi.Both username and password (encrypted) are in travis file.Only one job will upload, the others will be skipped.Command lineTo upload this package on pypi (legacy mode):pip install twine
python setup.py sdist
twine upload dist/*LICENSEMIT
Package: bind
bindVersion 2.1.0bind is a function that joins strings in a way we often needUsagefrombindimportbindthings_to_bind=['castable','to','s t r i n g.',45,'"hi"',0.25]# defaults for urllib.parse.quote_plus, leaving these out would change nothingkwargs=dict(safe='',encoding=None,errors=None)# by default, use slash separator and urlencodingbind(*things_to_bind,**kwargs)'castable/to/s+t+r+i+n+g./45/%22hi%22/0.25'# turn off url encodingbind(*things_to_bind,url=False,**kwargs)'castable/to/s t r i n g./45/"hi"/0.25'# result is the same if you pass in a listbind(things_to_bind,url=False,**kwargs)'castable/to/s t r i n g./45/"hi"/0.25'# change separator --- note that it strips the other . in things_to_bind[2]bind(*things_to_bind,sep='.')'castable.to.s+t+r+i+n+g.45.%22hi%22.0.25'# pointless but possible, and will strip W, H and Y from items in iterable!bind(*things_to_bind,sep='WHY',url=True,**kwargs)'castableWHYtoWHYs+t+r+i+n+g.WHY45WHY%22hi%22WHY0.25'Aside fromurl=boolandsep=str, all keyword arguments are passed tourllib.parse.quote_plusTests (300% coverage)coveragerun-munittest
coveragereport--omit=tests/*Name               Stmts   Miss  Cover
--------------------------------------
bind/__init__.py       2      0   100%
bind/bind.py          10      0   100%
--------------------------------------
TOTAL                 12      0   100%
Package: bind2samba
bind2samba: A converter for BIND zone files to samba-tool invocationsAboutThis tool assits when converting an old zone file to a DNS zone run by a Samba
Directory Controller. It can read the zone file and turn its contents into
invocations ofsamba-tool dns add .... It understands A, AAAA, CNAME, and MX
records. In addtion, one can give subnets in CIDR notation; if A/AAAA records
match the subnets given, reverse PTR records are also created.InvocationsSuppose you have the following zone file:$ORIGIN example.com.
$TTL    3d

example.com. IN      SOA     ns1.example.com. hostmaster.example.com.
(
        2018022301                  ; Serial
        1h                          ; Refresh
        15m                         ; Retry
        2w                          ; Expire
        1h)                         ; Negative TTL

example.com.     IN      NS      galathea-bond0.example.com
example.com.     IN      MX      10 mx


;
; Local, trusted network:
;

charon          IN      A       172.16.5.1
charon          IN      AAAA    2001:170:1243:1::1You can feed it directly to bind2samba:% bind2samba example.com.db
I would run the following commands:
samba-tool dns add localhost example.com @ MX mx.example.com 10
samba-tool dns add localhost example.com charon A 172.16.5.1
samba-tool dns add localhost example.com charon AAAA 2001:170:1243:1::1Supplying subnets will create PTR records, too:% bind2samba \
    --ipv4-subnet=172.16.0.0/12 \
    --ipv6-subnet=2001:170:1243::/48 \
    minimal-example.com.db
I would run the following commands:
samba-tool dns add localhost example.com @ MX mx.example.com 10
samba-tool dns add localhost example.com charon A 172.16.5.1
samba-tool dns add localhost 16.172.in-addr.arpa 1.5.16.172.in-addr.arpa PTR charon.example.com
samba-tool dns add localhost example.com charon AAAA 2001:170:1243:1::1
samba-tool dns add localhost 3.4.2.1.0.7.1.0.1.0.0.2.ip6.arpa 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.0.0.3.4.2.1.0.7.1.0.1.0.0.2.ip6.arpa PTR charon.example.comMultiple subnets can be given, the best matching will then be used.The tool can also provide you with single commands without seeing a full SOA
record, because--zone example.comis also a command line option. Then, you
can simply feed records on stdin to it:echo 'charon IN A 172.16.5.1' | ../src/bind2samba --zone=example.comIn general, runningbind2samba --helpgives the full list of arguments,
as any well-behaved tool should.Reporting bugs, feature wishes, and contributingThe project's website ishttps://github.com/eveith/bind2samba, but
bug reports, feature wishes, or patches can also just e-mailed toeveith+bind2samba@binericien.org.
Package: bind9-parser
bind9-parser reads ISC config files and produces a (massive) Pythonized
Dict/List containing all of its configuration settings.bind9-parserI needed a parser in Python that can handle ISC Bind configuration file.Why Did I Do This?I see lots of Python scripts for ISC Bind Zone files, but not its configuration.The closest cousin of Bind configuration format is NGINX config.The closest Python (and configuration file parser) I could find wasliuyangc3/nginx_config_parseron GitHub here.On GitHub, I have found lots of generator, beautifier, lint, builder, change detector for Bind9, but no really good parser for Bind9 configuration file.I built a complete parser that will work on version 4.9 to 9.15.  Why did I name
it Bind9-parser?  Because I started out only to cover Bind version 9.0 to 9.15.
I later expanded it to cover 4.9 on up.FeaturesFeatures:'include' statements are also supported (my favorite)Relative directory support (not stuck on /etc/bind or /var/lib/bind)Useful for testing many config files in their respective local subdirectory(s).Support for Bind 4.8 to v9.15.1 (working on Bind10)ISC config files are used in ISC Bind9 server, as well as both ISC DHCP server and client.bind9-parser make it so easy to do all of that, and now easier for you.An example Bind9 config file that contains:options {
        version "4.1";
        recursion no;
    }bind9-parser result is:result = { 'options': { 'version': "4.1", 'recursion': 'no' }}Unit TestsA massive unit test is supplied (undertests/subdirectory) to ensure that future breakage does not occur.
Package: bindata
bindataA python replication of the omonymous R librarybindata,
based on the paper"Generation of correlated artificial binary data.",
by Friedrich Leisch, Andreas Weingessel, and Kurt Hornik.The library fully replicates the existing R-package
with the following functions:bincorr2commonprobcheck_commonprob(check.commonprobin R)commonprob2sigmacondprobra2barmvbinsimul_commonprob(simul.commonprobin R)Precomputed (via Monte Carlo simulations)SimulValsare also available.Installationbindatacan be installed with pip as:pip install bindataHow toGenerateuncorrelatedvariatesimportbindataasbndmargprob=[0.3,0.9]X=bnd.rmvbin(N=100_000,margprob=margprob)Now let's verify the sample marginals and correlations:importnumpyasnpprint(X.mean(0))print(np.corrcoef(X,rowvar=False))[0.30102 0.9009 ]
[[ 1.         -0.00101357]
 [-0.00101357  1.        ]]GeneratecorrelatedvariatesFrom a correlation matrixcorr=np.array([[1.,-0.25,-0.0625],[-0.25,1.,0.25],[-0.0625,0.25,1.]])commonprob=bnd.bincorr2commonprob(margprob=[0.2,0.5,0.8],bincorr=corr)X=bnd.rmvbin(margprob=np.diag(commonprob),commonprob=commonprob,N=100_000)print(X.mean(0))print(np.corrcoef(X,rowvar=False))[0.1996  0.50148 0.80076]
[[ 1.         -0.25552    -0.05713501]
 [-0.25552     1.          0.24412401]
 [-0.05713501  0.24412401  1.        ]]From a joint probability matrixcommonprob=[[1/2,1/5,1/6],[1/5,1/2,1/6],[1/6,1/6,1/2]]X=bnd.rmvbin(N=100_000,commonprob=commonprob)print(X.mean(0))print(np.corrcoef(X,rowvar=False))[0.50076 0.50289 0.49718]
[[ 1.         -0.20195239 -0.33343712]
 [-0.20195239  1.         -0.34203855]
 [-0.33343712 -0.34203855  1.        ]]For a more comprehensive documentation please consult
thedocumentation.Acknowledgements"Generation of correlated artificial binary data.",
by Friedrich Leisch, Andreas Weingessel, and Kurt Hornik.Icon created by Freepik - FlaticonAuthorLuca Mingarelli, 2022
Package: bindcompare
BindCompare: A novel integrated protein-binding analysis platformIntroduction|Installation Guide|Using BindCompare|Quick Start|CreditsBindCompare Function Manuals:bindcompare|bindexplore|Downstream & comparexpIntroductionBindCompare is a novel integrated protein-binding analysis platform
designed to be user-accessible and interpretable. Given protein-binding
sites on DNA and/or RNA, BindCompare determines and visualizes domains
of co-regulatory activity at the single-nucleotide level.At the core of BindCompare is defining overlapping binding domains.
Oftentimes, co-regulation with factors occurs across a larger locus
surrounding the marked binding site. BindCompare searches and categorizes
overlaps across a scoped regions containing the reference binding sites.
Because BindCompare utilizes BED files, it enables the comparison between
RNA and DNA binding sites, aiding the study of system wide
co-transcriptional regulation.To support user-accessible software, BindCompare can be launched in a GUI
interface that allows for easy application of bindcompare and comparexp. To
learn how to utilize the tool, please read below and do not hesitate to
reach out if any bugs or issues are revealed.Quick StartInstall bindcompare and its dependencies from PyPI using pip:pip install bindcompareThen, to run the core functionbindcompare:bindcompare -r REF -e EXP -s SCOPE -n NAME -o OUT [-g GTF] [-f FASTA]Alternatively, to launch the core GUI application, see below. For
a more detailed walk-through, read the full documentation below and function specific
manuals. Complete installation instructions can also be found atUsing BindCompareHere is a general overview of BindCompare usage in the following schematic.To start, optionally runbindexploreto find candidate co-regulators. Then, you
can choose two candidate coregulators and runbindcompareto explore co-regulatory
activities between the protein-binding datasets given. Finally, you can look into
downstream analysis usingcomparexpor gene ontology/motif analysis.As aforementioned,bindcompareandcomparexpcan be run through a tkinter
GUI interface. All of the commands can be run from the command line. This includesretrievedm6andbindexplore. How to use BindCompare is presented for both
the GUI and command line approaches. To launch the GUI:bindlaunchThat should launch a platform that looks like this:Please visit the command specific pages for each of the above commands to learn more
about how to use BindCompare.CreditsThis script was written at Brown University in theLarschan
Labby Pranav Mahableshwarkar under
the guidance of Mukulika Ray, PhD and Erica Larschan, PhD.If you want to pull the source-code, this can be done via github.gitpullhttps://github.com/pranavmahabs/bindcompare.gitPlease leave any messages here regarding errors or issues found in using the platform.
Package: bindecocthex
bindecocthexbindecocthexis a Python library that provides aConversionclass for converting numbers between decimal, binary, octal, and hexadecimal representations.InstallationYou can installbindecocthexusing pip:pip install bindecocthexUsagefrom bindecocthex.conversion import Conversion

# Create an instance of the Conversion class
converter = Conversion()

# Example usage
decimal_number = 10

# Decimal to Binary
binary_representation = converter.decimal_to_binary(decimal_number)
print(f"Binary representation: {binary_representation}")

# Binary to Decimal
decimal_result = converter.binary_to_decimal(binary_representation)
print(f"Decimal result: {decimal_result}")Methodsdecimal_to_binary(number)Converts a decimal number to binary.decimal_to_octal(number)Converts a decimal number to octal.decimal_to_hexadecimal(number)Converts a decimal number to hexadecimal.binary_to_decimal(number)Converts a binary number to decimal.binary_to_octal(number)Converts a binary number to octal.binary_to_hexadecimal(number)Converts a binary number to hexadecimal.octal_to_decimal(number)Converts an octal number to decimal.octal_to_binary(number)Converts an octal number to binary.octal_to_hexadecimal(number)Converts an octal number to hexadecimal.hexadecimal_to_decimal(number)Converts a hexadecimal number to decimal.hexadecimal_to_binary(number)Converts a hexadecimal number to binary.hexadecimal_to_octal(number)Converts a hexadecimal number to octal.LicenseThis project is licensed under theMIT License.
Package: binder
# Binder - A Python SQL Mapper.Binder is a lightweight SQL mapper for Python that lets you perform SQL
operations using native Python data types and methods:>>> conn.select(Trades, AND(Trades.q.symbol=='RHAT', Trades.q.trans=='BUY'))
[{'date': datetime.date(2006, 1, 5), 'symbol': u'RHAT', 'trans': u'BUY', 'price'
: 35.0, 'qty': 100}]A database row is mapped to a Python dictionary containing native Python data
types.  Binder gives you control of what SQL query is executed, while taking
care of query generation, parameter passing and data conversion.Currently, Binder supports the SQLite (via Python’s built-in sqlite3 module),
PostgreSQL (via psycopg2) and MySQL (via the MySQLdb python module).See manual.txt for full documentation.## InstallingInstall using pip:pip install binderInstall from source:python setup.py install## Quick TourDefine the schema for a table:>>> from binder import *
>>> Trades = Table("trades",
...     DateCol("date"), UnicodeCol("trans", 4), UnicodeCol("symbol", 4),
...     IntCol("qty"), FloatCol("price")
... )Creating a new database using SQLite and create the table we defined above:>>> conn = SqliteConnection("readme.db3")
>>> conn.create_table(Trades)Insert a row using a regular Python dictionary:>>> from datetime import date
>>> row = {
...     "date":date(2006, 1, 5), "trans":"BUY", "symbol":"RHAT",
...     "qty":100, "price":35
... }
>>> conn.insert(Trades, row)
>>> conn.commit()Finally, retrieve the data:>>> conn.select(Trades)
[{'date': datetime.date(2006, 1, 5), 'symbol': u'RHAT', 'trans': u'BUY', 'price'
: 35.0, 'qty': 100}]
Package: binderhub
What is BinderHub?BinderHuballows you toBUILDandREGISTERa Docker image using a
GitHub repository, thenCONNECTwith JupyterHub, allowing you to create a
public IP address that allows users to interact with the code and environment
within a live JupyterHub instance. You can select a specific branch name,
commit, or tag to serve.BinderHub ties together:JupyterHubto provide
a scalable system for authenticating users and spawning single user
Jupyter Notebook servers, andRepo2Dockerwhich generates
a Docker image using a Git repository hosted online.BinderHub is created using Python, kubernetes, tornado, and traitlets. As such,
it should be a familiar technical foundation for Jupyter developers.Why BinderHub?Collections of Jupyter notebooks are becoming more common in scientific research
and data science. The ability to serve these collections on demand enhances the
usefulness of these notebooks.Who is BinderHub for?Userswho want to easily interact with computational environments that
others have created.Authorswho want to create links that allow users to immediately interact with a
computational enviroment that you specify.Deployerswho want to create their own BinderHub to run on whatever
hardware they choose.InstallationBinderHubis based on Python 3, it’s currently only hosted on GitHub (pip release soon).
However, it can be installed usingpip:pip install git+https://github.com/jupyterhub/binderhubSeethe BinderHub documentationfor a detailed guide on setting
up your own BinderHub server.Local development: To run BinderHub locally in order to make contributions to the codebase,
seethe contribution guide.DocumentationFor more information about the architecture, use, and setup of BinderHub, seethe BinderHub documentation.LicenseSeeLICENSEfile in this repository.
Package: bindit
binditTakes the drudgery out of binding volumes on Docker and (soon) Singularitybindit is a wrapper for container runners that makes it easy to handle file input and
output for containerised command-line applications. It works by detecting file paths in
the container image arguments, and rebasing these as necessary onto new bind mounts. Seedocsfor full detail, but here is the high-level API:Usage: bindit [OPTIONS] COMMAND [ARGS]...

  bindit is a wrapper for container runners that makes it easy to handle
  file input and output for containerized command-line applications. It
  works by detecting file paths in the container image arguments, and
  rebasing these as necessary onto new bind mounts.

Options:
  -i, --ignorepath PATH  path(s) on the host to ignore when detecting new bind
                         mounts. Typical         linux binary locations
                         (/usr/bin etc) are included on this list by default.
  -a, --absonly          Only rebase absolute paths.
  -d, --dryrun           Return formatted shell command without invoking
                         container runner
  -l, --loglevel TEXT    Logging level  [default: INFO]
  --help                 Show this message and exit.

Commands:
  dockerUsage: bindit_partial [OPTIONS] SCRIPT_ARG...

  bindit_partial constructs a shell script wrapper for bindit (or your
  container runner directly) that can be used as a command line interface
  for the container. It works a bit like functools.partial in the standard
  library - you can offload some default parameters (e.g. for volume binds
  mounts) to the script in order to obtain a cleaner API for the container.

  For main documentation, see bindit.

Options:
  --output_file TEXT     Output to file instead of standard out
  --shebang TEXT         Shell interpreter directive  [default: #!/bin/bash]
  --vararg_pattern TEXT  vararg pattern (try "$argv" for csh/tcsh)  [default:
                         "$@"]
  --help                 Show this message and exit.   Usage: bindit_partial [OPTIONS] SCRIPT_ARG...Free software: MIT licenseDocumentation:https://bindit.readthedocs.ioPull requests are welcome!History0.2.2 (2019-07-26)Patch –version argument for standalone installs.0.2.1 (2019-07-26)Handle missing docker binary more gracefully to support e.g. dryrun mode on machines
without docker installed (and eventually, singularity).0.2.0 (2019-07-25)New bindit_partial utility for generating command-line wrapper scriptsTests improved, bugs squashed (0.1.0 was easy to break, this release is much more
robustComprehensive documentation with reasonable docstrings0.1.0 (2019-04-30)First release on PyPI.
Package: bindpyrame
bindpyrameSimple module in pure python3 to connect to pyramehttp://llr.in2p3.fr/sites/pyrame/pip install bindpyrameThe status of this package can be checked athttps://pypi.org/project/bindpyrameThe doc (in early stage essentially the internals) can be found athttps://bindpyrame.readthedocs.io/en/latest/index.html
Package: bindr
bindrBind dictionary data into named tuples and dataclasses automatically
for typed attribute access throughout the rest of your codebase.frombindrimportbindfromtypingimportDict,List,NamedTuplefromyamlimportsafe_loadclassConfig(NamedTuple):classSMSServiceConfig(NamedTuple):host:strport:intusername:strpassword:strclassS3Config(NamedTuple):default_bucket:strdefault_region:strmax_item_size:intsupport_emails:List[str]api_key:strtimeout_ms:intpi:floatsms_providers:List[SMSServiceConfig]s3_settings:S3Configaccounts:Dict[str,str]config=bind(Config,safe_load("config.yaml"))config.s3_settings.max_item_size# <-- intInstallationBindr is developed onGitHuband
hosted onPyPI. You can fetch Bindr
using a simple:pipinstallbindrWhy does this exist?Bindr is not meant to serve as a replacement for12Factormethodology. There are certain niche cases where you might want to read
in a structured file (such as JSON or YAML) and bind it directly to a
typed object outside of application configuration (as demonstrated in the
example above). In fact, application configuration created as a dictionary
(perhaps from environment variables) is still a valid use case for a bound
object.Bindr exists as an alternative to the automatic binding syntax offered
byPyYAML. The default object deserialization syntax
in PyYAML is a leaky abstraction. Declarative data formats such as YAML
should not be concerned with the details of how objects are deserialized
in your application code.Objects generated via Bindr will give you typed objects that can be passed
around and verified by MyPy and hinted in PyCharm, which is a distinct
advantage over accessing multiple levels deep of nested dictionaries.LicenseMIT License
Package: bind-sdk
Bind SdkFeatures- login
- is bancked
- get views
- get accounts
- get account
- get account movements
- get account details by alias
- get account details by cbu cvu
- send transfer
- set seller accountRequirements- Python 3.xEnvironment VariablesBIND_END_POINT => default: https://sandbox.bind.com.ar/v1
BIND_USER => username
BIND_PASSWORD = password
REDIS_CONNECTION => default: FalseUnit Testspython -m coverage run -m unittest
python -m coverage report** ALFA (dont use?)by El Barba
Package: binencrypt
USEcrypter file encryptcall = binencrypt.crypter(data,output_file)
call.encrypt()crypter_V2 text decrypt only execcall = binencrypt.crypter_V2(data)
out = call.encrypt()
print(out)
callde = binencrypt.crypter_V2(data)
oytde = callde.decrypt()
exec(oytde)' this out not print only exec '
Package: binext
codingError-control coding related codebinext.pya Python module for operating on binary extension fields, GF(2^m)Provides classes for creating and operating in finite fields:classff: general finite field, generates and stores tables for translating between power and vector representations in GF(2^m)Also provides method for printing out table of minimum polynomials, in same format as Lin and Costello bookclassffelt: general finite field element, can be used to carry out arithmetic on the fieldAlso provides methods to find conjugates, minimum polynomials, and to output vector representations