Saravanan666/pypi-org huggingface dataset:
Package: biswebpython
BioImage Suite Web -- Python PackageThis is package exports much of functionality in BioImage Suite Web as a
python package. This requires Python v3.5 or later.You can invoke all modules from the commandline using the globally installed
executablebiswebpy. For example to run the image smoothing algorithm typebiswebpy smoothImage -hThe modules are also available for inclusion in your own code under the
namespacebiswebpython. The same smoothing filter, for example, can be
imported as:from biswebpython.core.bis_objects import *
from biswebpython.modules.smoothImage import *

# Create and load an image
input=bisImage();
input.load(_SOME_INPUT_FILENAME_);
print('Input=',input.getDescription());

# Create and execute the smoothing module
smooth=smoothImage();
smooth.execute( { 'input' : input }, { 'sigma' : 4.0, 'debug' : True });

# Get and save the output
output=smooth.getOutputObject('output');
print('Output=',output.getDescription());
out.save(_SOME_OUTPUT_FILENAME_);For more information on bisweb see:The source repository --https://github.com/bioimagesuiteweb/biswebThe actual web application --https://bioimagesuiteweb.github.io/webapp/You may also take a look at the examples repositoryhttps://github.com/bioimagesuiteweb/examples.BioImage Suite Web (bisweb) is a web-based medical image analysis suite
primarily geared towards Neuroimaging Analysis. We gratefully acknowledge
support from the NIH Brain Initiative under grant R24 MH114805 (Papademetris
X. and Scheinost D. PIs).
Package: biszx-pylint-odoo
Biszx Pylint OdooEnable custom checksCodeDescriptionshort nameC9001Default function name must be start with _default_biszx-default-func-nameC9002Search function name must be start with _search_biszx-search-func-nameC9003Compute function name must be start with _compute_biszx-compute-func-nameC9004Onchange function name must be start with _onchange_biszx-onchange-func-nameC9005Constrains function name must be start with _check_biszx-constrains-func-nameC9006Domain function name must be start with _domain_biszx-domain-func-nameC9007Inverse function name must be start with _inverse_biszx-inverse-func-nameC9101Many2one field name must be end with _id or _uid for res.usersbiszx-relation2one-field-nameC9102One2many and Many2many field name must be end with _ids or _uids for res.usersbiszx-relation2many-field-nameC9103Boolean field name must be start with is_biszx-boolean-field-nameC9104Date field name must be end with _datebiszx-date-field-nameC9105Datetime field name must be end with _datetimebiszx-datetime-field-name
Package: bit
Bit is Python’sfastestBitcoin library and was designed from the beginning to feel intuitive, be
effortless to use, and have readable source code. It is heavily inspired byRequestsandKeras.Bit is so easy to use, in fact, you can do this:>>>frombitimportKey>>>>>>my_key=Key(...)>>>my_key.get_balance('usd')'12.51'>>>>>># Let's donate!>>>outputs=[>>># Wikileaks>>>('1HB5XMLmzFVj8ALj6mfBsbifRoD4miY36v',0.0035,'btc'),>>># Internet Archive>>>('1Archive1n2C579dMsAu3iC6tWzuQJz8dN',190,'jpy'),>>># The Pirate Bay>>>('129TQVAroeehD9fZpzK51NdZGQT4TqifbG',3,'eur'),>>># xkcd>>>('14Tr4HaKkKuC1Lmpr2YMAuYVZRWqAdRTcr',2.5,'cad')>>>]>>>>>>my_key.send(outputs)'9f59f5c6757ec46fdc7440acbeb3920e614c8d1d247ac174eb6781b832710c1c'Here is the transactionhttps://blockchain.info/tx/9f59f5c6757ec46fdc7440acbeb3920e614c8d1d247ac174eb6781b832710c1c.FeaturesPython’s fastest available implementation (100x faster than closest library)Seamless integration with existing server setupsSupports keys in cold storageFully supports 25 different currenciesFirst class support for storing data in the blockchainDeterministic signatures via RFC 6979Access to the blockchain (and testnet chain) through multiple APIs for redundancyExchange rate API, with optional cachingOptimal transaction fee API, with optional cachingCompressed public keys by defaultMultiple representations of private keys; WIF, PEM, DER, etc.Legacy P2PKH and Segwit nested-P2WPKH transactionsLegacy P2SH and Segwit nested-P2WSH transactionsIf you are intrigued, continue reading. If not, continue all the same!InstallationBit is distributed onPyPIas a universal wheel and is available on Linux/macOS
and Windows and supports Python 3.5+ and PyPy3.5-v5.7.1+.pip>= 8.1.2 is required.$pipinstallbitDocumentationDocs arehosted by Github Pagesand are automatically built and published
by Travis after every successful commit to Bit’smasterbranch.CreditsLogo courtesy ofhttps://textcraft.netGregory Maxwell(Bitcoin core dev) for teaching me a bit ofECCmatharubiin #bitcoin for helping me understand transaction gotchasfuzemanfor bestowing me the namebiton thePython Package Index
Package: bit9-api
bit9-apiBit9 API for their Cyber Forensics Servicehttps://www.bit9.com/solutions/cloud-services/cyber-forensicsInstallation$pipinstallbit9-apiUsageimportjsonfrombit9_apiimportBit9ApiUSER='user'PASSWORD='password'bit9=Bit9Api(USER,PASSWORD)# Win 7 SP1 - calc.execalc_exe_md5='60B7C0FEAD45F2066E5B805A91F4F0FC'response=bit9.lookup_hashinfo(calc_exe_md5)printjson.dumps(response,sort_keys=False,indent=4)Output:{"hashinfo":{"peheadermetadata":{"fileversion":"6.1.7601.17514 (win7sp1_rtm.101119-1850)","language":"English (United States)","companyname":"Microsoft Corporation","codepage":"Unicode","productname":"Microsoft\u00ae Windows\u00ae Operating System","version":"6.1.7601.17514","productversion":"6.1.7601.17514","originalname":"CALC.EXE","description":"Windows Calculator"},"fileinfo":{"firstseendateutc":"2011-02-10T20:24:00Z","ispeformat":true,"iscontainer":true,"firstseenname":"calc.exe","sha256":"80c10ee5f21f92f89cbc293a59d2fd4c01c7958aacad15642558db700943fa22","sha1":"9018a7d6cdbe859a430e8794e73381f77c840be0","crc32":"-1919983730","ssdeep":"6144:Jv7Wc4dyC7dXNBzn68YoC+6VoQSkgrpZHqk61peBN1L+I8pfezYeWHMzyy14pL1k:JvSbJxPRC+XQSxb6Dc7RwIWHeGL7GOK                                     ","filesizebytes":"776192","isexecutable":true,"md5":"60b7c0fead45f2066e5b805a91f4f0fc"},"trust":"10","threat":"0","certificate":{"commonname":"Microsoft Windows                                                                                                               "}},"request":"/1/hashinfo/lookup.json?md5=60b7c0fead45f2066e5b805a91f4f0fc&flags=15&tool=pythonapi&data="}TestingTo run the tests:$ ./testsDocumentationDocumentation is comming soon.ContributingFork it.Create a branch (git checkout -b my_bit9_api)Commit your changes (git commit -am “Added Something Cool”)Push to the branch (git push origin my_bit9_api)Open a [Pull Request](https://github.com/blacktop/bit9-api/pulls)Wait for me to figure out what the heck a pull request is…Release History1.0.8 (2014-05-18)BugfixesFixing README.rst for better PYPI presentation.1.0.2 (2014-05-18)API ChangesChanging folder structure so when people import it it is not dumb :(1.0.1 (2014-04-14)BugfixesTrying to fix setup.py for deploying to PYPI.
Package: bitalign
BitAlignGiven two strings of bits, find how to best align them so that they have the most bits in common.Installation:pip install bitalignExamplesThe following snippets show a conceptual string of 16 bitsA = "0001001011111111"needs to shifted to the right by 5 in order to best line up with
the string of 16 bitsB = "1111100010010111", at
which point they have 11 bits in common:A =      0001001011111111
B = 1111100010010111The only differences are how we decide to encode the bits into a list of integer.>>>frombitalignimport*>>># We can can treat bytes objects like b'\x12\xff' as bit arrays>>>A=bytes([0b0001_0010,0b1111_1111])>>>B=bytes([0b1111_1000,0b1001_0111])>>>bitalign_8_msb(A,B)(5, 11)>>># Reversing the bits in each byte --> use "lsb" method instead>>>A=bytes([0b0100_1000,0b1111_1111])>>>B=bytes([0b0001_1111,0b1110_1001])>>>bitalign_8_lsb(A,B)(5, 11)>>># numpy arrays also work, just make sure they have an appropriate dtype.>>>importnumpyasnp>>>A=np.array([0b0001001011111111],dtype=np.uint16)>>>B=np.array([0b1111100010010111],dtype=np.uint16)>>>bitalign_16_msb(A,B)(5, 11)>>># Reverse bits in each uint64 --> use "lsb" method instead>>>A=np.array([0b1111111101001000],dtype=np.uint16)>>>B=np.array([0b1110100100011111],dtype=np.uint16)>>>bitalign_16_lsb(A,B)(5, 11)>>># Works on general pairs of c-contiguous buffer objects>>># numpy.array, array.array, bytes, bytearray, memoryview, etc.>>>importarray>>>A=array.array('H',[0b0001001011111111])>>>B=array.array('H',[0b1111100010010111])>>>bitalign_16_msb(A,B)(5, 11)APIThisbitalignpackage exposes 8 methods:frombitalignimport(bitalign_8_lsb,bitalign_16_lsb,bitalign_32_lsb,bitalign_64_lsb,bitalign_8_msb,bitalign_16_msb,bitalign_32_msb,bitalign_64_msb,)bitalign_#_?sb(arr1, arr2) --> (shift_by, num_common_bits);

    Return a tuple (x, y) such that when arr1 is shifted by x bits,
    the number of bits in common between arr1 and arr2 is y.

    Positive shifts indicate that arr1 needs to be shifted toward the back:

        arr1 =                    -->  0001001011111111  -->
        arr2 =                    1111100010010111
        gives (shift_by=5, num_common_bits=11)

    Negative shifts indicate that arr1 needs to be shifted toward the front:

        arr1 =          <--  1111100010010111  <--
        arr2 =                    0001001011111111
        gives (shift_by=-5, num_common_bits=11)

    The number (8, 16, 32, or 64) in the function name the number of bits
    that must be in each array entry.  'lsb'/'msb' indicates whether the
    0th bit of each logical bit-array is to be stored in the least or most
    significant bit of arr[0].

    If more than one shift is optimal, the negative-most shift is used.
    If there are no bits in common (i.e., all zeros with all ones),
    then (-num_bits, 0) is returned.
