Saravanan666/pypi-org huggingface dataset:
Package: brille
A C++ library for symmetry operations and linear interpolation within an
irreducible part of the first Brillouin zone.
Wrapped for use in python usingpybind11.irreducible polyhedronWhen provided with the lattice parameters or basis vectors of a real space spacegroup and its Hall symbol or number as determined by, e.g.,Spglib,brillecanconstruct the first Brillouin zonedetermine its high symmetry pointsfind a irreducible polyhedron and verify that its conforms to the pointgroup symmetry of the spacegroup.Constructing and irreducible Brillouin zone polyhedron for a face centered cubic lattice can be accomplished with, e.g.,importbrilledirect_lattice=brille.Direct((4.96,4.96,4.96),(90,90,90),'Fd-3m')brillouin_zone=brille.BrillouinZone(direct_lattice.star)interpolationInterpolating eigenvalues and eigenvectors across a degenerate point could lead to misidentified equivalent modes.
Since the eigenvectors are distinguishable at all points away from the high-symmetry directions, a hybrid orthogonal/triangulated grid defined in an irreducible part of the Brillouin zone can be used to avoid mode misidentification.brillecan constructan orthogonal grid guaranteed to contain the first Brillouin zonea triangulated set of points filling an irreducible polyhedron or the first Brillouin zoneor a hybrid orthogonal/triangulated grid where only the surface cells are triangulated to improve point location time while preserving polyhedral conformity.Of these options the third is most appropriate for the interpolation of models used in the analysis of inelastic neutron scattering data is the hybrid grid.DependenciesTetGenA modified version ofTetGenis used to create
refined tetrahedral meshes in the irreducible portion of the first Brillouin
zone.The modified version is included as part of this repository.InstallationFrom the root folder of this repository use Python 3 to build and install this
library.python setup.py installAlternatively, the python module, C++ library, andcatch2based tests can be built directly usingcmake.
Package: brilliantimagery
A DNG based photo editing package. It can do things such as:Decode and render lossless JPG images.Encode lessless JPG images.Render DNG images.Edit DNG metadata.Ramp Adobe Lightroom edits for image sequences.Stabilize shaky image sequences using the Adobe Lightroom crop property.DocumentationDocs can be found atbrilliantimagery.org/docsInstallationFrom PyPI$ pip install brilliantimageryFrom SourceThePoetrypackage and dependency manager is used by BrilliantImagery so install it if you haven’t already done so. Some of the project files must be compiled. This accomplished within the below instructions.Clone thegit repo.From within the top/brilliantimageryfolder, the one that contains thepyproject.tomlfile, install BrilliantImagery:$ poetry installDevelopmentTestingRunning the included tests can be used as a way to ensure that the package has been properly installed.Running TestsTo run all of the tests:$ poetry run pytestCoverage ReportsTerminal coverage reports can be generated:$ poetry run pytest --cov=brilliantimageryHTML coverage reports can be generated when tests are run:$ poetry run pytest --cov=brilliantimagery --cov-report=htmlDocsAfter making changes to the docs, to update them, assuming./brilliantiamgeryis the current working directory, activate a poetry shell:$ poetry shellChange the working directory to the/docsfolder:$ cd docsAnd then run clean and make the html docs:$ make clean && make htmlChangelog0.2.2: Fixed version bug.0.2.1: Fixed build bug and a test.0.2.0: Enabled saving and loading projects as well as reusing offsets and brightnesses between runs.0.1.1: Fixed bug affecting sequences where multiple images have the same stored capture time.
Package: brilliant-monocle-driver
Brilliant Monocle Driverbrilliant-monocle-driveris a simple Python library that usesBleakto connect to and control aBrilliant Labs Monocledisplay device.Installpip install brilliant-monocle-driverUsage examplesDisplay battery and then blank screenimportasynciofrombrilliant_monocle_driverimportMonocledefcallback(channel,text_in):"""Callback to handle incoming text from the Monocle."""print(text_in)# Simple MicroPython command that prints battery level for five seconds# and then blanks the screenCOMMAND="""import displayimport deviceimport timefrom brilliant_monocle_driver import Monocledef show_battery(count):batLvl = str(device.battery_level())display.fill(0x000066)display.text("bat:{}{}".format(batLvl, count), 5, 5, 0xffffff)display.show()count = 0while (count < 5):show_battery(count)time.sleep(1)count += 1display.fill(0x000000)display.show()print("Done")"""asyncdefexecute():mono=Monocle(callback)asyncwithmono:awaitmono.send(COMMAND)asyncio.run(execute())Receive touch eventsimportasynciofrombrilliant_monocle_driverimportMonocledefa_touch():print("A touch!")defb_touch():print("B touch!")asyncdefexecute():mono=Monocle()asyncwithmono:awaitmono.install_touch_events()mono.set_a_touch_callback(a_touch)mono.set_b_touch_callback(b_touch)awaitasyncio.sleep(30000)asyncio.run(execute())Detailsbrilliant-monocle-driverattaches to a Monocle via the UART characteristics exposed over
BLE in Monocle's default firmware, as specified in theMonocle documentation. Once
connection is established, commands can be sent directly to the Monocle as
MicroPython. The driver avoids MTU overflow and does some convenience /
correction massaging (sendingCtrl-Cto stop any running command and wrapping
the incoming command inCtrl-A | Ctrl-Dto avoid interference from the REPL's
echo and auto-formatting convenience behaviors).
Package: brillixy
OverviewBrillixy is out of box improvements for Django admin to provide modern design and straightforward customization capabilities. Official home page:http://05bit.com/brillixy/.RequirementsDjango 1.5+ is supported.FeaturesAfter installation you’ll get fully featured Django admin with refined design powered by responsive Twitter Bootstrap layout. And yet, Brillixy may work fine with simple projects, it’s in active development at the moment to be more robust and fit more complex ones.All basic admin features are implemented at the moment. Also you will get some extras:global header logo & text customizationcustom dashboard panels APIInstallationStandard Django admin should be enabled and configured as usually.Install usingpip:pip install brillixyAddbrillixytoINSTALLED_APPSbeforedjango.contrib.admin:INSTALLED_APPS=(# ...'brillixy',# Uncomment the next line to enable the admin:'django.contrib.admin',# ...)Add initialization code tourls.pyright after Django admin autodiscover code:# Uncomment the next two lines to enable the admin:fromdjango.contribimportadminadmin.autodiscover()# Setup Brillixy views & templatesimportbrillixy.sitebrillixy.site.setup(admin.site)CustomizationHere’s basic example of customization code in settings file fromexampleproject provided with the source code of Brillixy:# Brillixy settingsBRILLIXY_INDEX={'panels':['example.core.admin.MyModelsPanel','brillixy.panels.AllModelsPanel',]}BRILLIXY_BRANDING={'logo':'%slogo.png'%STATIC_URL,'title':u"Brillixy Demo",}Read more about extra customizations in docs:https://github.com/05bit/brillixy/tree/master/docs.TroubleshootingIf you see old or broken admin interface that may be custom admin templates that overrides Brillixy’s templates.Please make sure:you don’t have ‘admin/*’ templates in paths defined inTEMPLATE_DIRSyou don’t have apps beforebrillixyinINSTALLED_APPSthat overrides ‘admin/*’ templatesyou don’t have ModelAdmin or inlines that use custom templates based on default admin templatesLicense, commercial usageBrillixy by is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported Licensehttp://creativecommons.org/licenses/by-nc/3.0/For commercial usage we’re selling commercial license at our official sitehttp://05bit.com/brillixy/. You’re welcome!FeedbackYou’re welcome to post issues at GitHubhttps://github.com/05bit/brillixy/issuesor you may drop a line to Alexey Kinyov <rudy@05bit.com>
Package: brillouin-zone
##############Brillouin Zone##############.. contents::.. section-numbering::.. raw:: pdfPageBreak oneColumn=====About=====This package provides an object bz, that defines a lattice in momentum (k) spaceby means of the minimal wedge of the Brillouin Zone. The minimal wedge includes all**k = (kx, ky)** *: kx in [0,pi], ky <= kx*.  It is initialized by.. code-block:: python>>> import brillouin_zone>>> brillouin_zone.bz( (int)kpts )where kpts is the number of k points in one direction (e.g. kx).* Python 3 support* Linus, Mac OS X and Windows support* Documentation* Ongoing development============Installation============-----------Requirement-----------#. **Phython3****Mac OS X**: Assuming you are using `Homebrew <http://brew.sh>`_ as package manager.. code-block:: bash# Install Python3$ brew install python3# Get access to the scientific Python formulas$ brew tap Homebrew/python# Install Numpy and Matplotlib$ brew install numpy --with-python3$ brew install matplotlib --with-python3**Linux**:.. code-block:: bash# Download and unpack source$ wget --no-check-certificate http://python.org/ftp/python/3.5.2/Python-3.5.2.tgz$ tar zxvf Python-3.5.2.tgz# Installation$ ./configure$ make$ make test$ sudo make install# Or else refere to the Python-3.5.2/README#. **Boost-Python****Mac OS X**:.. code-block:: bash# Insatll Boost$ brew install boost# Install Boost-Python for Python3$ brew install boost-python --with-python3 --without-python#. **Pip3**: This is probably already installed, but if not please checkthe `official site <https://pip.pypa.io/en/latest/installing/>`_... code-block:: bash# Check if installed$ pip3**Linux**:.. code-block:: bash$ wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py$ python3 get-pip.py#. Set **g++** as compiler.. code-block:: bash# Install g++$ brew install gcc# **ATTENTION**: This may be the only step everyone needs to do!$ export CC=g++I am sorry for the inconvenience here. setup.py checks the enviromentvariable CC for the compiler and the default clang won't do.Caveat: Numpy for python3**Mac OS X**:.. code-block:: bash# Install Numpy and Matplotlib$ brew install numpy --with-python3$ brew install matplotlib --with-python3**Linux**:.. code-block:: bash# Install Numpy$ pip3 install numpy---------------Get the package---------------A universal installation method (that works on **Windows**, **Mac OS X**, **Linux**, ...) isto use **pip3**:.. code-block:: bash# Update setuptools used by python$ pip3 install -U setuptools# Download and install the package$ pip3 install brillouin-zone-------------------Development version-------------------This README and version currently undergoes heavy changes.---------Extension---------padefit - A package providing the objects selfenergy and greensfunctions as wellas all functions needed to perfom an analytic continuation from theMatsubara axis to the real axis by means of a Pade Approximation.=====Usage=====-------Example-------====Meta====-------Authors---------------------Acknowledgment--------------
Package: brilws
### BRIL Work Suite
python package for working with BRIL data#### Install#### into brilconda virtual environment
pip install brilws
pip uninstall brilws#### into local user area
export PYTHONPATH=$HOME/.local:$PYTHONPATH
pip install –install-option=”–prefix=$HOME/.local” brilws
pip uninstall brilws### Examples### Build & Distribute
python setup.py sdist
python setup.py register -r pypi
python setup.py sdist upload -r pypi
Package: brim-cloud-client
brim-cloud-clientBRIM Cloud Client is a minimal implementation of the REST interface used
to communicate with BRIM servers.Quick startInstallationpipinstallbrim-cloud-clientUsage - Solve a CNF filefrombrim_cloud_client.BRIMimportTMB# Set parameterstmb_client=TMB(cm=0.9,cb=0.6,p='tmb',Rc=31000,C=49e-15,anneal=0.00011,seed=0)# Submit cnf file to the server and wait for the resultsstate,status,results=tmb_client.solve('cust-u500-01.cnf')print(state,status,results)
Package: brine-starknet-py
Starknet SDK for Python📘 DocumentationInstallationQuickstartGuideAPIMigration guide⚙️ InstallationInstallation varies between operating systems.See our documentation on complete instructions▶️ Example usageAsynchronous APIThis is the recommended way of using the SDK.fromstarknet_py.contractimportContractfromstarknet_py.net.gateway_clientimportGatewayClientcontract=awaitContract.from_address(address="0x06689f1bf69af5b8e94e5ab9778c885b37c593d1156234eb423967621f596e73",client=GatewayClient("testnet"),)(value,)=awaitcontract.functions["get_balance"].call()Synchronous APIYou can access synchronous world with_syncpostfix.fromstarknet_py.contractimportContractfromstarknet_py.net.gateway_clientimportGatewayClientcontract=Contract.from_address_sync(address="0x06689f1bf69af5b8e94e5ab9778c885b37c593d1156234eb423967621f596e73",client=GatewayClient("testnet"),)(value,)=contract.functions["get_balance"].call_sync()For more examples clickhere.
Package: bringer
bringerBringer is a command line tool that tries to make faster your development process. You can write the keywords and you can get the script, command or information that you need using your terminal screen.Practical UsageEasy contribution for datasetFaster development process.How to use?To install:pip install bringerhttps://pypi.org/project/bringer/You can add labels that you want to give after the command of bringer like:bringer base64 encryption
bringer k8s ssvc yaml templateExample:$ bringer k8s external svc yaml template
apiVersion: v1
kind: Service
metadata:
  name: $project_name
