Saravanan666/pypi-org huggingface dataset:
Package: bedrock-anthropic
Anthropic Bedrock Python SDKbedrock-anthropicis a python library for interacting with Anthropic's models on AWS Bedrock. It makes it really easy to use Anthropic's models in your application.Created by:Mustafa Aljadery&Siddharth Sharma.CompleteDocsInstallationInstallbedrock-anthropicusing pip:pipinstallbedrock-anthropicAuthenticationThis is an example using access & secret keys. For more authentication examples, refer to thedocs.importosfrombedrock_anthropicimportAnthropicBedrockanthropic=AnthropicBedrock(access_key=os.getenv("AWS_ACCESS_KEY"),secret_key=os.getenv("AWS_SECRET_KEY"))ExampleAn example of using theCompletionendpoint in this SDK.importosfrombedrock_anthropicimportAnthropicBedrockanthropic=AnthropicBedrock(access_key=os.getenv("AWS_ACCESS_KEY"),secret_key=os.getenv("AWS_SECRET_KEY"))completion=anthropic.Completion.create(model="anthropic.claude-v2",prompt="Why is the sky blue?",max_tokens_to_sample=300)print(completion["completion"])ResponseThere are a few main reasons why the sky appears blue:-Rayleigh scattering - Light from the sun is scattered by nitrogen and oxygen molecules in the atmosphere. Shorter wavelengths like blue and violet are scattered more easily than longer wavelengths, making the sky appear blue.-The composition of the atmosphere - Nitrogen and oxygen account for most of the atmosphere. These gases are efficient at scattering blue light.-The angle of the sun - The sky appears blue during the day but red/orange during sunrise and sunset because of the angle sunlight has to pass through the atmosphere. More blue light is scattered away from the line of sight when the sun is higher overhead.-Water and dust - Additional scattering by water and dust particles in the atmosphere can also contribute to the blue color.