Package: bitalino
# BITalino (r)evolution Python APIThe BITalino (r)evolution Python API provides the needed tools to interact with BITalino (r)evolution using Python.## Dependencies[Python3.7 +](https://www.python.org/downloads/)[NumPy](https://github.com/numpy/numpy)[pySerial](https://github.com/pyserial/pyserial)[PyBluez](https://github.com/pybluez/pybluez) (Not needed for macOS)## InstallationInstall [bitalino](https://pypi.org/project/bitalino/) API package from PyPI:`winbatch pip install bitalino `Or clone this repository and install using pip:`winbatch git clonehttps://github.com/BITalinoWorld/revolution-python-api.gitcdrevolution-python-apipip install . `## Documentation<http://bitalino.com/pyAPI/>## ExampleA sample script is available at [samples](samples) folder.## LicenseThis project is licensed under the [GNU GPL v3](LICENSE.md)
Package: bitalino-lsl
BITalino-lslA python module calledbitalino_lslto stream BITalino data though the Lab Streaming Layer (LSL). This module gets data from theBITalinodevice through thebitalino python apiand uses theLab Stream Layerto stream the data.The module should work with python versions >= 2.7 although it has only been tested for:Python 2.7.15Python 3.6.5Getting startedInstallationpip install bitalino_lslExampleimportbitalino_lslfrompylslimportStreamInlet,resolve_streamimporttime# MAC address of the BITalino deviceMAC_ADDRESS_BITALINO_DEVICE="20:17:11:1A:2B:3C"# List with channels of the BITalino device to be streamed to the LSL# This channels can be specified as a list or as a dictionary with their# position in the 10-20 system. BITalino uses bipolar electrodes so the# position will be defined by two points# CHANNELS = {0: 'Fp1-Fp2', 1: 'P3-T5'}CHANNELS=[0,1]# Connect with the BITalino devicedevice=bitalino_lsl.BitalinoLSL(MAC_ADDRESS_BITALINO_DEVICE)# Create the Stream with the channels informationdevice.create_lsl_EEG(CHANNELS)# Start the stream getting data from the BITalino devicedevice.start()# Get the Stream to read the data frominlet=StreamInlet(resolve_stream('type','EEG')[0])# Read the BITalino data for 5 secondst_end=time.time()+5whiletime.time()<t_end:sample,timestamp=inlet.pull_sample()print(sample)# Stop the devicedevice.stop()# Close the connection with the BITalino devicedevice.close()DocumentationDocumentation is availablehereLicenseThis project is licensed under theGNU GPL v3
Package: bitbake
BitBake is a simple tool for the execution of tasks. It is derived from Portage, which is the package management system used by the Gentoo Linux distribution. It is most commonly used to build packages, as it can easily use its rudamentary inheritence to abstract common operations, such as fetching sources, unpacking them, patching them, compiling them, and so on.  It is the basis of the OpenEmbedded project, which is being used for OpenZaurus, Familiar, and a number of other Linux distributions.
Package: bitbake-language-server
bitbake-language-serverLanguage server forbitbake.DiagnosticDocument LinkGoto DefinitionHoverCompletionA video ishere:Readto know more.Related Projectsoelint-parser: the parser
of this projectvim-bitbake:
syntax highlight for vimvscode-bitbake:
A VS Code extension for bitbake which use tree-sitter as its parser
Package: bitbangrelay
bitbangrelayA simple tool for controlling USB relay boards
based around an FTDI FT232R/FT245R chip in bitbang mode,
for example SainSmart 4 or 8 channel USB relay modules.NOTE:This project is a work in progress,
documentation and testing are currently very limited.
If this project is useful to you,
please let us know how it can be improved.InstallThere has not yet been a packaged release of bitbangrelay,
so the best way to install is via git:pip install git+https://github.com/SanCloudLtd/bitbangrelay.gitDependenciesbitbangrelay relies on the following Python modules:PyYAMLfor config file parsing.pylibftdifor interacting with FTDI devices.Note that the C library libftdi must be installed separately
for pylibftdi to import correctly.Usageusage: bitbangrelay [-h] [--version] [-c CONFIG_FILE] [-d DEVICE] channel action