spec:
  externalName: $project_name.$namespace.svc.cluster.local
  ports:
    - port: $port
  type: ExternalNameHow it works?There is a simple python script running in background of the 'bringer'. It takes all the parameters as a label and it compares those labels to other labels in the dataset. It gets the content of the best match from dataset.Contribution for datasetGithub Repository of Dataset:https://github.com/bilgehannal/bringer-dataAdd your data into thecontent directoryAdd a description for your data into the file namedcontent.yamlOpen a pull request.That's all.
Package: bring-order
bring-orderThe BringOrder tool is aimed at guiding data scientists with their analysis using custom widgets inside Jupyter Notebook.The first step is to import and prepare data for analysis, and to identify data limitations. If the data set is loaded from a CSV file, BringOrder checks automatically if the variables are normally distributed and offers an option to check if selected variables are independent.After the data preparation phase, there are two analysis paths that the user can choose from: hypothesis testing or explorative analysis. Testing a hypothesis includes summarizing theory for context, formulating the hypotheses, running some analysis code, and drawing a conclusion.The explorative analysis starts with stating preconceptions and ends with evaluating the analysis with respect to those preconceptions. In between, the user should run some analysis code and write some notes about their observations. To help the user with writing code, BringOrder provides the possibility to use OpenAI's ChatGPT inside Jupyter Notebook through an API connection.As a result, BringOrder produces a structured notebook where all the steps are documented in Markdown. The user also has the option to save a PowerPoint presentation template of the analysis and to export the notebook to a PDF file.DocumentationProduct backlogDefinition of DoneMinutes of meetingsInstallationInstallation from PyPiLinuxIf you don't have Jupyter Notebook installed, install it withpipinstallnotebookIf you don't have ipywidgets installed, install it withpipinstallipywidgetsIf you have an old version of ipywidgets installed, upgrade it withpipinstall--upgradeipywidgetsInstall bring-order extension:pipinstallbring-orderWindowsIf you don't have PIP installed, it is recommended to use Anaconda environmentInstall Anaconda withAnaconda downloadUse Anaconda Powershell prompt instead of regular Powershell or Command promptInstall bring-order extension:pipinstallbring-orderMacOSIf you don't have ipywidgets installed, install it withpython3-mpipinstall"ipywidgets"If you have an old version of ipywidgets installed, upgrade it withpython3-mpipinstall--upgradeipywidgetsInstall bring-order extension:python3-mpipinstall"bring-order"UsageOpen Jupyter Notebook withjupyternotebookIn Jupyter Notebook executefrom bring_order import BringOrder
    BringOrder()A more detailed user manual can be found in theUser GuideDevelopment and TestingLinks to development documentationArchitectureTesting reportSuggestions for improvementsDependenciesClone the project and install dependencies in the main folderpoetryinstallNavigate to main folder and go to the virtual environmentpoetryshellTestingRun unit testspytesttestsor use Invokeinvoketestsor generate Covegare reportinvokecoverageRun style checkpylintbringorderor use InvokeinvokelintRun robot tests./run_robot_tests.shor use InvokeinvokerobottestsRun pylint, unit tests, and robot tests at onceinvokealltests