So in summary, the main factors are Rayleigh scattering by air molecules that preferentially scatters blue light, the gases that make up our atmosphere, and the angle/amount of atmosphere sunlight has to pass through. This gives the sky its familiar blue hue during the day.
Package: bedrock-cgi
Bedrock-2 (CGI)CGI implementation of Bedrock-2 in pythonTesting the Bedrock servicecurl -X POST -d '{ "blah": "boo", "event": "ok" }' -H "Content-Type: application/json; charset=UTF-8" http://localhost/cgi-bin/rpi_sensor.py -iUsing IntelliJ IDEAIn module settings, make sure to mark the src/ and test/ directories as 'sources' so that IDEA will find the bedrock_cgi module.
Package: bedrockpy
bedrockpyMinecraft: Bedrock Edition Websocket Serverbedrockpylets you create a websocket server that is able to interact
with a player in a Minecraft game. As the name suggests: this project
only works with the "Minecraft: Bedrock Edition".Quick Links📦PyPI📖Docs🐍Repo"Show me some Code"Code says more than a thousand words.frombedrock.serverimportServerapp=Server()@app.server_eventasyncdefready(ctx):print(f"Ready @{ctx.host}:{ctx.port}!")@app.game_eventasyncdefblock_broken(ctx):awaitctx.server.run("title @a title Who destroyed{ctx.id}?!")app.start("localhost",6464)Please refer to the "Introduction" section in the documentation in
order to get started with bedrockpy.InstallationYou can install/upgradebedrockpywith the following command:pip install -U bedrockpyIf you are not using Windows, you may as well enableuvloopwhich speeds up
the server:pip install -U "bedrockpy[fast]"NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH
MOJANG.
Package: bedshift
BedshiftDocs: bedshift.databio.orgInstall from PyPi:pip install bedshiftInstall from local repository:pip install .Command lineRun with:bedshift -l tests/hg38.chrom.sizes -b tests/test.bedSeebedshift -hfor parameters.Pythonimportbedshiftbedshifter=bedshift.Bedshift('tests/test.bed','hg38.chrom.sizes')bedshifter.all_perturbations(addrate=0.3,addmean=320.0,addstdev=20.0,shiftrate=0.3,shiftmean=-10.0,shiftstdev=120.0,cutrate=0.1,mergerate=0.11,droprate=0.03)# can also run single operations: shift, add, cut, merge, dropbedshifter.to_bed('test_output.bed')DevelopmentRun tests (from this directory):python -m unittestDouble check the output files to see if the regions make sense.build docs:
Package: bedsy
BeDSy - Behaviour-recording Device SynchroniserWhat is it?TheBeDSy (Behaviour-recording Device Synchroniser)is a platform for hardware triggering and synchronisation of equipment for laboratory animal behavioural monitoring.It consists of two components: this Python package, which interfaces with theBeDsyino, a hardware platform which sends custom trigger signals to animal behaviour-monitoring devices.How to install?BeDSy isavailable on PyPican be installed withpip:pipinstallbedsyDependenciespySerial- can be also be installed withpipHistoryI (Davor Virag) developed the BeDSy platform with immense help from Paul Mieske and indispensible advice by Pia Kahnau during my stay with them at theGerman Federal Institute for Risk Assessment (BfR)in September 2023, where I was gracefully hosted by their brilliant PI, Lars Lewejohann, as part of my Short-Term Scientific Mission (STSM) funded by theCOSTaction"Improving biomedical research by automated behaviour monitoring in the animal home-cage - TEATIME" (CA20135).BeDSy was originally developed to improve video and audio synchronisation between several Basler cameras and the AviSoft UltraSoundGate for Paul's very cool upcoming research project.Current stateThis package is quite simple and seems to work fairly well. I don't have any major plans for it, except for adding sorely needed comments and documentation. It's currently been tested on Windows only, but I think it should work on Linux as well.For an example (though not very clean) implementation into an existing project, seeBasler GUI Updated, a continuation of Niek Andresen'sBasler GUI Pyproject.TheBeDsyinois, however, still cooking. While the code is mostly complete, only a single hand-soldered, protoboard-based prototype has been developed thus far. A modular, extensible hardware platform is currently in the works. For more info, please check that repo.How does it workThe module provides communication withBeDsyino, but requires the user to handle start/stop messages (i.e. it won't raise an exception if it doesn't receive a stop message after calling thestop_bedsy()method).TO DO - expandLicenseThe code is distributed under GPLv3.
Package: beebee
Copyright (c) 2019, Chris Mutel
All rights reserved.Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.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.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.Description: # beebeeProcess BONSAI data sources for use in Brightway2 calculations.Takes JSON-LD data following the [BONSAI ontology](https://github.com/BONSAMURAIS/ontology), and turns it into a Numpy [.npy](https://www.numpy.org/neps/nep-0001-npy-format.html) files that can be used directly by [Brightway2](https://brightwaylca.org/).Can also take electricity data from the [bentso library](https://github.com/BONSAMURAIS/bentso) (which itself wraps [entsoe-py](https://github.com/EnergieID/entsoe-py) which wraps the [ENTSO-E API](https://transparency.entsoe.eu/content/static_content/Static%20content/web%20api/Guide.html))## Installationbeebeerequires the following:arboristbentsodocoptnumpy## ContributingPlease feel free to either file an issues or submit a pull request!Platform: UNKNOWN
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Scientific/Engineering :: Visualization
Package: beecom
# BEEComThis is a simple console writen in python to control the BEETHEFIRST 3D printer from BEEVERYCREATIVE.To use this tool clone the current repository to your computer and run it bu calling “python beeconsole.py”## RequirementsPython 2.7pyusblibusb## Installation### Mac OSXInstall brew package manager (http://brew.sh)Install python 2.7 (https://www.python.org)Install pyusb (run “sudo pip install pyusb” in a terminal window)Install libusb (run “brew install libusb” in a terminal window)### LinuxInstall python 2.7 (run “sudo apt-get install python” in a terminal window)Install pip (run “sudo apt-get install python-pip” in a terminal window)Install pyusb (run “sudo pip install pyusb” in a terminal window)## Run### Mac OSX
$python beeconsole.py
Package: bee-data-api
Project descriptionFor working with api methods of the test environmentInstallation$ pip install bee_data_apiExamplesRunning only on python 3.7+import bee_data_api

