Saravanan666/pypi-org huggingface dataset:
Package: bfg9000
bfg9000 - build file generatorbfg9000is a cross-platformbuild configuration systemwith an emphasis on
making it easy to define how to build your software. It converts a Python-based
build script into the appropriate files for your underlying build system of
choice (Ninja, Make, or MSBuild).Why bfg9000?Familiar syntaxbuild.bfgfiles are just Python scripts with some new functions added, so you
may already know how to write them; and when your build gets complicated, you
can rely on the existing Python ecosystem to get you out of trouble.Fast buildsbfg9000 ensures your builds are fast by relying on existing, mature build
systems like Make and Ninja to do the heavy lifting of building your software;
often, incremental builds don't need to execute bfg9000 at all!Stay saneBuilding your code shouldn't be the hard part of developing your project. Above
all else, bfg9000 strives to help you get your build right thefirsttime with
many helpfulfeatures.A brief exampleYou can't get much simpler than the simplestbuild.bfgfile:executable('simple',files=['simple.cpp'])To build this executable, we need to create the actual build files and then
run them:$cd/path/to/src/
$9kbuild/
$cdbuild/
$ninjaFrom there, you can run your newly-created executable:./simple. Hooray!For further examples, please see theexamples/subdirectory.Installationbfg9000 usessetuptools, so installation is much the same as any
other Python package:$pipinstallbfg9000From there, you can start using bfg to build your software! (If you're using
Ubuntu, you can also install bfg9000 from the following PPA:ppa:jimporter/stable). For more information about how to install bfg9000,
see thedocumentation.LicenseThis project is licensed under theBSD 3-clause license.
Package: bfgbidding
bfgbiddingA collection of modules that supports bidding in Bid for Game applications.InstallationpipinstallbfgbiddingVersion HistoryVersion 0.0.21 6 Jan 2024Continue with comments 2Version 0.0.20 31 Oct 2023Continue with commentsVersion 0.0.19 14 Oct 2023Revised and check file structureVersion 0.0.18 13 Oct 2023Major revisions following comment editVersion 0.0.17 19 Sep 2023Added comment_data to setup.pyVersion 0.0.16 18 Sep 2023Setup pointed to configrationVersion 0.0.15 18 Sep 2023Version 0.0.14 would not uploadVersion 0.0.14 18 Sep 2023various changes and tidy upVersion 0.0.13 30 Jun 2023Created test_data and upload data filesVersion 0.0.12 20 Jun 2023LintingVersion 0.0.11 18 Jun 2023Various changes due to comment editingVersion 0.0.10 05 May 2023Major comment editingVersion 0.0.9 08 Mar 2023Add comments, strategies toinit.pyVersion 0.0.7 06 Mar 2023Move comment_dataVersion 0.0.6 06 Mar 2023Add data files to setup.pyVersion 0.0.5 06 Mar 2023Include locale and comment & strategy dataVersion 0.0.4 03 Mar 2023Fix comment_xrefsVersion 0.0.3 03 Mar 2023Change operation of xrefsVarious small modsVersion 0.0.2 01 Mar 2023super on all modulesBidding changes on  comment editVersion 0.0.1 08 Feb 2023self.trace  set to 0 in acol_advancers_bidVersion 0.0.0 1 Feb 2023Initial load
Package: bfgdealer
bfgdealerA collection of modules that supports dealing in Bid for Game applications.InstallationpipinstallbfgdealerVersion HistoryVersion 0.0.14 20 Nov 2023Set constants in dealer, add Board to handsVersion 0.0.13 13 Oct 2023Add Auction to random boardVersion 0.0.12 18 Sep 2023Add initialise_tricks to boardVersion 0.0.11 21 Jul 2023Update unplayed cardsVersion 0.0.10 30 Jun 2023Copy init from env to packVersion 0.0.9 30 Jun 2023Change source to srcVersion 0.0.8 30 Jun 2023Linting and start testsVersion 0.0.7 20 Jun 2023Various refactor and Lucas 2sVersion 0.0.6 18 Jun 2023Multi-2DVersion 0.0.5 11 May 2023Changeinitto reflect set hand defn__Version 0.0.4 05 May 2023Change set hands defnVersion 0.0.3 14 Mar 2023Improve condition checking on negative doublesVersion 0.0.2 08 Mar 2023Add source to boardVersion 0.0.1 05 Mar 2023Super in dealer_soloVersion 0.0.0 1 Feb 2023Initial load
Package: bf-gen
bf-gen (Brainf**k generator)With this library, you can get Brainf**k source code by just calling functions.Why don't we write Brainf**k with your brain clear!FeaturesEasy to useReadableVarious functionsAlso can be used for Brainf**k-like languages such as Blub, Ook!Inspired by LLVM IRBuilderWhy use this librarySome people think that writing Brainf**k is interesting since it is unreadable and there are no reasons to use this library.Actually,I agreewith this idea.But there are others who want to learn Brainf**k but don't know how to do.I hope this library supports them to drive into crazy as speedily as possible without prejudice.ExamplesHello Worldfrombf_genimportBFBuilderbuilder=BFBuilder()# Initialize Brainf**k builderbuilder.init_with_letter('H')# Fill current cell by 'H'builder.output()# Print a value of current cellbuilder.init_with_letter('e')# Fill current cell by 'e'builder.output()# Print a value of current cellbuilder.init_with_letter('l')# Fill current ...builder.output()# Print a value ...builder.init_with_letter('l')# Fill ...builder.output()# Print .......bf_source=builder.generate()# Get Brainf**k codeOf course, it is far from smart.This is one of good examples for showing "Hello World":frombf_genimportBFBuilderbuilder=BFBuilder()# Initialize Brainf**k builderforletterin'Hello World':builder.init_with_letter(letter)# Fill current cell by letter givenbuilder.output()# Print a value of current cellbf_source=builder.generate()# Get Brainf**k codeTrianglefrombf_genimportBFBuilderbuilder=BFBuilder()# Initialize Brainf**k buildertriangle_size=5## <Memory layout>## [ ][ ][ ][ ]## 0: Descending counter# 1: Ascending counter# 2: Symbol counter# 3: Temporary value#DESCENDING=0ASCENDING=1SYMBOL=2TEMP=3builder.move(DESCENDING)# Move to cell 0builder.init_with_num(triangle_size)# Initialize cell 0 with the size of trianglewithbuilder.loop():builder.add(-1)# Decrement cell 0builder.move(TEMP)# Move to cell 3builder.init_with_zero()# Initialize cell 3builder.move(ASCENDING)# Move to cell 1builder.add(1)# Increment cell 1builder.copy(SYMBOL,TEMP)# Copy a value of ascenfing counter to symbol counterbuilder.move(SYMBOL)# Move to cell 2withbuilder.loop():builder.add(-1)# Decrement cell 2builder.move(TEMP)# Move to cell 3builder.init_with_letter('#')# Initialize cell 3 with "#"builder.output()# Print "#"builder.move(TEMP)# Move to cell 3builder.init_with_letter('\n')# Initialize cell 3 with new line characterbuilder.output()# Print new line characterbf_source=builder.generate()# Get Brainf**k codeAfter executing Brainf**k code, you will see following:#
##
###
####
#####Wow! Beatiful!InstallationI recommend you to install from PyPI.$pipinstallbf-genLicenseThis library is released underMIT License.
Package: bfgsupport
bfg_supportA collection of modules that supports dealing and bidding in Bid for Game applications.InstallationpipinstallbfgsupportVersion HistoryVersion 2.0.8 31 Jan 2023Clean acol_advancers_bid and insert traceVersion 2.0.7 31 Jan 2023Remove redundant directoriesVersion 2.0.6 31 Jan 2023Reverted to single source directoryVersion 2.0.5 19 Jan 2023Fix dealer in duo set handsVersion 2.0.4 19 Jan 2023Fixinit.pyVersion 2.0.3 19 Jan 2023Tidy unused modulesVersion 2.0.2 19 Jan 2023Fix missing imports ininit.pyVersion 2.0.1 19 Jan 2023addinit.py to bidding and dealingVersion 2.0.0 19 Jan 2023Major re-organisation of files and move dealing from bfg-restVersion 1.1.23 31 Dec 2022board - move json to objectshand - remove property from jsonVersion 1.1.22 24 Nov 2022board make dealer a property and tidy up json functionsovercaller rebid - check for double or redouble before two passesVersion 1.1.21 - 20 Oct 2022Modifications for Bfg-Netlify:In board.py get_contract: added suffices for X and XXVersion 1.1.20 - 29 Sept 2022Modifications for Bfg-Netlify:Addtest_boardto Board and clarify class namesVersion 1.1.18 - 29 Nov 2021Add setup.cfgVersion 1.1.19 - 5 Jul 2022Modifications for Bfg-NetlifyVersion 1.1.18 - 29 Nov 2021Add setup.cfgVersion 1.1.17 - 29 Nov 2021Add pytest to distributionVersion 1.1.16 - 8 Nov 2021board.py: extend auction functionality and add declarers_tricksVersion 1.1.15 - 10 Oct 2021Handle unplayed cards in board.get_attributes_from_boardVersion 1.1.14 - 2 Oct 2021Add 'wait for player' to PLAY_STATUSVersion 1.1.13 - 29 Sept 2021Changes to board for cardplayVersion 1.1.12 - 16 Aug 2021Add play_status and play_master to boardVersion 1.1.11 - 04 Aug 2021Improve Auction support in board.pyVersion 1.1.10 - 31 July 2021Dealer to pick up Auction from bfgsupport BoardVersion 1.1.9 - 17 July 2021Added board statusVersion 1.1.8 - 11 July 2021Small bugs in contractVersion 1.1.7 - 30 June 2021Create all hands in parse_pbn_dealVersion 1.1.6 - 17 June 2021Removed spurious error raise from _get_candidate_partitionsVersion 1.1.5 - 7 June 2021Board - Add stage to board jsonVersion 1.1.4 - 3 June 2021Board - Various changes to accommodate cardplay
Common - allow passed out boards in random boardVersion 1.1.3 - 21 May 2021Board - Check contract for X and XXVersion 1.1.1 - 17 May 2021Get contract was not getting declarer correctlyVersion 1.1.0 - 13 May 2021Changes to accommodate cardplay - rename BiddingBoard and BiddingHandVersion 1.0.1 - 28 March 2021Make dealer_engine.select_random_shape_from_list' a public methodVersion 1.0.0 - 23 February 2021First live packageVersion 0.0.0 - 22 February 2021Created and uploaded
Package: bfibundle
Project TitleThe purpose of this library is to help users interact with the bacterial-fungal-interactions database, found on theBFI Research Portalinteract with the data programatically. The package also has a few helper functions to link up doi's and quick search papers.DescriptionThe goal of the Chain SFA is to close the knowledge gaps when it comes to studying BFIGetting StartedInstallingpip install bfibundleBFIBundleRunning the programfrom bfibundle import (BfiSource,BFITaxonomy,BfiLiterature)AuthorsMichal Babinski
Aaron RobinsonVersion History0.1.0Initial ReleaseLicenseThis project is licensed under the MIT License - see the LICENSE.md file for details
Package: bfield
The missing bitfield type for Python 2 and 3.ExampleThe following example illustrates possible use of bfield:from bfield import BitField

