Saravanan666/pypi-org huggingface dataset:
Package: pybfx
A library for the Bitfinex APIFree software: BSD 3-Clause LicenseInstallationpip install pybfxDocumentationhttps://pybfx.readthedocs.io/DevelopmentTo run the all tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxChangelog0.1.0 (2018-07-16)First release on PyPI.
Package: pybga
ускоряет процесс создания pins в BGA компоненте altiumОписание действий-В Altium открываем sch компонента-В Altium DXP/Run Script выбираем Import_pins_Altium/ImportPins.PRJSCR(есть в архиве pybga-*.tar.gz)-Запускаем RunImportPins-Выбираем ./pins_out.csv-Нажимаем на Update Mapping-Нажимаем Execute и имеем pins для компонента МСКак делать  pins_out.csvpackage_bga.csv(нужно rename to package.csv) содержит пример заполнения входных данных копуса BGA(только des для нужного размера) в виде матрицы BGA корпуса(есть в архиве pybga-*.tar.gz)package_qfp.csv(нужно rename to package.csv) содержит пример заполнения входных данных копуса QFP(только des для нужного размера) в виде одномерной матрицы QFP корпуса(есть в архиве pybga-*.tar.gz)ячейки D2 и Q2(для конктретного значения designator будет своя, у нас Q) должны быть пустыми(без пробелов)package_out.csv содержит пример заполнения входных данных копуса(designator и name для нужного размера) в виде матрицы BGA корпусазапускаем функцию pins_bgaenvfrom pybga import *from pybga import _packagefunction: pins_bga(_folder,_dict0,_group0,xs,ys,gs,ggs,holdy,_pack)_folder -> установим текущую dir где лежит package.csv или package_out.csv и будут другие файлы создаваться:_dict0 -> содержит словарь, который заполнен из datasheet на pins корпуса МС_group0 -> содержит список начальных букв имен pins, из которых сформированы группы, расположенные по оси Yxs -> стартовая X pins в единицах Altiumys -> стартовая Y pins в единицах Altiumgs -> расстояние по оси X(в единицах Altium) между двумя соседними группамиholdy -> max число pins по оси Y в группе, данный параметр пораждает поддгруппы pins по оси Y, на расстоянии ggs по оси Xggs -> расстояние по оси X(в единицах Altium) между подгруппами pins согласно параметру holdyoutput, input -> два файла:-package_out.csv это package.csv с заполненными полями(создается когда _pack -> _package.PACKAGE_EMPTY )(используется как входные данные корпуса когда _pack -> _package.PACKAGE_FILL)-cvs out файл pins_out.csv для Import_pins_Altiumexample using(делаем python script):from pybga import *from pybga import _package#dictionary {"des": "name"}_dict = {"A3": "A0","B3": "A1","A4": "A2","B4": "A3",..."M1": "NC"}_group = {"A","D","Ucc","GND","NC","DP"}pins_bga("d:/_temp",_dict,_group,-900,-900,400,100,10,_package.PACKAGE_FILL)
Package: pybgh
pybghA BGH Smart devices API client written in python.Installpip install pybghExampleimport pybgh

client = pybgh.BghClient('email@xxx.com', 'password')
home_id = client.get_homes()[0]['HomeID']
device_id = next(iter(client.get_devices(home_id)))