your_variable = bee_data_api.bee_data.DataTest()
response = your_variable.get_module(50).json())ResultsWe receive the answer from 'request' library{'id': 50, 'name': '1string', 'description': '2string', 'project': {'id': 14, 'projectName': 'new name', 'description': 'некоторое описание проекта'}}
Package: bee-django-coin
Add “message” to your INSTALLED_APPS setting like this:INSTALLED_APPS = (
    ...
    'bee_django_coin.apps.BeeDjangoCoinConfig',
)Include the crm URLconf in your project urls.py like this:from django.conf.urls import include, url
...
url(r'^message/', include('bee_django_message.urls', namespace='bee_django_message')),3.settings.py like this:USER_TABLE = None
USER_NAME_FIELD = 'first_name'
COIN_DEFAULT_NAME = 'system'
COIN_NAME = 'M'Runpython manage.py makemigrations,`python manage.py migrate` to create the crm models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a message (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/message/to participate in the message.
Package: bee-django-crm
Add “bee_django_crm” to your INSTALLED_APPS setting like this:INSTALLED_APPS = (
    ...
    'bee_django_crm.apps.CrmConfig',
)Include the crm URLconf in your project urls.py like this:from django.conf.urls import include, url
...
url(r'^crm/', include('bee_django_crm.urls')),3.settings.py like this:USER_TABLE = ""Runpython manage.py makemigrations,`python manage.py migrate` to create the crm models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a cc (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/crm/to participate in the cc.
Package: bee-django-crm-auth
Add “bee_django_crm” to your INSTALLED_APPS setting like this:INSTALLED_APPS = (
    ...
    'bee_django_crm.apps.CrmConfig',
)Include the crm URLconf in your project urls.py like this:from django.conf.urls import include, url
...
url(r'^crm/', include('bee_django_crm.urls')),3.settings.py like this:USER_TABLE = ""Runpython manage.py makemigrations,`python manage.py migrate` to create the crm models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a crm (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/crm/to participate in the crm.
Package: bee-django-exam
Add “crm” to your INSTALLED_APPS setting like this:INSTALLED_APPS = (
    ...
    'crm.apps.CrmConfig',
)Include the crm URLconf in your project urls.py like this:from django.conf.urls import include, url
...
url(r'^crm/', include('crm.urls', namespace='crm')),3.settings.py like this:USER_TABLE="" #用户表，如果用django自带，为空或None。如果自定义，则为app_label.ModelNameRunpython manage.py makemigrations,`python manage.py migrate` to create the crm models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a cc (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/cc/to participate in the cc.
Package: bee-django-message
Add “message” to your INSTALLED_APPS setting like this:INSTALLED_APPS = (
    ...
    'bee_django_message.apps.BeeDjangoMessageConfig',
)Include the crm URLconf in your project urls.py like this:from django.conf.urls import include, url
...
url(r'^message/', include('bee_django_message.urls', namespace='bee_django_message')),3.settings.py like this:MESSAGE_USER_TABLE = None
MESSAGE_USER_NAME_FIELD = 'first_name'Runpython manage.py makemigrations,`python manage.py migrate` to create the crm models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a message (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/message/to participate in the message.
Package: bee-django-mission
Add “crm” to your INSTALLED_APPS setting like this:INSTALLED_APPS = (
    ...
    'crm.apps.CrmConfig',
)Include the crm URLconf in your project urls.py like this:from django.conf.urls import include, url
...
url(r'^crm/', include('crm.urls', namespace='crm')),3.settings.py like this:USER_TABLE="" #用户表，如果用django自带，为空或None。如果自定义，则为app_label.ModelNameRunpython manage.py makemigrations,`python manage.py migrate` to create the crm models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a cc (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/cc/to participate in the cc.
Package: bee_django_object_field
Add “message” to your INSTALLED_APPS setting like this:INSTALLED_APPS = (
    ...
    'bee_django_object_field.apps.BeeDjangoObjectFieldConfig',
)Include the crm URLconf in your project urls.py like this:from django.conf.urls import include, url
...
url(r'^bee_django_object_field/', include('bee_django_object_field.urls')),Runpython manage.py makemigrations,`python manage.py migrate` to create the bee_django_object_field models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a message (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/bee_django_object_field/to participate in the message.6. Use
from bee_django_object_field.custom_fields import DictField,ListField
dict_field = DictField()
list_field = ListField()
Package: bee-django-referral
Add “message” to your INSTALLED_APPS setting like this:INSTALLED_APPS = (
    ...
    'bee_django_message.apps.BeeDjangoMessageConfig',
)Include the crm URLconf in your project urls.py like this:from django.conf.urls import include, url
...
url(r'^message/', include('bee_django_message.urls', namespace='bee_django_message')),3.settings.py like this:MESSAGE_USER_TABLE = None
MESSAGE_USER_NAME_FIELD = 'first_name'Runpython manage.py makemigrations,`python manage.py migrate` to create the crm models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a message (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/message/to participate in the message.
Package: bee-django-report
Add “message” to your INSTALLED_APPS setting like this:INSTALLED_APPS = (
    ...
    'bee_django_message.apps.BeeDjangoMessageConfig',
)Include the crm URLconf in your project urls.py like this:from django.conf.urls import include, url
...
url(r'^message/', include('bee_django_message.urls', namespace='bee_django_message')),3.settings.py like this:MESSAGE_USER_TABLE = None  # 用户表
MESSAGE_USER_NAME_FIELD = 'first_name'  # 用户表的姓名字段名Runpython manage.py makemigrations,`python manage.py migrate` to create the crm models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a message (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/message/to participate in the message.
Package: bee-django-richtext
Add “message” to your INSTALLED_APPS setting like this:INSTALLED_APPS = (
    ...
    'bee_django_richtext.apps.BeeDjangoRichtextConfig',
)Include the crm URLconf in your project urls.py like this:from django.conf.urls import include, url
...
url(r'^bee_django_richtext/', include('bee_django_richtext.urls')),Runpython manage.py makemigrations,`python manage.py migrate` to create the richtext models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a message (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/wiki/to participate in the message.6. Use
from bee_django_richtext.custom_fields import RichTextField
info = RichTextField(app_name=None, model_name=None, emotion=False, img=False, undo_redo=False, text_min_length=5,image_max_size=2)
Package: bee-django-track
Add “message” to your INSTALLED_APPS setting like this:INSTALLED_APPS = (
    ...
    'bee_django_message.apps.BeeDjangoMessageConfig',
)Include the crm URLconf in your project urls.py like this:from django.conf.urls import include, url
...
url(r'^message/', include('bee_django_message.urls', namespace='bee_django_message')),3.settings.py like this:MESSAGE_USER_TABLE = None  # 用户表
MESSAGE_USER_NAME_FIELD = 'first_name'  # 用户表的姓名字段名Runpython manage.py makemigrations,`python manage.py migrate` to create the crm models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a message (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/message/to participate in the message.
Package: bee-django-user
Add “bee_django_user” to your INSTALLED_APPS setting like this:INSTALLED_APPS = (
    ...
    'bee_django_user.apps.BeeDjangoUserConfig',
)Include the crm URLconf in your project urls.py like this:from django.conf.urls import include, url
...
url(r'^user/', include('bee_django_user.urls')),3.settings.py like this:USER_TABLE = None
USER_NAME_FIELD = 'first_name'Runpython manage.py makemigrations,`python manage.py migrate` to create the crm models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a message (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/user/to participate in the user.
Package: bee-django-wiki
Add “message” to your INSTALLED_APPS setting like this:INSTALLED_APPS = (
    ...
    'bee_django_wiki.apps.BeeDjangoMessageConfig',
)Include the crm URLconf in your project urls.py like this:from django.conf.urls import include, url
...
url(r'^wiki/', include('bee_django_wiki.urls')),3.settings.py like this:WIKI_TOPIC_UPLOAD_MAXSIZE = 2 #optionRunpython manage.py makemigrations,`python manage.py migrate` to create the crm models.Start the development server and visithttp://127.0.0.1:8000/admin/to create a message (you’ll need the Admin app enabled).Visithttp://127.0.0.1:8000/wiki/to participate in the message.
Package: beedumper
beedumper: backup your SupportBee dataA tool to backup all your data fromSupportBeeticketing toolInstallThe package is published at PyPi asbeedumperso you can runpip install beedumperon your Python 3.6 environment to install the main command line interface. Alternatively you can also importbeedumper.export.Exporterclass and work directly with the different methods outside the implementedclilogic.Note: This tool requires python 3.6 or later to run.beedumperCLI command$ beedumper -h
Usage: beedumper [OPTIONS] COMMAND [ARGS]...

  This command line tool helps you export your SupportBee account data.

Options:
  -l, --loglevel [error|warn|info|debug]
  -c, --config PATH               Defaults to current folder "config.yaml"
  -v, --version                   Show the version and exit.
  -h, --help                      Show this message and exit.

Commands:
  all                 Export all account info, both metadata and tickets
  all-metadata        Export all metadata
  all-tickets         Export all ticket info: tickets, replies, comments
                      and...
  emails              Exports the forwarding addresses
  export-attachments  Exports all attachments from the tickets stored
  export-comments     Exports all comments from the tickets stored
  export-replies      Exports all replies from the tickets stored
  export-tickets      Exports all tickets in a folder structure
  labels              Exports the labels
  snippets            Exports the snippets
  teams               Exports the teams
  users               Exports the usersCheck theexample configurationto set up yourconfig.yamlfile with SupportBee credentials and other settings.Some subcommands may have further options, use-hto find out more about them.Tickets storageThe tickets are stored under a folderticketsbelow your defined output directory. For each ticket a folder is created with itsidunder an intermediate folder that is the modulus of the id by99. That is, under tickets you'll eventually have folders running from00to98spreading the tickets approximately evenly over them.Under each ticket folder you'll eventually end with this structure:ticket.json: main informationreplies.json: array of replies made to the requestercomments.json: comments made by agentsattachments: folder with attachment files by the original requesterattachments_replies: folder with attachments coming from the repliesRecommended usageIt's recommended to first run the simple subcommands likeusersorlabelsto test things work as expected. Then you can start withexport-tickets --since-datepassing a recent date to download only a few tickets. Then you can do the same withexport-replies,export-comments, andexport-attachmentssequentially, as replies and comments are based on existing tickets, and attachments use both tickets and replies JSON files.If there are no issues on downloading those recent assets, you can then runallto download the full dump of tickets information and in subsequent executions use the--since-dateparameter to only download tickets withlast_activity_atmetadata older than the passed timestamp to keep your dump updated with recent changes.