Saravanan666/pypi-org huggingface dataset:
Package: btsbots
=========================trade bots for bitshares=========================.. image:: https://bitsharestalk.org/BitSharesFinalTM200.png:target: https://btsbots.comThis project provides a python client trade bots for https://btsbots.comProject Setup=============Quick Start------------#. Install::$ sudo pip3 install btsbots#. Run::$ btsbotsbefore run the bots, you need configure your bots from https://btsbots.com first.after run the command, input your bts account name, and the private key for active permissions.when the spindle rotate, it means the data update from server,when a '*' appear, it means the trade bots are running.Configuration------------config your bots from https://btsbots.comSupported Python Versions=========================supports the following versions out of the box:* CPython 3.3, 3.5Licenses========The code which makes up this project is licensed under the MIT/X11 license. Feel free to use it in your free software/open-source or proprietary projects.Issues======Please report any bugs or requests that you have using the GitHub issue tracker!Authors=======* Alt
Package: btsbots-wallet
=========================wallet for BitShares=========================.. image:: https://bitsharestalk.org/BitSharesFinalTM200.png:target: https://bitsharestalk.orgThis project provides web wallet for BitsharesProject Setup=============Quick Start------------#. Install::$ sudo pip install btsbots-wallet#. Run::$ btsbots_walletopen your browser, visit http://localhost:5000Configuration------------todoSupported Python Versions=========================supports the following versions out of the box:* CPython 2.6, 2.7, 3.3* PyPy 1.9CPython 3.0-3.2 may also work but are at this point unsupported. PyPy 2.0.2 is known to work but is not run on Travis-CI.Jython_ and IronPython_ may also work, but have not been tested. If there is interest in support for these alternative implementations, please open a feature request!.. _Jython: http://jython.org/.. _IronPython: http://ironpython.net/Licenses========The code which makes up this project is licensed under the MIT/X11 license. Feel free to use it in your free software/open-source or proprietary projects.Issues======Please report any bugs or requests that you have using the GitHub issue tracker!Authors=======* Alt
Package: btsc
Usage:After installation, you can run this package directly in command line. Launching it without arguments starts it in interactive mode:Sample output:Github|â‡’ transfer_files
Enter path to file or directory: ./sysinfo
Creating zipfile from files in... /home/path/to/directory/sysinfo
Added file:  cython_tut.cpython-34m.so
Added file:  cython_tut.pyx
Added file:  setup.py
Added file:  build
Added file:  fib.cpython-34m.so
Added file:  primes.c
Added file:  .idea
Added file:  fib.c
Added file:  parse_proc_files.py
Added file:  fib.pyx
Added file:  primes.pyx
Added file:  cython_tut.c
Added file:  primes.cpython-34m.so

Sending zipfile: files_archive_09-02_18:34.zip (size of the file: 0.407897 MB)
Link to download zipfile(will be saved till 2017-09-16):
Could not save metadata

Link copied to clipboard
Remove archive? (y/n, yes/no):yes
Removing file... /home/path/to/directory/sysinfo/files_archive_09-02_18:34.zip
Removed.Besides that, you can start it with arguments:-i –interactive - keys that will start app with prompts (same as running it without arguments)-d –directory - enter path to directory (relative or absolute), which files will be sent in an archive-f –file - same as –directory, but enter path to file—ra –rm-archive - delete created archive, after it was sent–rf –rm-file - delete file after it was sent-h –help - display help messageSample outputtransfer.sh_client|devâš¡ â‡’ transfer_files -f test.txt --rf

Sending file: /home/path/to/directory/transfer.sh_client/test.txt (size of the file: 0.000113 MB)
Link to download file(will be saved till 2017-09-16):
https://transfer.sh/CtaJs/test.txt
Link copied to clipboard
Removing file... /home/path/to/directory/transfer.sh_client/test.txt
Removed.Example of usage inside scripts#!/usr/bin/env python3

from transfersh_client.app import send_to_transfersh, create_zip, remove_file


def send_files_from_dir():
    directory = './'
    zip_file = create_zip(directory)  # creates zip archive and returns it's absolute path
    send_to_transfersh(zip_file)  # sends archive to transfer.sh
    remove_file(zip_file)  # removes it


if __name__ == '__main__':
    send_files_from_dir()Downloadpip3 install transfersh_clientRequirementspypercliprequests