print(client.get_status(home_id, device_id)['data'])
client.set_mode(device_id, 'cool', 24, 'auto')
Package: pybgpasn
PYBGPASNpybgpasn is a Python package for looking up Autonomous System Number (ASN) information. The package includes a database of ASNs and their corresponding provider names.InstallationYou can install pybgpasn using pip:pipinstallpybgpasnUsageBasic UsageTo use pybgpasn, first create an instance of the ASNCatalog class:frompybgpasnimportASNCatalogcatalog=ASNCatalog()The ASNCatalog class loads the ASN data from the package database file during initialization.To look up an ASN's provider name, call the get_provider_name method:asn=15169# Google LLCprovider_name=catalog.get_provider_name(asn)print(provider_name)# prints "Google LLC"Private ASNsIf the provided ASN falls within the range of 64512 to 65535 (inclusive), the get_provider_name method will return "PRIVATE AS":asn=64512# Start of private ASN rangeprovider_name=catalog.get_provider_name(asn)print(provider_name)# prints "PRIVATE AS"asn=65535# End of private ASN rangeprovider_name=catalog.get_provider_name(asn)print(provider_name)# prints "PRIVATE AS"ErrorsIf an invalid ASN is provided to the get_provider_name method, an error will be raised.If the provided ASN is not an integer, a TypeError will be raised.If the provided ASN is outside the valid range of 0 to 4294967295, a ValueError will be raised.Here's an example of handling errors when looking up an ASN:frompybgpasnimportASNCatalogcatalog=ASNCatalog()try:asn="invalid"# Not an integerprovider_name=catalog.get_provider_name(asn)exceptTypeErrorase:print(f"Error: {e}")# Output: Error: ASN must be an integertry:asn=-1# Negative ASNprovider_name=catalog.get_provider_name(asn)exceptValueErrorase:print(f"Error: {e}")# Output: Error: Invalid ASN numberLicensepybgpasn is licensed under the MIT License. See the LICENSE file for more information.Acknowledgmentspybgpasn includes data from the Border Gateway Protocol (BGP) Autonomous System (AS) Numbers registry maintained by the Internet Assigned Numbers Authority (IANA).
Package: pybgpkit-parser
bgpkit-parser-pyPython binding for bgpkit-parserExamplefrompybgpkit_parserimportParserimportjsonparser=Parser(url="https://spaces.bgpkit.org/parser/update-example",filters={"peer_ips":"185.1.8.65, 2001:7f8:73:0:3:fa4:0:1"},)foreleminparser:print(elem["origin_asns"])print(json.dumps(elem,indent=4))breakYou can also addcache_dirto Parser to cache the downloaded files to a specified directory.Here is an example:frompybgpkit_parserimportParserimportjsonparser=Parser(url="https://spaces.bgpkit.org/parser/update-example",filters={"peer_ips":"185.1.8.65, 2001:7f8:73:0:3:fa4:0:1"},cache_dir="./")foreleminparser:print(elem["origin_asns"])print(json.dumps(elem,indent=4))breakSupported Python VersionPython3.8Python3.9Python3.10Python3.11Python3.12Installationpython3-mpipinstallpybgpkit-parserDevelopmaturin developbuilds local python module and add to the venv.Build and publishSeeBUILD.mdfor more details.
Package: pybhcd
pybhcd: Bayesian Hierarchical Community DiscoveryAn efficient Bayesian nonparametric model for discovering hierarchical community structure in social networks.This repository is a Python-binding ofbhcd.Parameter TuningThere are five parameters (alpha, beta, lambda, delta, gamma) to be tuned, lines within interval (0,1) and satisfies the following
constraint.alpha > beta
lambda > deltaBuildFor Windows, you can usevcpkgto install the dependencies.
Package: pybi
pybi is small but powerful wrapper around Baan OLE Automation. Using AFS you can
access Baan data, create/modify/delete/print just like a normal userthere’s also a built-in xmlrpc server that can be use to expose function to
another system (a web server for example) This xmlrpc server can run in
standalone or as Windows serviceAt this time, it is not multi-thread because I have some problem using Baan Com
object in multi-thread environnement.Created/Tested with Baan IV
Package: pybib
pybib is an easy way to get citations for your LaTeX document.
Instead of typing out BibTeX entries yourself, just give pybib the
Digital Object Identifier (DOI) of the resource you want to cite and it
will get all the information for you. Then, you can just add the
citation it gives you to your BibTeX file.InstallationThe package is available on PyPi and can be installed with the following
command:$pip3install--userpybibFor user-only installs, pip installs scripts to the directory~/.local/bin, so make sure it’s in your path. If you would prefer to
install it system-wide, just leave out the--userflag.Usage examplesGet a citation:$bibget10.1112/plms/s2-42.1.230Get a citation and add it to your bibliography file:$bibget10.1145/159544.159617>>citations.bibGet a citation and add it to your bibliography file, running it throughbibtoolfirst to format the entry and auto-generate a citation key:$bibget10.1145/159544.159617|bibtool>>citations.bibSearchingSearch for a resource:$bibsearchnameoftheresourceGet the citation for search result numberN:$bibsearchnameoftheresource--getNTroubleshootingIf you encounter any problems, please open an issue so I can rectify
them as soon as possible.
Package: pybib2web
pybib2webConvert BibTeX .bib files into a directory of HTML files.The created HTML provide individual HTML pages for publications by
year, publication type (category), author, keyword, and funding.
A single-page view is also available.
pybib2web provides semantics and easy customizability of each BibTeX element
through HTML ids and classes.This makes it easy to choose the data to display and style the bibliography to your needs.Send us a message or create an issue if you require any assistance and/or have feedback!ExamplesYou can find a raw example indoc/example/index.html.
This example is generated with:pybib2web --config doc/example/config.yml --output doc/example doc/example/db.bibTwo pages that use pybib2web with styling:Webpage of the Software and Computational Systems Lab (SoSy-Lab) at LMU Munichuses full pybib2web directory structure with individual pages for author, keywords, etc..Personal webpage of Thomas Lembergeruses--singlepageto display a single page with all entries.Requirementspython 3.8Optional requirementsdetexis required to detexify BibTeX-entries that use LaTeX commands,
e.g.,\sc{}or~. Ifdetexis not installed, these LaTeX commands will be visible
in the HTML output.InstallationAfter cloning the repository, runpip install -e .to install pybib2web and its dependencies.UsageRunpybib2web --helpto show all available command-line options.Basic usage:pybib2web BIBFILE(s)This will write a directory of HTML files tobib/.
The index of these files isbib/index.html.This will, among other things, create
an individual publication page for all authors that appear in the given BibTeX files.
Often, one only wants to create these author-centered pages for individual authors-
for example for oneself or a specific group of people.
pybib2web can be configured through aconfig fileto do this:pybib2web --config CONFIG_YAML BIBFILE(s)
Package: pybids
PyBIDSPyBIDS is a Python library to centralize interactions with datasets conforming
BIDS (Brain Imaging Data Structure) format.  For more information about BIDS
visithttps://bids.neuroimaging.io.PyBIDS currently supports Python 3 on POSIX operating systems (including Mac OS).  Windows is not officially supported, though most PyBIDS functionality will probably work fine.InstallationPyBIDS is most easily installed from pip. To install the latest official release:pip install pybidsOr, alternatively via conda:conda install -c conda-forge pybidsIf you want to live on the bleeding edge, you can install from master:pip install git+https://github.com/bids-standard/pybids.gitDependenciesPyBIDS has a number of dependencies. The core querying functionality requires only theBIDS-Validatorpackage. However, most other modules require the core Python neuroimaging stack:numpy,scipy,pandas, andnibabel. Thereportsmodule additionally requiresnum2words. By default, all dependencies will be installed with pybids (if they aren't already available).UsageGet started by checking outthe documentation!Or you can start atour tutorial! You can run it interactively without installing anything viabinder. Click on the link and then navigate todoc/examples/pybids_tutorial.mdto explore.How to citeTo credit PyBIDS in your work, please cite both theJOSS paperand theZenodo archive. The former provides a high level description of the package, and the latter points to a permanent record of all PyBIDS versions (we encourage you to cite the specific version you used). Example citations (for PyBIDS 0.9.3):Yarkoni et al., (2019). PyBIDS: Python tools for BIDS datasets. Journal of Open Source Software, 4(40), 1294,https://doi.org/10.21105/joss.01294Yarkoni, Tal, Markiewicz, Christopher J., de la Vega, Alejandro, Gorgolewski, Krzysztof J., Halchenko, Yaroslav O., Salo, Taylor, … Blair, Ross. (2019, August 8). bids-standard/pybids: 0.9.3 (Version 0.9.3). Zenodo.https://doi.org/10.5281/zenodo.3363985Community guidelinesBug reports, feedback, and other contributions to PyBIDS are welcome. To report a bug, request a feature, or raise a technical (non-usage-related) question for discussion, pleaseopen an issue on GitHub. Requests for support and questions about usage (where no bug is suspected) should be posted on theNeuroStarsforum. For questions about theBIDS specificationorBIDS-Validator, please see the corresponding repositories. For general BIDS-related discussion, see thebids-discussionmailing list.Pull requests are always welcome. If you have any doubts about the suitability of a PR, or want to discuss implementation-related issues, feel free to open an issue for discussion.
Package: pyBIG
pyBIGPython library to programatically manipulate .big files, the archive format used in many of the game titles created by Westwood studios.This library is largely possible due to the work done by the OpenSage team (Link). Essentially this library is a python wrapper around the knowledge they gathered with some helper functions.InstallationYou can get it from Pypi:https://pypi.org/project/pyBIG/pip install pyBIGUsageThe library is based on the pyBIG.Archive object. This objects takes raw bytes representing a BIG archive. The decision to take raw bytes allow the user to decide where those bytes come from, whether a file stored in memory or on disk. There is also a class method, Archive.from_directory that allows you to load a directory on the disk painlessly.You can modify the archive in memory with the following methods:Archive.edit_file(str, bytes)Archive.add_file(str, bytes)Archive.remove_file(str)Each method takes a name which is the windows-format path to the file in the archive so something like 'data\ini\weapon.ini'. The methods that takes bytes represent the new contents of the file as bytes.It is important to note that these methods do not actually modify the archive but it is as if. This does not update the entries or the raw bytes. If you want to update the archive you need to call Archive.repack(). This is an expensive operation which is only called automatically when the archive is saved or extracted. The rest is up to the user.You can look at the tests for more examples.frompyBIGimportArchivewithopen("test.big","rb")asf:archive=Archive(f.read())# get the contents of a file as bytescontents=archive.read_file("data\\ini\\weapon.ini")#add a new filearchive.add_file("data\\ini\john.ini",b"this is the story of a man named john")archive.repack()#remove a filearchive.remove_file("data\\ini\\john.ini")archive.repack()#save the big file back to disk, this will also take care of repacking# the file with the latest modified entriesarchive.save("test.big")# extract all the files in the archivearchive.extract("output/")# load an archive from a directoryarchive=Archive.from_directory("output/")AdvancedIn version 0.2.0, this library also makes theLargeArchiveobject available. This special object does not store the entire file into memory, allowing for manipulation of large files. It works essentially the same except that reading is done from the file present on disk and functions are tied to that location. Repacking does the same as save on this object but it is recommended to instead use the save function.It is important to note that adding and editing files in a LargeArchive stores them in memory. As such it is recommended to to save at regular interval to commit these changes to disk. The LargeArchive object exposesarchive_memory_sizeas a simple way of seeing how many bytes are currently stored directly on the object.frompyBIGimportLargeArchivearchive=LargeArchive("test.big")TODOInvestigate and implement proper compression (refpack)
Package: pybigbuy
PyBigBuyPyBigBuyis a Python client for BigBuy’s REST API.Note: PyBigBuy is not affiliated to nor endorsed by BigBuy.CoverageAs of 3.17.0 PyBigBuy implements all API endpoints.
We release new versions of the API client each time we notice new or modified endpoints.InstallPippython -m pip install pybigbuyPoetrypoetry add pybigbuyUsagefrombigbuyimportBigBuyclient=BigBuy("your-API-token")LicenseCopyright 2020-2023Bixoto.
Package: pybigdata
PyBigDataOverviewPyBigData is a Python library for doing amazing things. It provides mathematical functionalities and methods related to Big Data, Machine Learning, Artificial Inteligence, Optimization, Probabilities, Statistics and Linear AlgebraTable of ContentsInstallationUsageDocumentationContributingIssuesLicenseInstallationYou can install PyBigData usingpip:pipinstallpybigdataUsageThis is a simple example of how to use this library:frompybigdataimportlinear_algebraasLAdata=[[1,2,3],[4,5,6],[7,8,9]]A=LA.Matrix(data)print(f"Determinant:{A.det()}")For more examples and detailed usage, refer to thedocuments.ContributingWe welcome contributions! If you want to contribute to the project, please check the Contribution Guidelines.IssuesIf you encounter any issues or have suggestions, please open anissueon GitHub.LicenseThis project is licensed under the MIT License. See theLicensefile for details.
Package: pybiginteger
BigIntegerCppA C++ port of theC# BigIntegerclass, with bindings for Python.BuildingThe default configuration builds a shared librarymkdir build
cd build
cmake ..
cmake --build .Build optionsYou can define various options during the configure stage to control the outputVarDefaultCommentBIGINTEGER_BUILD_SHARED_LIBONBIGINTEGER_BUILD_STATIC_LIBOFFBIGINTEGER_BUILD_TESTINGOFFBuilding the bindingsReadhere.Running the testsTest can be ran as followscmake -D BUILD_TESTING=ON ..
cmake --build .
./tests/unit_testsThe output should be similar to...