Package: bring-python-api
Bring Python APIThis is an unofficial python API for Bring! the shopping list service, based on their webapi. Some endpoints might be missing, this is solely based on traffic capture while using the web app.API docYou'll find the API documentation on this page:https://psychokiller1888.github.io/bring-api/Please note that sme endpoints might be missingInsomnia repositoryImport the repository in your Insomnia app:https://github.com/Psychokiller1888/bring-api/tree/masterUsageImport the package in your projectCreate a Bring instance by passing your login and password to use the API:fromBringPythonApi.BringimportBringtry:bring=Bring(email='foo@bar.com',password='foobar')exceptExceptionase:print(f'Error logging in:{e}')else:# Add an item to your default listbring.purchase(item='Milk',detail='3 liters')# Remove 1 cat food from your default listbring.remove(item='Cat food',detail=1)# Empty your list called "My work list". If no name provided, defaults to you default listbring.emptyPurchaseList(listUuid=bring.user.getList(name='My work list'))# Change the default list languagebring.changeUserListLanguage(languageCode='en-US')# Change the account passwordbring.changeUserPassword(newPassword='myNewPassword')# Get stats for Cat foodbring.getItemStatistic(itemName='Cat food')# Get profile picturebring.getUserProfilePicture()# Add item to recent listbring.addToRecentItems(item='Milk',detail='2 liters')# Get my work shopping listbring.getShoppingList(listUuid=bring.user.getList(name='Work list'))# Move cucumber to another categorybring.changeItemCategory(newCategory='Eigene Artikel')# Create a new "Bauhaus" listbring.createNewList(listName='Bauhaus')# Add power drill to Bauhaus shopping listbring.purchase(item='Power drill',detail='With bits',listUuid=bring.user.getList(name='Bauhaus'))# Create a new "Aldi" listbring.createNewList(listName='Aldi')# Add rice to Aldi's listbring.purchase(item='Rice (1kg)',detail=2,listUuid=bring.user.getList(name='Aldi'))
Package: brink
# Brink Framework[![Build Status](https://travis-ci.org/lohmander/brink.svg?branch=feature%2Fmodel-rewrite)](https://travis-ci.org/lohmander/brink)## Installation$ pip install brink## Getting startedGetting started is very easy assuming you have Docker installed.Start RethinkDB like so$ docker run -p 8080:8080 -p 28015:28015 -d –name rethink rethinkdbAnd then get started with your project like so$ brink start-project myproject
$ cd myproject
$ brink sync-db
$ brink run## ContributingGet the sources$ git clonegit@github.com:lohmander/brink.gitcreate a virtualenv$ virtualenv venv
$ source venv/bin/activateinstall Brink$ cd brink
$ pip3 install -e .start a new project and start working$ brink start-project testprojThat’s it.Now whenever you change the framework source code, it’ll update in your project.## DocumentationFull documentation is (will be) available at <https://brinkframework.github.io/brink/>.
Package: brioa-port
brioa_portTools for interpreting data relating to the seaport inItapoá, Brazil(UN/LOCODE: BR IOA).The toolsWebcam downloader:The port administration provides a publicimage feedfrom a webcam watching over the berthing areas. This tool makes it easy to download these pictures on a fixed interval, preserving the creation date in the filenames.Schedule downloader:A spreadsheet describing recent and scheduled ship arrivals, moorings, and sailings is made available in theProgramação de Naviospage. This tool processes and inserts this information into a SQLite database, describing the changes in schedule over time for each ship.Timelapse creator:Using the aforementioned webcam and schedule data, this tool creates timelapse videos with augmented information, describing the ships that appear on screen.
Package: brioche-enrichment
Bayesian tests for set enrichment.InstallationInstall from PyPIpipinstallbrioche-enrichmentor install from the Github repositorygitclonegit@github.com:dpohanlon/brioche.git
pipinstall-rrequirements.txt.UsagePrepare some data in a contingency table format, with row and column set annotationsrow_names=["a","b","c",...]col_names=["l","m","n",...]data=np.array([[30,27,10,...],[28,25,11,...],[31,29,15,...],...])Import Brioche and create the multi-set enrichment objectfrombrioche.multisetEnrichmentimportMultisetEnrichmentenrichment=MultisetEnrichment(data,col_names,row_names,likelihood_type="sum")Optionally, specify whether there are total-sum constraints on the rows or columnsenrichment=MultisetEnrichment(data,row_names,col_names,row_constraint=True,col_constraint=False,likelihood_type="sum")likelihood_typedetermines the form of the likelihood model for each cell, and also therefore what the 'null' model is. Both assume that each cell is a combination of a row and a column term, and a term that describes the deviation of the cell from the row and column terms:$$n_{ij} = r_i + c_j + d_{ij}$$Whenlikelihood_type = 'sum', these are combined with a sum (the default), and whenlikelihood_type = 'prod'these are multiplied.Run the Markov-chain Monte Carlo inference on the enrichment model, retrieve samples from the posterior, and return a Pandas DataFrame of enrichment z scoressamples=enrichment.runMCMC(num_samples=10000)results=enrichment.getSummary(samples)Plot model parameters and enrichment posterior probability distributionsfrombrioche.plotimportplotDeviationsplotDeviations(samples,threshold=2,x_labels=col_names,y_labels=row_names,name="test-")