Saravanan666/pypi-org huggingface dataset:
Package: bclib
BasisEdgeBasisCore.Server.EdgePython base gateway for communicate withBasisCorewebserver. TheBasisEdgeframework is an ideal tool for developers who prioritize ease of access and security in their network development projects. As the name suggests, BasisEdge sits at the edge of the network, enabling users to create an API, DBsources, websocket service that connect to a server, and develop their web project usingBasisCorelibraries.When it comes to modern products, ensuring stability and security is critical. That's why BasisEdge places a strong emphasis on both of these factors. In addition, it's an open source product, meaning that users have the flexibility to access and modify the code as needed for their specific use cases.One of the benefits ofBasisEdgeis its API creation capabilities. APIs allow different systems to communicate and share information with each other, streamlining workflows and improving efficiency. Additionally, users can connect to a server and access the resources and data they need for their projects. With BasisCore libraries available, developers can take advantage of pre-built functionality and tools to speed up their development process.Another advantage ofBasisEdgeis its ability to help organizations preserve essential data. In many cases, managers prefer that important databases be stored in local data centers rather than public data centers. This is where tools likeBasisEdgecan connect the edge of these two networks and enable developers to create secure, reliable applications that meet the policies of the organization's managers.In conclusion,BasisEdgeis an excellent tool for network development projects. With its focus on security and stability, open source accessibility, and API creation and server connectivity capabilities, it can help developers create robust web projects with ease. And for managers concerned with data preservation, BasisEdge can be a legendary savior. GiveBasisEdgea try and see what it can do for you and your organization!
Package: bclm
bclmTHE go-to place for all Python Hebrew Treebank processing tasks.InstallationpipinstallbclmCitationPlease cite the NEMO^2 paper if you use bclm in your research:@article{DBLP:journals/corr/abs-2007-15620,author={Dan Bareket andReut Tsarfaty},title={Neural Modeling for Named Entities and Morphology (NEMO{\^{}}2)},journal={CoRR},volume={abs/2007.15620},year={2020},url={https://arxiv.org/abs/2007.15620},archivePrefix={arXiv},eprint={2007.15620},timestamp={Mon, 03 Aug 2020 14:32:13 +0200},biburl={https://dblp.org/rec/journals/corr/abs-2007-15620.bib},bibsource={dblp computer science bibliography, https://dblp.org}}
Package: bcmc
_
| |__   ___ _ __ ___   ___   _ __  _   _
| '_ \ / __| '_ ` _ \ / __| | '_ \| | | |
| |_) | (__| | | | | | (__ _| |_) | |_| |
|_.__/ \___|_| |_| |_|\___(_) .__/ \__, |
                            |_|    |___/bcmcis a CLI-centric IP broadcast and multicast tool built with Python. it is a testing tool for generating and validating broadcast or multicast traffic.bcmccan be run as a server to generate broadcast or multicast traffic orbcmccan be run as a client to receive broadcast or multicast traffic. it is a CLI-based client/server tool inspired by iperf.bcmcis developed by Josh Schmelzle and Kevin L. Marshall and is released under a three-clause BSD license.whybcmc?Existing tools such as Multicast Hammer are platform specific and may have unsupported system dependencies on modern OSes.bcmcaims to be a free cross-platform tool that can be used from *unix or Windows. Whilebcmcaims to function cross-platform, please note some optional features may not work on certain OSes.usagebcmcis a client/server tool which functions similar to iperf.bcmccan be used to test and validate broadcast or multicast on 802.11 or 802.3 networks.steps:You will need two hostsPlace both hosts on the target test networkUse one host to runbcmcin client mode (receive)Use the other host to runbcmcin server mode (transmit)broadcast trafficIn broadcast mode, the default behavior forbcmcis to send IP layer UDP packets to 255.255.255.255.multicast trafficIn multicast mode, the default behavior forbcmcis to send IP layer UDP packets to 239.0.0.2 as the multicast group address.modes (-s|-c)bcmccan be run as client or server.traffic (-bc|-mc)bcmccan generate broadcast or multicast IP packets.broadcast (-bc)client usage:bcmc-c-bcserver usage:bcmc-s-bcmulticast (-mc)client usage:bcmc-c-mcserver usage:bcmc-s-mcdiscovery tipto understand or "try out" the behavior ofbcmc, you can also usebcmcwith two different terminals on the same host.in one terminal, runbcmcin client modein the other, runbcmcin server modeyou should see incrementing messages frombcmcrunning in server mode in the terminal runningbcmcas client mode.troubleshootingOn Windows,bcmcserver (-s) mode will default to the interface with the lowest metric. If you are having issues where client (-c) mode is not receiving messages from server (-s) mode, investigate the metric by runningroute PRINTfrom conhost (cmd.exe) or PowerShell.optional argumentsusage:bcmc[-s|-c][-bc|-mc][options]bcmc[-h|--help][-v|--version]options:-h,--helpshowthishelpmessageandexit-p2002,--port2002porttolistenon/connectto-b<host>,--bind<host>bindtotheinterfaceassociatedwithprovided<host>address(experimental)--debugincreaseoutputfordebuggingpurposes-c,--clientruninclientmode-s,--serverruninclientmode-bc,--broadcastsettraffictypetobroadcast-mc,--multicastsettraffictypetomulticast--group239.0.0.2multicastgroupaddress(239.0.0.2bydefault)-i1,--interval1intervaltosendmulticastpackets--ttl3setthehoprestrictioninnetworkformulticastserver--dscp46settheDifferentiatedServiceCodePointvalueappliedtopacketssentinservermode--padding0numberofadditionalnullbytesperpayloadwhichissentinservermode--payload'string'addanarbitrarypayloadwhichissentinservermode
Package: bcom-client
Bcom-clientA python httpx client library for bananas-commerceBuildingpipinstallbuild
python-mbuildBSD 3-Clause LicenseCopyright (c) 2021, 5 Monkeys Agency AB
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.
Package: bcompiler
Quick StartEnsure Python 3.6.2 or later is installed on your system.Ensure git is installed on your system.pip install bcompilerbcompiler-initbcompiler--helpIntroductionbcompileris a tool to manage data involved in the BICC reporting process at the UK Department for Transport.bcompilerprocesses data held in Excel files, either compiling similar data
from many Excel files into a single master spreadsheet, or populating many
Excel files using the data from a master spreadsheet.“Auxiliary” files are required to map data in each direction, and to templates.
These files are contained in a DfT reporitory on GitHub.bcompilercan be
used to obtain/update these files.DocumentationFull documentation for the project can be found athttp://bcompiler.readthedocs.io/en/latest/index.html.News11 July 2019Bug fix30 October 2017Fix bug where not all columns in master are being processed during swimlane analyser.17 October 2017Changed ERROR log message to WARNING to accommodate dates mixed with free text.16 October 2017Fix bug where cell value in string and datetime value would try to compare arithmetically.11 October 2017Fix bug where.xlsxfiles not being picked up.Improved exception handling and bug fixes.10 October 2017Handling cp1252 encoding coming through from WindowsAdded CHANGES.txtMinor bugfixes
Package: bcompiler-engine
bcompiler-engineA new, faster, more efficient, more modular back end forDatamaps, and for newer tools and improved interfaces.A library that allows for controlled extraction and insertion of data to and
from spreadsheets used for collecting data. Part of a more modular overall
design,bcompiler-enginefocuses on speed, simplicity and data validation. It
forms the primary back-end todatamaps, and will
eventually have a suitable API making it easy for anyone designing an
application to use the datamaps philosophy - more on that coming soon.HighlightsBrand new code, developed with the benefit of several years and multiple projects
of hindsight.Extract data using multiple cores to do it faster.Type checking and rule-setting, allowing for greater confidence in integrity of data.Improved, modular design, poweringa brand new interface, available soon.Designed to be packaged for more general distribution.
Package: bconfig
bconfig(Blueprint Configuration)Usageimportbconfigbp=bconfig.Blueprint({'mykey':bconfig.Field(str,int),'subconf':{'foo':bconfig.Field(str,float)}})mc=bp.parse({'mykey':'123','subconf':{'foo':'1.23'}})print(mc['mykey']+1)# 124print(mc['subconf']['foo']+0.01)# 1.24Usage with namespacesimportbconfig@bconfigclassMyConf:mykey:int=bconfig.Field(str,int)@bconfigclasssubconf:foo:float=bconfig.Field(str,float)mc=MyConf({'mykey':'123','subconf':{'foo':'1.23'}})print(mc.mykey+1)# 124print(mc.subconf.foo+0.01)# 1.24
Package: bconv
bconv: Python library for converting between BioNLP formatsbconvoffers format conversion and manipulation of documents with text and annotations.
It supports various popular formats used in natural-language processing for biomedical texts.Supported formatsThe following formats are currently supported:NameIOTADescriptionbioc_xml,bioc_json✓✓✓✓BioCbionlp✓✓BioNLP stand-offbrat✓✓brat stand-offconll✓✓✓✓CoNLLeuropepmc,europepmc.zip✓✓Europe-PMC JSONpubtator,pubtator_fbk✓✓✓✓PubTatorpubmed,pxml✓✓PubMed abstractspmc,nxml✓✓PMC full-textpubanno_json,pubanno_json.tgz✓✓✓✓PubAnnotation JSONcsv,tsv✓✓comma/tab-separated valuestext_csv,text_tsv✓✓✓comma/tab-separated valuestxt✓✓✓plain texttxt.json✓✓✓collection of plain-text documentsI: input format;O: output format;T: can represent text;A: can represent annotations (entities).Installationbconvis hosted onPyPI, so you can usepipto install it:$pipinstallbconvUsageLoad an annotated collection in BioC XML format:>>>importbconv>>>coll=bconv.load('path/to/example.xml',fmt='bioc_xml')>>>coll<Collection with 37 documents at 0x7f1966e4b3c8>A Collection is a sequence of Document objects:>>>coll[0]<Document with 12 sections at 0x7f1966e2f6d8>Documents contain Sections, which contain Sentences:>>>sent=coll[0][3][5]>>>sent.text'A Live cell imaging reveals that expression of GFP‐KSHV‐TK, but not GFP induces contraction of HeLa cells.'Find the first annotation for this sentence:>>>e=next(sent.iter_entities())>>>e.start,e.end,e.text(571, 578, 'KSHV‐TK')>>>e.metadata{'type': 'gene/protein', 'ui': 'Uniprot:F5HB62'}Write the whole collection to a new file in CoNLL format:>>>withopen('path/to/example.conll','w',encoding='utf8')asf:...bconv.dump(coll,f,fmt='conll',tagset='IOBES',include_offsets=True)Documentationbconvis documented in theGitHub wiki.
Package: bcore-gunicorn
GunicornGunicorn ‘Green Unicorn’ is a Python WSGI HTTP Server for UNIX. It’s a pre-fork
worker model ported from Ruby’sUnicornproject. The Gunicorn server is broadly
compatible with various web frameworks, simply implemented, light on server
resource usage, and fairly speedy.Feel free to join us in#gunicornonFreenode.DocumentationThe documentation is hosted athttps://docs.gunicorn.org.InstallationGunicorn requiresPython 3.x >= 3.5.Install from PyPI:$ pip install gunicornUsageBasic usage:$ gunicorn [OPTIONS] APP_MODULEWhereAPP_MODULEis of the pattern$(MODULE_NAME):$(VARIABLE_NAME). The
module name can be a full dotted path. The variable name refers to a WSGI
callable that should be found in the specified module.Example with test app:$ cd examples
$ gunicorn --workers=2 test:appContributingSeeour complete contributor’s guidefor more details.LicenseGunicorn is released under the MIT License. See theLICENSEfile for more
details.
Package: bcoscli
bcoscli*** more convenient then the official sdk ***easy to use the FISCO-BCOS blockchain for a interactive terminal!easy to use the FISCO-BCOS blockchain as sdk!config so easysupport autocompetationsupport arrow up or down for history commandcolorfulInstallingInstall and update usingpip:pip install -U bcoscliA Simple Exampleas terminal just:# default rpc port is 8545

bcoscli 127.0.0.1:8545as sdk:class MyConfig:

    HOST_RPC = 'http://192.168.0.107:9545' # your fisco-bcos node's rpc address
    ECHO = 0 # close the terminal output 

if __name__ == "__main__":
    import bcoscli
    # define your config
    bcoscli.set_config(MyConfig)
    print(bcoscli.getClientVersion())
    print(bcoscli.getBlockNumber(11))
Package: bcp
BCP< badges will go here >This is a python utility that allows users to import/export data to/from a database.OverviewThis library began as a wrapper around SQL Server's BCP utility. It makes some assumptions
about parameters to simplify the interface and allow the user to work natively in python.
Though it currently supports MSSQL, there are plans to extend support to other database dialects.RequirementsPython 3.6+This library purposely requires no python packages outside of the standard library, beyond testing and documentation
needs. The intention is to maintain this status. However, you will need to have the appropriate command line utilities
installed for the specific database dialects with which you'll interact. For example, if your database is a MS SQL
SERVER instance, you'll need BCP installed. Consult the table below for further documentation, including download files
and instructions.RDBMSUtilityDocumentation / InstallationMS SQL ServerBCPhttps://docs.microsoft.com/en-us/sql/tools/bcp-utilityInstallationThis library is still in development. So you'll have to build it from
source in the meantime. I'll soon get around to publishing it on pypi,
in which case you'll be able to install it usingpippip install bcpExamplesImport data:importbcpconn=bcp.Connection(host='HOST',driver='mssql',username='USER',password='PASSWORD')my_bcp=bcp.BCP(conn)file=bcp.DataFile(file_path='path/to/file.csv',delimiter=',')my_bcp.load(input_file=file,table='table_name')Export data:importbcpconn=bcp.Connection(host='HOST',driver='mssql',username='USER',password='PASSWORD')my_bcp=bcp.BCP(conn)file=bcp.DataFile(file_path='path/to/file.csv',delimiter=',')my_bcp.dump(query='select * from sys.tables',output_file=file)Full DocumentationFor the full documentation, please visit:https://bcp.readthedocs.io/en/latest/
Package: bcp47
BCP47Language tags are not your everyday ISO standard, but instead composed of an ISO-639 language code, and an ISO-3166 country/region code
(and occationally an ISO-15924 script tag for the written language).The file is generated from Microsoft's seminal piece, [MS-LCID].pdf.Easy installation$pipinstallbcp47Example>>>importbcp47>>>'dje'inbcp47.tagsand'es-DO'inbcp47.tagsTrue>>>[vfork,vinbcp47.languages.items()if'English'ink]['en','en-AS','en-AI','en-AG','en-AU','en-AT','en-BS','en-BB','en-BE','en-BZ','en-BM','en-BW','en-IO',...]DiscontentmentThis package only lists the most common language codes. If you want a package to parse, validate and simplify full BCP47 language tags,
have a look atlangcodesorlangtags.The BCP47 standard is 84 pages catering to specificity (such asde-CH-1996andzh-CN-a-myext-x-private) while this package currently
does not. Instead a highly pragmatic approach is used (some sayoverly simplified)
where only the most common 900 or so language codes are listed, such asfo-DKandiu-Cans-CA.Microsoft's language codes are used to ensure some level of pragmatism,KISS. Validation you
will have to do yourself, see above for a trivial example.Enjoy at the best of your ability!
Package: bcp-reader
BCP ReaderA reader for BCP-format data files. BCP files are similar to CSV files but
contain a multi-character line and field delimiters. The default delimiters
used are:field delimiter:@**@line delimiter:*@@*Python's csv module can only deal with single character delimiters, so this
module has areaderfunction andDictReaderclass which should be drop-in
replacements for python'scsvmodule equivalents.CreditsThe author of the main method isGertjan van den Burgof the Alan Turing Institute. It was based on a method originally developed
byDavid Kaneat NCVO.InstallationInstall withpip install bcp-readerUsageThe module can be used by importing from thebcpmodule in a python script:importbcpwithopen('path_to_bcp_file.bcp')asf:bcpreader=bcp.reader(f)forrowinbcpreader:print(row)# ["Value 1", "Value 2"]withopen('path_to_bcp_file.bcp')asf:bcpreader=bcp.DictReader(f,fieldnames=["field 1","field 2"])forrowinbcpreader:print(row)# {"field 1": "Value 1", "field 2": "Value 2"}You can also use it via the command line to convert a BCP file to CSV:bcppath_to_bcp_file.bcp>csv_output.csv
Package: bcpseg
Bayesian Change Point SegmentationBayesian Change Point Segmentation (BCPS).InstallIf you dont already have numpy and scipy installed, it is best to downloadAnaconda, a python distribution that has them included.https://continuum.io/downloadsDependencies can be installed by:pip install -r requirements.txtPyPI install, presuming you have all its requirements installed:pip install bcpsegUsagefrombcpsegimportbcpsegimportnumpyasnp# Create datanp.random.seed(10)x=np.random.random(300000)x[10000:20000]=x[10000:20000]+0.1x[25000:27000]=x[25000:27000]-1# Calculate segmentssegments=bcpseg(x)forsegmentinsegments:print(segment)
Package: bcpy
bcpyLatest ReleaseLicenseBuild Status (master)What is it?This package is a wrapper for Microsoft's SQL Server bcp utility. Current database drivers available in Python are not fast enough for transferring millions of records (yes, I have triedpyodbc fast_execute_many). Despite the IO hits, the fastest option by far is saving the data to a CSV file in file system (preferably /dev/shm tmpfs) and using the bcp utility to transfer the CSV file to SQL Server.How Can I Install It?Make sure your computeer has therequirements.You can download and install this package from PyPI repository by running the command below.pipinstallbcpyExamplesFollowing examples show you how to load (1) flat files and (2) DataFrame objects to SQL Server using this package.Flat FileFollowing example assumes that you have a comma separated file with no qualifier in path 'tests/data1.csv'. The code below sends the the file to SQL Server.importbcpysql_config={'server':'sql_server_hostname','database':'database_name','username':'test_user','password':'test_user_password1234'}sql_table_name='test_data1'csv_file_path='tests/data1.csv'flat_file=bcpy.FlatFile(qualifier='',path=csv_file_path)sql_table=bcpy.SqlTable(sql_config,table=sql_table_name)flat_file.to_sql(sql_table)DataFrameThe following example creates a DataFrame with 100 rows and 4 columns populated with random data and then it sends it to SQL Server.importbcpyimportnumpyasnpimportpandasaspdsql_config={'server':'sql_server_hostname','database':'database_name','username':'test_user','password':'test_user_password1234'}table_name='test_dataframe'df=pd.DataFrame(np.random.randint(-100,100,size=(100,4)),columns=list('ABCD'))bdf=bcpy.DataFrame(df)sql_table=bcpy.SqlTable(sql_config,table=table_name)bdf.to_sql(sql_table)RequirementsYou need a working version of Microsoft bcp installed in your system. Your PATH environment variable should contain the directory of the bcp utility. Following are the installation tutorials for different operating systems.Dockerfile (Ubuntu 18.04)LinuxMacWindows
Package: bcpyaz
bcpyazWhat is it?This package is a wrapper for Microsoft's SQL Server bcp utility. Current database drivers available in Python are not fast enough for transferring millions of records (yes, I have triedpyodbc fast_execute_many). Despite the IO hits, the fastest option by far is saving the data to a CSV file in file system (preferably /dev/shm tmpfs) and using the bcp utility to transfer the CSV file to SQL Server.Azure Synapse / Blob extensionsIf the following env vars are set (with examples):AZURE_STORAGE_CONNECTION_STRING="DefaultEndpointsProtocol=https;AccountName=myblogstorageacct;AccountKey=jhadsfas235876dha90/17891hfh25125/12h2udfjs347512==;EndpointSuffix=core.windows.net"
  AZURE_TEMP_STORAGE_CONTAINER="tempcontainer"Then instead of using the bcp command line utility, the CSV file will be copied to the Azure Storage Blob temporarily andCOPYwill be used to
transfer it from there into the Synapse Database.You may need toGRANT ADMINISTER DATABASE BULK OPERATIONS TO <user>on Synapse to the user that is connecting.The sqlcmd utility will still be required.How Can I Install It?Make sure your computeer has therequirements.Install locally from a git clone:pipinstall-e.or via requirements.txt:-e git+https://git@github.com/Arcturus-io/bcpyaz.git#egg=bcpyazExamplesFollowing examples show you how to load (1) flat files and (2) DataFrame objects to SQL Server using this package.Flat FileFollowing example assumes that you have a comma separated file with no qualifier in path 'tests/data1.csv'. The code below sends the the file to SQL Server.importbcpysql_config={'server':'sql_server_hostname','database':'database_name','username':'test_user','password':'test_user_password1234'}sql_table_name='test_data1'csv_file_path='tests/data1.csv'flat_file=bcpy.FlatFile(qualifier='',path=csv_file_path)sql_table=bcpy.SqlTable(sql_config,table=sql_table_name)flat_file.to_sql(sql_table)DataFrameThe following example creates a DataFrame with 100 rows and 4 columns populated with random data and then it sends it to SQL Server.importbcpyimportnumpyasnpimportpandasaspdsql_config={'server':'sql_server_hostname','database':'database_name','username':'test_user','password':'test_user_password1234'}table_name='test_dataframe'df=pd.DataFrame(np.random.randint(-100,100,size=(100,4)),columns=list('ABCD'))bdf=bcpy.DataFrame(df)sql_table=bcpy.SqlTable(sql_config,table=table_name)bdf.to_sql(sql_table)RequirementsYou need a working version of Microsoft bcp installed in your system. Your PATH environment variable should contain the directory of the bcp utility. Following are the installation tutorials for different operating systems.Dockerfile (Ubuntu 18.04)LinuxMacWindows