class AX(int):
    AL = BitField(0, 8, "The lower octet")
    AH = BitField(8, 16, "The higher octet")


assert AX(0x1234).AH == 0x12
assert AX(0x1234).AL == 0x34CaveatNote that due to specifics of immutable ints, read-only is the best thing
available. This is sufficient for decoding binary protocols and file formats.
Package: bfilter
# A Simple Bloom Filter for Python[![Build Status](https://travis-ci.org/sysatom/python-bloom-filter.svg?branch=master)](https://travis-ci.org/sysatom/python-bloom-filter)### Install```bashpip install PyBloomFilter```### Usage```pythonfrom bfilter.bloomfilter import BloomFilterbf = BloomFilter(100000, 7)for i in range(5000):bf.add('%s' % i)print(bf.lookup('333'))print(bf.lookup('100000'))print(bf.lookup('500001'))print(bf.lookup('510001'))```### RequirementsThis project requires Python 3.6 or newer.### LicenseYou can find the license for this code in [the LICENSE file](LICENSE).
Package: bfio
BioFormatsInput/Output utility (bfio 2.3.6)This tool is a simplified but powerful interface toBio-Formatsusing jpype for direct access to the library. This tool is designed with
scalable image analysis in mind, with a simple interface to treat any image
like a memory mapped array.Docker containers with all necessary components are available (seeDocker Containerssection).SummaryInstallationDockerDocumentationContributingVersioningAuthorsLicenseAcknowledgmentsInstallationSetting up JavaNote:bfiocan be used without Java, but only thepythonandzarrbackends will be usable. This means only files in tiled OME Tiff or OME Zarr format can be
read/written.In order to use thebioformatsbackend, it is necessary to first install the JDK and Maven.
Thebfiopackage is generally tested withJDK 8,
but JDK 11 and later also appear to work.
Here are some info on installing Maven on various OS (Windows|Linux|Mac)Installing bfioThebfiopackage and the core dependencies (numpy, tifffile, imagecodecs, scyjava) can
be installed using pip:pip install bfioDockerpolusai/bfio:2.3.6Ubuntu based container with bfio and all dependencies (including Java).polusai/bfio:2.3.6-imagejSame as above, except comes with ImageJ and PyImageJ.polusai/bfio:2.3.6-tensorflowTensorflow container with bfio installed.DocumentationDocumentation and examples are available onRead the Docs.VersioningWe useSemVerfor versioning. For the versions
available, see thetags on this
repository.AuthorsNick Schaub (nick.schaub@nih.gov,nick.schaub@axleinfo.com)
Sameeul B Samee (sameeul.samee@axleinfo.com)LicenseThis project is licensed under theMIT LicenseCreative Commons License - see theLICENSEfile for details.AcknowledgmentsParts of this code were written/modified from existing code found intifffile.
Package: bfjira
bfjira - Branch Management with JIRA Integrationbfjira (branch from Jira) is a command-line utility that simplifies the process of creating Git branches based on JIRA ticket information. It ensures that branch names are consistent and informative by incorporating the issue type and summary from the JIRA ticket.InstallationThe recommended way to install bfjira is viapipfrom PyPI:pipinstallbfjiraMake sure you havepipinstalled and are using a virtual environment if necessary.UsageTo use bfjira, you must have the following environment variables set:JIRA_SERVER: Your JIRA server URL.JIRA_EMAIL: The email address associated with your JIRA account.JIRA_API_TOKEN: Your JIRA API token.Instructions for creating a Jira API token can be foundhereOptionally, you can set theJIRA_TICKET_PREFIXenvironment variable to use a default prefix other than "SRE" for ticket IDs that are entered without a prefix.Basic CommandsShow help message:bfjira--helpCreate a branch for a JIRA ticket:bfjira--ticketSRE-1234If you only have the ticket number, bfjira will use the default prefix ("SRE" or whatever is set inJIRA_TICKET_PREFIX):bfjira-t1234Advanced OptionsSet a custom issue type for the branch:bfjira-t1234--issue-typehotfixCreate a branch without setting the upstream:bfjira-t1234--no-upstreamIncrease output verbosity (useful for debugging):bfjira-t1234-vOptionally prevent transitioning the ticket to 'In Progress':By default, the script transitions the specified JIRA ticket to 'In Progress'. If you wish to create a branch for the ticket without changing its status, use the--no-progressflag. This is useful when you need to perform operations on the ticket without indicating that work has started.bfjira-t1234--no-progressContributingContributions to bfjira are welcome! Please read the contributing guidelines before submitting pull requests.Licensebfjira is released under the GNU General Public License. See theLICENSEfile for more details.
Package: bflag
bflagDeveloper GuideSetup# create conda environment$mambaenvcreate-fenv.yml# update conda environment$mambaenvupdate-nbflag--fileenv.yml# $ mamba env update -n bflag --file env.mac.ymlInstallpipinstall-e.# install from pypipipinstallbflagnbdev# activate conda environment$condaactivatebflag# make sure the bflag package is installed in development mode$pipinstall-e.# make changes under nbs/ directory# ...# compile to have changes apply to the bflag package$nbdev_prepareNote: it might be useful to use the following snippet to enable hot
reloading:%load_extautoreload%autoreload2Publishing# publish to pypi$nbdev_pypi# publish to conda$nbdev_conda--build_args'-c conda-forge'UsageInstallationInstall latest from the GitHubrepository:$pipinstallgit+https://github.com/dsm-72/bflag.gitor fromconda$condainstall-cdsm-72bflagor frompypi$pipinstallbflagExamples(fpos,fneg,fint,fnum,fstr,fzero,fnone)(fpos(ispos(v)),
 fneg(isneg(v)),
 fint(isint(v)),
 fnum(isnum(v)),
 fstr(isstr(v)),
 fzero(iszero(v)),
 fnone(isnone(v)))fpos(2),fpos(-2)(True, False)values=[-3,-2,-1,0,1,2,3]# Using the map method to evaluate all values against a flagprint(fpos.map(values))# [False, False, False, False, True, True, True]print(fneg.map(values))# [True, True, True, False, False, False, False]# Check if any value satisfies the flagprint(fpos.any(values))# Trueprint(fneg.any(values))# True# Check if all values satisfy the flagprint(fpos.all(values))# Falseprint(fneg.all(values))# False[False, False, False, False, True, True, True]