[ RUN      ] properties.RunMinusOneTests
[       OK ] properties.RunMinusOneTests (2 ms)
[----------] 3 tests from properties (7 ms total)
[----------] Global test environment tear-down
[==========] 117 tests from 22 test suites ran. (17481 ms total)
[  PASSED  ] 117 tests.Including in your CMake projectThe project can be included in 2 waysadd_subdirectory(BigIntegerCpp)or if it has been installed viamake installyou can usefind_library(bigintegercpp)It is possible to build both aSHAREDandSTATIClibrary simultaneously, as such 2 link targets exists to differentiate between them, respectivelyBigIntegerCpp::BigIntegerCpp
BigIntegerCpp::BigIntegerCpp-staticTo use in your target addtarget_include_directories(your_target PUBLIC ${bigintegercpp_INCLUDE_DIRS})
target_link_libraries(your_target PRIVATE BigIntegerCpp::BigIntegerCpp)Source.cpp#include <bigintegercpp/BigInteger.h>FAQWhy this project?It is purpose build for use in relationship to theNEO blockchainproject.
In order to create a compliant port of their virtual machine a need for a compliant BigInteger implementation exists.
Any difference, in for example themodulo implementation, can result in VM execution deviation. This is just one of the many problems we've encountered after attemping to wrap Python's nativeintto produce identical behaviour.Should I use this project?If you have to ask this question, then no.How fast is it?We don't know. The focus has been on conformity to the C# BigInteger class, not on speed. If you want speed you might want to look athttps://gmplib.org/Are there any known behavioural deviations from the C# implementation?The only known deviations are in the string parsing and conversion to string methods. Specifically, the overloads withIFormatProviderare not supported.
Only base10 parsing is supported. String input may be prepended with+or-. Any whitespace is considered the end of the input.Deviations in any other parts are considered bugs. Please report them.
Package: pyBigKinds
pyBigKindspyBigKinds는 한국 언론의 빅데이터 저장소인 BigKinds에서 추출한 데이터를 low-Code로 분석할 수 있게 만든 툴입니다.RequirementsPython >= 3.8InstallationmacOSpython3-mpipinstallpyBigKindsWindows, linuxpython-mpipinstallpyBigKindsUsageimportpyBigKindsasbkbk.press_counter(df)importpyBigKindsasbkbk.keywords_wordcloud(df,"중앙일보")LicenseMITyou have some issue?사용 중 문제 발생 시, 해당 Repo issue에 등록해주세요.
Package: pyBigParser
pyBigParserpyBigParser provides classes for parsing long and complex math
expresions. You might find it most useful for tasks involving
evaluating from single functions to compounds functions.
Typical usage often looks like this:frompybigparserimportevaluatormybig=evaluator.bigFunction()mybig.setFunction("x**2+2*y")mybig.addSub("x","24+6*c")mybig.addSub("y","25 / d")mybig.addSub("c","1")mybig.addSub("d","4")mybig.evaluate()mybig.getSubValue("x")mybig.getSubValue("y")Supported Functionscos,sin,abs,log10,log,exp,tan,pi,eVersions1.3 - It saves the values for each sub-function.1.5 - Fixed OverFlow Error with Exp functionWarningsThe variableseandpiare reserved for the evaluatorExceptions for iterative variables are not supported
Package: pybigtools
Thepybigtoolspython package wraps thebigtoolsRust library and allows effecient reading and writing of bigWig and bigBed files.DocumenationDocumentation is available onreadthedocs.Examples(Replace<path>with the path to a bigWig file or url)Iterator of intervalsimportpybigtoolsb=pybigtools.open(<path>)i=b.intervals("chr1")print(next(i))Numpy array of valuesimportpybigtoolsb=pybigtools.open(<path>)a=b.values("chr1")print(a.shape)Open a file-like objectimportpybigtoolsb=pybigtools.open(open(<path>,'rb'))a=b.values("chr1")print(a.shape)
Package: pybill
PyBill is Logilab tool used to produce PDF documents from XML files
describing bills, debits, downpayments, claim forms or pro-formas.The XML files are described in PyBill specific format (PBD-1.0). PyBill uses
additional XML configuration files to customize the rendering of the PDFs (logo,
sender address, sender bank data, internationalization, etc.) The chosen
configuration can be directly set in the XML accounting file, into a dedicated
processing instruction.The PDF documents are produced thanks toreportlablibrary. The XML data is
read and written thanks tolxmllibrary. PyBill is entirely written in Python.
Package: pybimaps
Various bijective maps in pure python, internally they use two dicts:one 2 one:BijectiveMap;one 2 many:BijectiveListMap,BijectiveSetMap;many 2 many:BijectiveSetSetMap,BijectiveListSetMap;DependenciesBeing written in pure python,pybimapssupports >=python-3.3, will probably work on >=python-2.7. and does not require any other dependency.
Package: pybin
When you install a package viapip install--user..., any executables get
placed in a special directory specifically for the intended user. Unfortunately,
this location is most likely not included in your user’s PATH variable. So for
example if you didpip3 install--userhatchand then tried to learn more
about your new tool by doinghatch--help, it would fail to be located.
See:https://github.com/pypa/pip/issues/3813pybin solves this problem by providing a small CLI, and corresponding API, to
locate your Python’s user bin and optionally update the user PATH. It supports
all major operating systems and does not require elevated privileges!Fear not, this only modifies the user PATH; the system PATH is never
touched nor even looked at!Table of ContentsInstallationCommandspybinpybin putAPIManual modificationLicenseInstallationpybin is distributed onPyPIas a universal
wheel and is available on Linux/macOS and Windows and supports
Python 2.6-2.7/3.3+ and PyPy.$pipinstallpybinDo not use--user!CommandsOnly 2!pybin$pybin-hUsage:pybin[OPTIONS]COMMAND[ARGS]...ShowsthelocationofthebindirectoryandwhetherornotitisintheuserPATH.Options:-p,--pypathTEXTAnabsolutepathtoaPythonexecutable.--versionShowtheversionandexit.-h,--helpShowthismessageandexit.Commands:putUpdatestheuserPATHpybin put$pybinput-hUsage:pybinput[OPTIONS]UpdatestheuserPATH.Theshellmustberestartedfortheupdatetotakeeffect.Options:-p,--pypathTEXTAnabsolutepathtoaPythonexecutable.-f,--forceUpdatePATHevenifitappearstobecorrect.-h,--helpShowthismessageandexit.API>>>frompybinimportin_path,locate,put_in_path>>>in_path()False>>>locate()'C:\\Users\\Ofek\\AppData\\Roaming\\Python\\Python36\\Scripts'>>>success=put_in_path()Manual modificationUse the location pybin shows in concert with this very comprehensive document
Java provides:https://www.java.com/en/download/help/path.xmlLicensepybin is distributed under the terms of bothMIT LicenseApache License, Version 2.0at your option.