Package: btsf
btfs - Binary Time Series FileThis is a module to store time series data in a custom binary file format (.btfs) with the followingobjectives:small file sizeappendablefast to read and writeeasy to adapt to new scenariosability to store metadata (units, annotations, ...)targeted at Python (adding support for other languages should be rather straight-forward)possibility to tune implementation details such as byte order or paddingQuick description of the file structure of a .btfs file:File Signature (fixed)
(32 bytes)

at least one intro section
(16-byte header + variable length payload + variable length reserved zero-bytes)

end of intro section header
(16 bytes)

concatenated packed structured data
(structure of fixed length * N, thus appendable!)A typical use case for btfs is:Time series measurements of one or multiple variables (sampled at the same time).Appending (=adding) new measurements to file is always possible, eg. after a restart of the acquisition.The metadata of the file (stored in the intro sections of the file) can later be updated
with additional information, such as data annotations, tags or similar.What btfs is not suited for, at least not perfectly:event-based data with varying number of values or varying value types.Note: As the size of the introduction sections cannot be expanded, editing the metadata is only possible
within the limits of reserved extra space for the intro section, specified when creating the file.Installationpip install --upgrade https://github.com/pklaus/btsf/archive/master.zipExample UsagefrombtsfimportMetric,MetricType,BinaryTimeSeriesFilemetrics=[Metric('time',MetricType.Double),Metric('power',MetricType.Float),Metric('counter',MetricType.UInt64),Metric('flags',MetricType.UInt8),]withBinaryTimeSeriesFile.create('test.btsf',metrics)asf:f.append(1.1,2.2,0xf0f0f0f0f0f0f0f0,1)f.append(3.3,4.4,0xffffffffffffffff,2)f.append(5.0,1.0,0x123456789ABCDEF1,3)Checking what's in a .btsf file is easy with the supplied CLI:btsfinfotest.btsfresulting in the following output:test.btsf - Number of entries: 3
Metrics:
time (MetricType.Double)   power (MetricType.Float)   counter (MetricType.UInt64)   flags (MetricType.UInt8)
entries:
(1.1, 2.200000047683716, 17361641481138401520, 1)
(3.3, 4.400000095367432, 18446744073709551615, 2)
(5.0, 1.0, 1311768467463790321, 3)
Package: btsmart
Authors:Prof. Dr. Rainer NeumannVersion:0.1.10 of 2023/02/07A small library that helps to build simple projects based on the Fischertechnik BT-Smart Controller
using Bluetooth LE.
The library uses the bleak libray to handle the BLE protocol and asyncio to access device features.Installationpip install btsmartGetting StartedAssume we have attached a Button to the first input of the Controller, as simple lamp to output 1 and a motor element to output 2.
Then we can use the library like thisimportasynciofrombtsmartimportdiscover_controller,BTSmartControllerfrombtsmartimportButton,Dimmer,MotorXSbtn=Button()dim=Dimmer()motor=MotorXS()asyncdefbutton_pressed():print("Button pressed")awaitasyncio.gather(dim.set_level(100),motor.run(level=100,time=0.5))asyncdefbutton_released():print("Button released")awaitdim.set_level(0)btn.on_press(button_pressed)btn.on_release(button_released)asyncdefmain():btSmart:BTSmartController=Nonetry:btSmart=awaitdiscover_controller()exceptException:print("No controller found - please press the connect button on the device")returnbtn.attach(btSmart,1)dim.attach(btSmart,1)motor.attach(btSmart,2)awaitbtSmart.connect()awaitasyncio.sleep(20)awaitbtSmart.disconnect()asyncio.run(main())
Package: btsniff
btsniffsniff movies url or torrents.usually there are lot's of ads on these websites, so this will help you with only the bt torrents, just enjoy it.by default, a cache directory will be created at "/tmp/crawler/" with name of each site. i.e. for sitehttp://www.bbt.tvit will be"/tmp/crawler/www.bbt.tv". every searched result page is stored in this folder, so next time you search the same name, you will hit local cached page, but this can be overwritten with-w --overwriteparameter.sites supportedbbtbtdx8dygodinstallpipinstallbtsniffUSAGEshow helpbtsniff-h
Usage:btsniff[OPTIONS]Options:-n,--nameTEXTmovie/actorname[OPT]-n<name>-s,--siteTEXTsitename[OPT]-s<site_name>-l,--list_siteslistsupportedsites[OPT]-l-w,--overwriteoverwritelocalcache[OPT]-w-img,--display_imgdisplaywithimage[OPT]-img-h,--helpShowthismessageandexit.view all available sitesbtsniff-l
Availablesites:bbt[bt电影天堂:http://www.btbttv.cc/]btdx8[比特大雄:https://www.btdx8.com/]dygod[电影天堂:https://www.dy2018.com/]sniff by namesimple searchwith image supported
Package: btsnoop
Parser for btsnoopA project that analyzes btsnoop file.example 1:Display btsnoop pakcet infofrom btsnoop.btsnoop import *btsnp = btsnoop('btsnoop_hci.log')print(btsnp.parsed[0:10])example 2:Get remote / local device information in a list of dictionaries:[{'peer_addr': '90:3A:E6:2A:08:15','name': 'MyLink Malibu','oui': 'PARROT SA,174 Quai de Jemmapes Paris  FR 75010 ','lmp_manufacture': 'Texas_Instruments','lmp_version': 'V4_0','lmp_subversion': 7002,'profiles': [(<service_class_t.AdvancedAudioDistribution: 4365>, '1.2'),(<service_class_t.Handsfree: 4382>, '1.6'),(<service_class_t.AV_RemoteControl: 4366>, '1.4')]},]btsnp = btsnoop('btsnoop_hci.log')remote_info = btsnp.get_remote_info()print(remote_info)example 3:Find ACL connections which are sucessful or failed due to some kind of errorbtsnp = btsnoop('btsnoop_hci.log')conns = btsnp.get_acl_connections(status=8)print(conns)This is the README file for the project.The file should use UTF-8 encoding and can be written usingreStructuredTextormarkdownwith the appropriatekey set. 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: btsprice
=========================get bitshares price=========================.. image:: https://bitsharestalk.org/BitSharesFinalTM200.png:target: https://bitsharestalk.orgThis project provides bitshares priceProject Setup=============Quick Start------------#. Install::$ python setup.py install --userConfiguration------------todoSupported Python Versions=========================supports the following versions out of the box:* CPython 2.6, 2.7, 3.3* PyPy 1.9CPython 3.0-3.2 may also work but are at this point unsupported. PyPy 2.0.2 is known to work but is not run on Travis-CI.Jython_ and IronPython_ may also work, but have not been tested. If there is interest in support for these alternative implementations, please open a feature request!.. _Jython: http://jython.org/.. _IronPython: http://ironpython.net/Licenses========The code which makes up this project is licensed under the MIT/X11 license. Feel free to use it in your free software/open-source or proprietary projects.Issues======Please report any bugs or requests that you have using the GitHub issue tracker!Authors=======* Alt
Package: bts_proxy
This is a simple script that acts as an RPC proxy to the BitShares client
and provides simple access control to it, allowing to restrict access to
certain methods of the client only in a flexible way.If you like this tool, please vote formy
delegateto support further
development, and feel free to visit my page for other delegate proposals
atdigitalgaia.io. Thanks!InstallTo install, run:$ pip install bts_proxypreferably (but not required) in a virtualenv.Running the proxyJust run thebts-proxyscript on the command line.Configuration file with listening port and users/passwords alongside with
allowed methods can be found in the same data dir as the one for the BitShares
client. Config file is namedproxy.json, and will be created automatically
the first time you runbts-proxyif it doesn’t exist yet.You can specify a different data dir than the default one for the BitShares client
as the first argument to thebts-proxyscript, e.g.:$ bts-proxy ~/.BitSharesConfiguration file formatThe configuration file is a simple JSON file, looking like this:{
    "port": 5681,

    "users": [
        {
            "name": "username",
            "password": "secret-password",
            "methods_allowed": ["*"]
        }
    ]
}portis the port number on which the proxy will be listening. Make sure
to use a different port than the one on which the BitShares client is listening!usersis a list of objects containing the following fields:name: the name of the userpassword: the password for that usermethods_allowed: the list of methods allowed. You can used shell-like
pattern matching here (eg:"wallet_*"will allow all methods starting
with"wallet_")methods_forbidden(optional): the list of forbidden methods. You can also use
shell-like pattern matching here.Note that by default, methods are forbidden, so the proxy will allow you to
call a methodif and only ifit appears in themethods_allowedfield
andnotin themethods_forbiddenfield.Security best practicesIt is highly recommended to run both the BitShares client and the RPC proxy as
their own separate user, rather than your common one, and to restrict read access to
the BitShares client data dir to only this user.This should come by default with BitShares >= 0.5.0, otherwise you can do the
following:$ chmod 700 ~/.BitShares
Package: btspusher
=========================push service for BitShares=========================.. image:: https://bitsharestalk.org/BitSharesFinalTM200.png:target: https://bitsharestalk.orgThis project provides trade bots for bitsharesProject Setup=============Quick Start------------#. Install::$ sudo pip3 install btspusherConfiguration------------todoSupported Python Versions=========================supports the following versions out of the box:* CPython 2.6, 2.7, 3.3* PyPy 1.9CPython 3.0-3.2 may also work but are at this point unsupported. PyPy 2.0.2 is known to work but is not run on Travis-CI.Jython_ and IronPython_ may also work, but have not been tested. If there is interest in support for these alternative implementations, please open a feature request!.. _Jython: http://jython.org/.. _IronPython: http://ironpython.net/Licenses========The code which makes up this project is licensed under the MIT/X11 license. Feel free to use it in your free software/open-source or proprietary projects.Issues======Please report any bugs or requests that you have using the GitHub issue tracker!Authors=======* Alt
Package: btsync.py
btsync.py____   ______  _____ __ __  ____     __      ____  __ __
|    \ |      |/ ___/|  |  ||    \   /  ]    |    \|  |  |
|  o  )|      (   \_ |  |  ||  _  | /  /     |  o  )  |  |
|     ||_|  |_|\__  ||  ~  ||  |  |/  /      |   _/|  ~  |
|  O  |  |  |  /  \ ||___, ||  |  /   \_  __ |  |  |___, |
|     |  |  |  \    ||     ||  |  \     ||  ||  |  |     |
|_____|  |__|   \___||____/ |__|__|\____||__||__|  |____/A Python API client for BitTorrent SyncInstallationInstall fromPyPI:$pipinstallbtsync.pyOr Install from source:$gitclonegit@github.com:kevinjqiu/btsync.py.git$cdbtsync.py$pipinstall-rrequirements.txt$pythonsetup.pyinstallExamplesYou need to first downloadbtsyncfor your platform.
Once it’s downloaded, extract it somewhere and generate a sample config file:$cd/path/to/btsync$./btsync--dump-sample-config>configChange the default config if you wish.  The pieces of config you need for the client to connect are:hostport (listening port)usernamepasswordRunbtsyncwith the config:$./btsync--configconfigWith btsync running, now you can connect to it using this library:Creating a client:>>>importbtsync>>>client=btsync.Client(...host='127.0.0.1',...port='1106',...username='admin',...password='password')Listing sync folders:>>>importpprint>>>pprint.pprint(client.sync_folders)[{u'iswritable':1,u'name':u'/home/foo/bar',u'peers':[{u'direct':1,u'name':u'rpi',u'status':u'Synced on 10/08/13 11:21:30'}],u'readonlysecret':u'--------------------------------',u'secret':u'--------------------------------',u'size':u'353.9 MB in 256 files'},{u'iswritable':1,u'name':u'/tmp',u'peers':[],u'readonlysecret':u'--------------------------------',u'secret':u'--------------------------------',u'size':u'56.9 kB in 14 files'}]Generate a secret for adding a sync folder:>>>secret=client.generate_secret()>>>pprint.pprint(secret){u'rosecret':u'--------------------------------',u'secret':u'--------------------------------'}Add a sync folder:>>>client.add_sync_folder('/tmp',secret['rosecret'])>>>pprint.pprint(client.sync_folders[1]){u'iswritable':0,u'name':u'/tmp',u'peers':[],u'secret':u'--------------------------------',u'size':u'0 B in 0 files'}DevelopmentFirst, you need to setup a virtualenv, as it segregates local dependencies from the system libraries nicely:$virtualenvbtsync.py-envActivate the virtual environment:$cdbtsync.py-env$.btsync.py-env/bin/activateClone this repo somewhere, e.g.,$HOME/src/btsync.py:$gitclonegit@github.com:kevinjqiu/btsync.py.git$cdbtsync.pyInstall dev dependencies:$pipinstall-rrequirements-dev.txtRun tests:$fabtestYou can also generate the coverage report:$fabcoverageTo run integration tests, you need to havebtsyncexecutable on your$PATH:$fabtest_integrationOptionally, you can set an environment variableBTSYNCbefore running the test:$BTSYNC=$HOME/btsync/btsyncfabtest_integrationTo run coverage for integration tests:$fabcoverage:integrationYou can also change the port the btsync instance for integration test runs on (the default port is 59999):$BTSYNC_PORT=55555fabtest_integrationLicenseSeeLICENSE.
Package: bttc
Common utilities used in BT testingThis package is used to hold common utilities for BT testing.InstallationYou can install the released package from pip:$pipinstallbttcor download the source then run command below to use the latest version:$gitclonehttps://github.com/johnklee/bt_test_common.git
$cdbt_test_common
$pipinstall.You may needsudofor the above commands if your system has certain permission restrictions.Basic UsageRetrieve deviceYou can use functionget_allto retrieve all local connected adb devices:$adbdevices
Listofdevicesattached
07311JECB08252device
36121FDJG000GRdevice