USB BitBang Relay Controller

positional arguments:
  channel               Relay channel to control
  action                Action to perform: 'on', 'off' or 'cycle'

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  -c CONFIG_FILE, --config-file CONFIG_FILE
                        Config file to load, defaults to ~/.config/bitbangrelay.yml
  -d DEVICE, --device DEVICE
                        Relay device to control, defaults to 'default'Example usageTo turn on a channel:bitbangrelay bbe onTo turn off a channel:bitbangrelay bbe offTo power cycle a channel:bitbangrelay bbe cycleThe connected device will be powered off and then
5 seconds later it will be powered back on.To turn off all channels of a relay:bitbangrelay all offConfigurationThe bitbangrelay library parses a configuration file in yaml syntax
to determine the available relay devices and channels.Example configuration:# Top level keys give names for the available relay devices. A relay device# named "default" will be the default if no other device name is given.default:# The id is required for each relay device. This is passed to pylibftdi# to select the appropriate USB device and is typically the device's# serial number.id:AAAAAAAA# The number of channels supported by the relay device. If this is not# provided then it is assumed that 8 channels are available.channels:4# Channels can be selected by index or by alias. A dictionary mapping# alises to channel numbers may be provided for convenience.aliases:bbe:0bbe-lite:1beaglebone-black:2raspberrypi4:3MaintainersPaul Barker:envelope:LicenseCopyright (c) 2021-2022 SanCloud Ltd.Code files are distributed under theApache 2.0 License.Documentation files are distributed under theCC BY 4.0 License.Trivial data files are distributed under theCC0 1.0 License.
Package: bitbank-client
bitbank-client is a python client (sync/async) library for bitbank apiInstallation$ pip install bitbank-clientUsage## sync#frombitbank_client.syncimportClientclient=Client(public_key='your api key',private_key='your api secret')response=client.get_ticker(pair='btc_jpy')print(response.status_code,response.json())## async#importgrequestsfrombitbank_client.asyncimportAsyncclient=Async(public_key='your api key',private_key='your api secret')reqs=[client.get_ticker(pair='btc_jpy'),client.get_depth(pair='btc_jpy'),...]response=grequests.map(reqs)forrinresponse:print(r.status_code,r.json())client.get_ticker(pair='btc_jpy')# GET /{pair}/tickerclient.get_depth(pair='btc_jpy')# GET /{pair}/depthclient.get_transactions(pair='btc_jpy')# GET /{pair}/transactionsclient.get_transactions(pair='btc_jpy',yyyymmdd='20180509')# GET /{pair}/transactions/{YYYYMMDD}client.get_candlestick(pair='btc_jpy',candle_type='1day',yyyymmdd='2018')# GET /{pair}/candlestick/{candle-type}/{YYYY}client.get_candlestick(pair='btc_jpy',candle_type='1hour',yyyymmdd='20180510')# GET /{pair}/candlestick/{candle-type}/{YYYY}client.get_assets()# GET /user/assetsclient.get_order(pair='btc_jpy',order_id=1)# GET /user/spot/orderclient.order(pair='btc_jpy',amount=1,price=1,side='buy',type='limit')# POST /user/spot/orderclient.cancel_order(pair='btc_jpy',order_id=1)# POST /user/spot/cancel_orderclient.cancel_orders(pair='btc_jpy',order_ids=[1,2])# POST /user/spot/cancel_ordersclient.orders_info(pair='btc_jpy',order_ids=[1,2])# POST /user/spot/orders_infoclient.get_active_orders(pair='btc_jpy')# GET /user/spot/active_ordersclient.get_trade_history(pair='btc_jpy')# GET /user/spot/trade_historyclient.get_withdrawal_account(asset='btc')# GET /user/withdrawal_accountclient.request_withdrawal(asset='btc',uuid=1,amount=1)# POST /user/request_withdrawalclient.request_withdrawal(asset='btc',uuid=1,amount=1,otp_token='xxx')# POST /user/request_withdrawalclient.request_withdrawal(asset='btc',uuid=1,amount=1,sms_token='xxx')# POST /user/request_withdrawalContributingFork itCreate your feature branch (git checkout-bmy-new-feature)Commit your changes (git commit-am'Add some feature')Push to the branch (git push originmy-new-feature)Create new Pull Request
Package: bitbanker-sdk
bitbanker-sdkThis is an sync/async PythonBitbankerAPI client.InstallationThe project is available on PyPI. Simply run:$ pip install bitbanker-sdkUsageWith sync python application:from bitbanker_sdk import BitbankerClient
from bitbanker_sdk import InvoiceData
from bitbanker_sdk import Currency