[True, True, True, False, False, False, False]
True
True
False
False
Package: bflb-iot-tool
Bouffalolab Iot Command Tool====================================The functions of bflb_iot_tool is the same as DevCube(IOT View) which is a GUI tool for image programing.
bflb_iot_tool is designed for the convenience of integrating into the compilation system after image buid,
and making it more easy for users who are accustomed to using command line operations.basic download config:--chipname：mandatory, name of chip(bl602/bl702/bl616...)--interface：1.uart, 2.jlink, 3.cklink, 4.openocd, default is uart--port：serial port or jlink serial number--baudrate：baudrate of serial port, default is 115200--xtal：xtal on the board, for bl602,1:24M,2:32M,3:38.4M,4:40M(default value when not specified),5:26M; for bl702,1:32M(default value when not specified); for bl616,just use value 7(auto adjust)--config：eflash loader configuration file, default is chips/blXXXX/eflash_loader/eflash_loader_cfg.ini--ota：dir of ota file, default is chips/blXXXX/otafiles for download:1.scattered files:--firmware：mandatory, select the firmware binary file which your sdk build out--dts：optional, select the device tree file you used--pt：mandatory, partition table of flash, default is located in chips/chipname/partition--boot2：mandatory,boot2 binary file as bootloader, default is located in chips/chipname/builtin_imgs/boot2_isp_xxxxx--mfg：optional, mfg binary file, only use when do RF test--romfs：optional, romfs dir to create romfs.bin2.one whole image file:--addr：address to program, default is 0--single：the single file to be programmed, the tool will add nothing for this fileother options:--build：build image only,not program into flash--key：aes encrypt key--iv：aes encrypt iv--pk：ecc sign public key--sk: ecc sign private keyEXAMPLE:bflb_iot_tool.exe --chipname=bl602 --port=COM28 --baudrate=2000000 --firmware="helloworld_bl602.bin" --pt="chips/bl602/partition/partition_cfg_2M.toml" --dts="chips/bl602/device_tree/bl_factory_params_IoTKitA_40M.dts"bflb_iot_tool.exe --chipname=bl602 --port=COM28 --baudrate=2000000 --firmware="helloworld_bl602.bin" --pt="chips/bl602/partition/partition_cfg_2M.toml" --dts="chips/bl602/device_tree/bl_factory_params_IoTKitA_40M.dts" --buildbflb_iot_tool.exe --chipname=bl602 --port=COM28 --baudrate=2000000 --addr=0x0 --firmware="helloworld_bl602.bin" --single
Package: bflb-mcu-tool
Bouffalolab Mcu Command Tool====================================The functions of bflb_mcu_tool is the same as DevCube(MCU View) which is a GUI tool for image programing.
bflb_mcu_tool is designed for the convenience of integrating into the compilation system after image buid,
and making it more easy for users who are accustomed to using command line operations.basic download config:--chipname：mandatory, name of chip(bl602/bl702/bl616...)--interface：1.uart, 2.jlink, 3.cklink, 4.openocd, default is uart--bootsrc：1.flash, 2.uart/sdio, 3.uart/usb, default is flash--port：serial port or jlink serial number--baudrate：baudrate of serial port, default is 115200--xtal：xtal on the board, for bl602,1:24M,2:32M,3:38.4M,4:40M(default value when not specified),5:26M; for bl702,1:32M(default value when not specified); for bl616,just use value 7(auto adjust)--config：eflash loader configuration file,default is chips/blXXXX/eflash_loader/eflash_loader_cfg.ini--flashclk：clock of flash--pllclk：clock of pllfiles for download:--firmware：mandatory, select the firmware binary file which your sdk build out--dts：optional,select the device tree file you used--addr：address to program, default is 0x2000--erase：erase the whole flashother options:--build：build image onlyEXAMPLE:bflb_mcu_tool.exe --chipname=bl602 --port=COM28 --baudrate=2000000 --firmware="helloworld_bl602.bin"bflb_mcu_tool.exe --chipname=bl602 --port=COM28 --baudrate=2000000 --firmware="helloworld_bl602.bin" --erasebflb_mcu_tool.exe --chipname=bl602 --port=COM28 --baudrate=2000000 --firmware="helloworld_bl602.bin" --build
Package: bf-monitor
Project Template./dev.shautomates common development tasks. Feel free to add new ones! ChangeNAMEandUSERat the top of./dev.shbefore use. GPLv3 License included (./LICENSE), keep or change for your project.External dependencies:Anaconda/Mamba (multithreaded Anaconda)DockerSingluarity (requires docker)A quick sample:./dev.sh -bcto buildconda package./dev.sh -bdto builddocker container./dev.sh -bdto run sourceother scripts include uploading to anaconda, running./srclocally, and testing containersSetting up the environment./dev.sh -idevCreates a new conda environement using thebase.ymlanddev.ymlfiles at./envsRunning locally./dev.sh -rRuns the python package at./src/*directlyCondaRequires the development environment and anaconda.org account if uploading. Add dependencies under./envs/base.yml.bump the version at./src/<PACKAGE>/version.txtbuild pip package./dev.sh -bpbuild conda package using the pip package./dev.sh -bcupload to your channel./dev.sh -ucDocker / Singularityconfigure./Dockerfilebuild container./dev.sh -bdupload to quay.io./dev.sh -udbuild singularity from docker./dev.sh -bs(not dependent on upload)
Package: bfmplot
A collection of snippets for plots to make my life easier. The name is a
nod to the greatBurkhard
Bunk.InstallClone this repositorygitclonegit@github.com:benmaier/bfmplot.gitInstall as development version (such that you don’t have to reinstall
after updating the repository)pipinstall-e./bfmplot--no-binary:all:cdbfmplot;makeAlternatively, install normallypipinstall./bfmplotcdbfmplot;makeinstallExamplesFirst Examplefrombfmplotimportplimportbfmplotasbpimportnumpyasnpdefsin_test(n=8,text_position='start'):# new figure in the golden ratiopl.figure(figsize=bp.golden_ratio(5))x=np.linspace(0,5*np.pi,100)# plot several functions with different markersforiinrange(n):pl.plot(x,1-np.sin(x[::-1]/np.sqrt(i+1)),marker=bp.markers[i],mfc='w',label='$i=%d$'%i)# remove right and top axisbp.strip_axis(pl.gca())# order legend items to align to the rightleg=pl.legend()bp.align_legend_right(leg)# draw an arrowbp.arrow(pl.gca(),r'$i$',(6,0.8),(3,1.8),text_position=text_position)pl.xlabel('this is the x-label')pl.ylabel('this is the y-label')pl.gcf().tight_layout()sin_test(n=4,text_position='start')pl.show()Colorsforcolors,nameinzip([bp.mpl_default_colors,bp.new_colors,bp.brewer_qualitative,bp.cccs_colors,bp.get_cividis_colors(8),bp.wong,],['bfmplot.mpl_default_colors','bfmplot.new_colors','bfmplot.brewer_qualitative','bfmplot.cccs_colors','bfmplot.get_cividis_colors(8)','bfmplot.wong',],):bp.set_color_cycle(colors)sin_test(n=8,text_position='start')