$python
>>>importbttc
>>>devices=bttc.get_all()>>>devices['07311JECB08252'].gm.sdk34Or use functiongetto retrieve a specific device by its serial number:>>>importbttc
>>>dut=bttc.get('07311JECB08252',{'wifi'})>>>dut.wifi.status()<WifiStatus.ENABLED:'enabled'>Release infoRelease v0.0.68: #99, #101, #103Release v0.0.67: #90, #91, #95Release v0.0.66: #67, #84, #85Release v0.0.65: #76, #78, #80Release v0.0.64: #60, #68Release v0.0.61Enhance modulegeneral_utilsto get SDK version (#35)
Package: bt-test-interfaces
Pandora Bluetooth test interfacesPandora Bluetooth test interfaces provide a common abstraction for Bluetooth
testing tools to interact with all Bluetooth implementations, exposing all
standard Bluetooth capabilities overgRPC. They are built
using the followingrequirementsandstyle guide.A test interface is defined for each Bluetooth profile.Supported profilesHost: Interface for general methods (reset, connection, advertise...).Security: Interface to trigger Bluetooth Host security pairing procedures.A2DP: Interface for the Advanced Audio Distribution Profile.
Package: bttf
Back- and forward ports of Python features in Python 3 to aid porting from Python 2 to Python 3.All features are separately installable; currently only 1 feature exists:bytes_mod:Python 3.4.2 (default, Oct  8 2014, 13:08:17)
[GCC 4.9.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> b'I am bytes format: %s, %08d' % (b'asdf', 42)
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for %: 'bytes' and 'tuple'
>>> from bttf import install
>>> install('bytes_mod')
>>> b'I am bytes format: %s, %08d' % (b'asdf', 42)
b'I am bytes format: asdf, 00000042'LicenceCopyright (c) 2015, Antti Haapala
All rights reserved.Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS
IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.BackportsBackported portions by Python Software Foundation (bytesformat.h, typehacks.h) are under PSF License Agreement for Python 3.4 and 3.5.ContributorsAntti Haapala
Package: bttt99
bttt99A tool to navigate movie informationFree software: MIT licenseDocumentation:https://bttt99.readthedocs.io.FeaturesAutomatecally search the movie informationUsage> pip install bttt99or> pip install -e git+https://github.com/babykick/bttt99.git@master#egg=bttt99> bttt99 roundersHistory0.1 (2017-05-02)First release on PyPI.
Package: bttv
bttvFeaturesContains required utilities used to implement
the Bradley-Terry time-varying methodology
described in[1].References[1]Heejong Bong, Wanshan Li, Shamindra Shrotriya, and Alessandro Rinaldo. “Nonparametric Estimation in the Dynamic Bradley-Terry Model.” The 23rd International Conference on Artificial Intelligence and Statistics. 2020.DocumentationThe full documentation is athttp://bttv.rtfd.org.History0.1.0 (2019-08-15)First release on PyPI.
Package: btu.py
btu.pyPython library that makes fetching data from BTU Classroom really easy.Example usage of library:frombtu.classroomimportClassroomusername=""# ბითიუს მეილი ან პირადი ნომერიpassword=""# პაროლიclassroom=Classroom(username,password)print(f"შემოსულია{classroom.inbox}წაუკითხავი შეტყობინება")seeexamplesfor more.btu-fetchScript to run scrapers and output data in json format.Usage of script:usage: btu-fetch [-h] [-s source] [-o path] [--username username] [--password password]{notifications,courses,messages} [{notifications,courses,messages} ...]Run BTU Classroom scrapers.positional arguments:{notifications,courses,messages}scraper to runoptions:-h, --help            show this help message and exit-s source             path to source file.json-o path               path to output directory--username username   classroom username--password password   classroom passwordInstallationpip install btu.py