client = BitbankerClient(api_key="<your bitbanker api key>")
invoice_data = InvoiceData(
        amount=1000,
        payment_currencies=[Currency.ETH, Currency.BTC],
        description='invoice description',
        header='invoice header'
    )

response = client.create_invoice(invoice_data=invoice_data)
print(response.link)With async python application:from bitbanker_sdk import AsyncBitbankerClient
from bitbanker_sdk import InvoiceData
from bitbanker_sdk import Currency

client = AsyncBitbankerClient(api_key="<your bitbanker api key>")
invoice_data = InvoiceData(
        amount=1000,
        payment_currencies=[Currency.ETH, Currency.BTC],
        description='invoice description',
        header='invoice header'
    )

response = await client.create_invoice(invoice_data=invoice_data)
print(response.link)
Package: bitbazaar
BitBazaarAn assortment of publicly available cross-language utilities useful to my projects.PythonYou can installBitBazaarviapipfromPyPI:pip install bitbazaarJavascriptYou can installBitBazaarvianpm:npm install bitbazaarRust-backed Python libraryYou can installBitBazaarviapipfromPyPI:pip install bitbazaar_rsBinaries are available for:Linux:x86_64,aarch64,i686,armv7,ppc64le,s390x,musl-x86_64&musl-aarch64MacOS:x86_64,aarch64Windows:x86_64,aarch64,i686If your platform isn't supported,file an issue.RustYou can installBitBazaarviacrates.io:# Cargo.toml[dependencies]bitbazaar = "0.0.37"UsagePlease see thedocumentationfor details.ContributingContributions are very welcome.
To learn more, see theContributor Guide.LicenseDistributed under the terms of theMIT license,BitBazaaris free and open source software.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.
Package: bitbazaar-rs
BitBazaarAn assortment of publicly available cross-language utilities useful to my projects.PythonYou can installBitBazaarviapipfromPyPI:pip install bitbazaarJavascriptYou can installBitBazaarvianpm:npm install bitbazaarRust-backed Python libraryYou can installBitBazaarviapipfromPyPI:pip install bitbazaar_rsBinaries are available for:Linux:x86_64,aarch64,i686,armv7l,musl-x86_64&musl-aarch64MacOS:x86_64&arm64Windows:amd64&win32RustYou can installBitBazaarviacrates.io:# Cargo.toml[dependencies]bitbazaar = "0.0.21"UsagePlease see thedocumentationfor details.ContributingContributions are very welcome.
To learn more, see theContributor Guide.LicenseDistributed under the terms of theMIT license,BitBazaaris free and open source software.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.
Package: bit-bind
# bit_bindCustom API bindings for bittrex## Installation```$ pip install bit_bind```### Install from source```$ git clone  https://github.com/hthompson6/bit_bind.git$ cd bit_bind$ python setup.py install```## Usage```pythonapi_key = `xxxxxxxxxxxxxxxxx`api_secret = `zzzzzzzzzzzzzz`bit_bound = BittrexAPIBinder(api_key, api_secret)bit_bound.get_current_balances()bit_bound.get_current_value('BTC', 'VOX')```
Package: bitbitbot
BitBitBotAn unopinionated, extensible Python ChatBot built for twitch on top of theirc library. For more information, please refer to the documentation.Example Usagefrombitbitbot.botbot=BitBitBot({bot_account_name},# bitbitbot{bot_oauth_token},# oauth:123456890asdfgh{streamer_channel_name},# metabytez)bot.start()Creating PluginsAssuming you have installed bitbitbot in a virtualenv called.venvand then create the following project structure|- my_bot
|- - .venv
|- - plugins
|- - - my_plugin
|- - - - commands.pyYou can add the following code to thecommands.pyfile, to register your first command.frombitbitbotimportcommandfrombitbitbot.botimportBitBitBotfrombitbitbot.modelsimportTwitchTags@command('foo')deffoo(bot:BitBitBot,msg:str,tags:TwitchTags)->None:bot.send_message('Hello World!')The name of the directories inside ofpluginscan be whatever you want, but the root directory must be calledpluginsYou can have multiple directories in thepluginsdirectoryYou can add multiple commands to a singlecommands.pyfile.The name of the function does not have to match the command name.You don't need the type annotations, they are just for demonstration purposes.
Package: bitblock
BitBlockA Bitcoin RPC module for Python with a little bit extra.PurposeThis Python module is intended to allow a developer to be able to interact with
less obvious information available from the Bitcoin blockchain.How Does It WorkInformation like transactions and address balances are available from a locally
created database that caches information from the blockchain. This cache is
persistent, but can be removed by the user and reinitialised at any time
if it is believed to be consuming too much space.But Why?For a truly decentralized network, it is not enough that userscanaccess information at their own leisure, instead it must be readily
available and easy to implement from any client. While I admit that storage-
space is a concern, it would be a concern regardless. And once the blockchain
has been cached by BitBlock, it is no longer necessary for a user to maintain
their own blockchain copy, as the useful information has been distilled.LicenseThis software is released under the GNU General Public License. Please
see the LICENSE for more details.