Saravanan666/pypi-org huggingface dataset:
Package: basin3d
basin3dBroker for Assimilation, Synthesis and Integration of eNvironmental Diverse, Distributed Datasets.BASIN-3D is a software ecosystem that synthesizes diverse earth science data from a variety of remote data sources on-demand, without the need for storing data in a single database. It is designed to parse, translate, and synthesize diverse observations from well-curated repositories into standardized formats for scientific uses such as analysis and visualization.basin3d is the core BASIN-3D application that uses a generalized data synthesis model that applies across a variety of earth science observation types (hydrology, geochemistry, climate etc.).basin3d has available plugins that can connect to specific data sources of interest, and map the data source vocabularies to the basin3d synthesis models.Getting StartedInstallInstall a source distribution with pip:$ pip install basin3dMake sure your installation was successful:$ python
>>> import basin3d
>>>DocumentationSee latest basin3d documentationhereContributingIf you’re interested in contributing to basin3d, check out out ourcontributing guidelines. It will help explain why, what, and how to get started.ChangelogSee thechangelogfor a history of updates and changes to basin3dAuthorsCharuleka Varadharajan-LBLValerie Hendrix-LBLDanielle Svehla Christianson-LBLCatherine Wong-LBLCopyrightBroker for Assimilation, Synthesis and Integration of eNvironmental Diverse, Distributed Datasets (BASIN-3D) Copyright (c) 2019, The
Regents of the University of California, through Lawrence Berkeley National
Laboratory (subject to receipt of any required approvals from the U.S.
Dept. of Energy).  All rights reserved.If you have questions about your rights to use or distribute this software,
please contact Berkeley Lab's Intellectual Property Office atIPO@lbl.gov.NOTICE.  This Software was developed under funding from the U.S. Department
of Energy and the U.S. Government consequently retains certain rights.  As
such, the U.S. Government has been granted for itself and others acting on
its behalf a paid-up, nonexclusive, irrevocable, worldwide license in the
Software to reproduce, distribute copies to the public, prepare derivative
works, and perform publicly and display publicly, and to permit other to do
so.LicenseSeeLICENSEfile for licensing detailsAcknowledgmentsThis research is supported as part of the ESS-DIVE repository, the Watershed Function Scientific Focus Area, and a DOE Early Career Project funded by the U.S. Department of Energy, Office of Science, Office of Biological and Environmental Research under Award no. DE-AC02-05CH11231. This research used resources of the National Energy Research Scientific Computing Center (NERSC), a U.S. Department of Energy Office of Science User Facility operated under Contract No. DE-AC02-05CH11231.
Package: basinentropycalc
Basin EntropyThis algorithm was proposed by Daza et al., it computes the basin entropy of a computed basin of attraction on a regular grid.The function return the basin entropy and the boundary basin entropy.A. Daza, A. Wagemakers, B. Georgeot, D. Guéry-Odelin and M. A. F. Sanjuán, Basin entropy: a new tool to analyze uncertainty in dynamical systems, Sci. Rep., 6, 31416, (2016).
Package: basisopt
BasisOptBasisOpt is a python library for the optimization of Gaussian basis sets as used in most quantum chemistry packages. It is currently under development, but should be reasonably stable.InstallationThe library is pip installable:pip install basisoptTo install a development version instead, clone this repo locally, change to the folder, and usepoetry. This will cleanly create a virtual environment for the project, that will ensure any changes are publishable.poetry install -vYou can then start an interactive shell or run a script usingpoetry run [python3 or script.py]This is local to the directory, and will not make BasisOpt available elsewhere. You can alternatively create a fresh conda env or pyenv and in the top directory runpip install -e .However, if you intend to submit a PR for your change, please test building withpoetryfirst.ContributingContributions are welcomed, either in the form of raising issues or pull requests on this repo. Please take a look at the Code of Conduct before interacting, which includes instructions for reporting any violations.Coming soon(ish)Standard optimization strategies (PCSeg and correlation-consistent)DocumentationFor dependencies, detailed installation instructions, and a guide to getting started, please refer to the main documentationhere.ExamplesThere are working examples in the examples folder, and these are (or will be) documented in the documentation.Acknowledging usageIf you use this library in your program and find it helpful, that's great! Any feedback would be much appreciated. If you publish results using this library, please consider citing the following paper detailing the implementation:ChemRxiv preprint
Package: basis-set-exchange
Basis Set Exchange WebsiteIf you are looking for the Basis Set Exchange website (which can be
used to browse and download this data in a more user-friendly way),
visithttps://www.basissetexchange.orgOverviewThis project is a library containing basis sets for use in quantum
chemistry calculations.  In addition, this library has functionality
for manipulation of basis set data.The goal of this project is to create a consistent, thoroughly curated
database of basis sets, and to provide a standard nomenclature for
quantum chemistry.The data contained within this library is being thoroughly evaluated
and checked against relevant literature, software implementations, and
other databases when available. The original data from the PNNL Basis
Set Exchange is also available.This library is used to form the backend of the new Basis Set Exchange
website.This project is a collaboration between the Molecular Sciences Software
Institute (https://molssi.org) and the Environmental Molecular Sciences
Laboratory (https://www.emsl.pnl.gov)CitationWhen publishing results obtained from use of the Basis Set Exchange software, please cite:A New Basis Set Exchange: An Open, Up-to-date Resource for the Molecular Sciences CommunityBenjamin P. Pritchard, Doaa Altarawy, Brett Didier, Tara D. Gibson, and Theresa L. WindusJ. Chem. Inf. Model.2019, 59(11), 4814-4820 doi:10.1021/acs.jcim.9b00725For citing the previous EMSL/PNNL Basis Set Exchange, please cite the following references:The Role of Databases in Support of Computational Chemistry Calculations,Feller, D.,J. Comp. Chem.1996, 17(13), 1571-1586, doi:10.1002/(SICI)1096-987X(199610)17:13<1571::AID-JCC9>3.0.CO;2-PBasis Set Exchange: A Community Database for Computational Sciences Schuchardt,K.L., Didier, B.T., Elsethagen, T., Sun, L., Gurumoorthi, V., Chase, J., Li, J., and Windus, T.L.J. Chem. Inf. Model.2007, 47(3), 1045-1052, doi:10.1021/ci600510jDocumentationFull user and developer documentation can be found athttps://molssi-bse.github.io/basis_set_exchangeAn overview of the project and its design is also available athttps://molssi-bse.github.io/basis_set_exchange/project_doc.htmlCommand line interfaceThis library also includes a command line interface.
Seehttps://molssi-bse.github.io/basis_set_exchange/bse_cli.htmlfor how to use it.InstallationThis project can be installed via pip/PyPI.pip install basis_set_exchangeIf checking out from github, you can do a local install of the Python
directory,pip install -e .TestingTests can be run usingpy.test -vonce installed. Thorough (but very
long) tests can be run withpy.test --runslow.Examplesimportbasis_set_exchangeasbse# Obtain the STO-3G basis set in nwchem format (as a string) for hydrogen and carbonbse.get_basis('STO-3G',elements=[1,6],fmt='nwchem')# Obtain the references for the abovebse.get_references('STO-3G',elements=[1,6],fmt='txt')For more documentation, seehttps://molssi-bse.github.io/basis_set_exchangeCommand lineSame as above, but using the command line$ bse get-basis sto-3g nwchem --elements=1,6$ bse get-refs sto-3g txt --elements=1,6LicenseThis project is released under the BSD 3-Clause license. SeeLICENSEfor details.
Package: basistheory
Basis Theory Python SDKTheBasis TheoryPython SDK for Python >=3.7Installationpip installFrom the git repositorypipinstallgit+https://github.com/Basis-Theory/basistheory-python.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/Basis-Theory/basistheory-python.git)Then import the package:importbasistheorySetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importbasistheoryLocallyTo install your latest changes locally run:python3 -m pip install .DocumentationIf you need any assistance, please contactsupport@basistheory.comat this time.Client MethodsAll URIs are relative tohttps://api.basistheory.comClassMethodHTTP requestTokensApicreatePOST/tokensTokensApideleteDELETE/tokens/{id}TokensApiget_by_idGET/tokens/{id}TokensApilistGET/tokensModelsEncryptionKeyEncryptionMetadataPaginatedTokenListPaginationTokenUsagePer-request configurationAll of the client methods accept an optionalRequestOptionsobject.This is
used if you want to set acorrelation IDor if you want to set a per-requestBT-API-KEYimportuuidimportbasistheoryfrombasistheory.request_optionsimportRequestOptionsrequest_options=RequestOptions(api_key="API KEY",correlation_id=uuid.uuid4())Client ConfigurationEach Api client can be configured to use a custom API url and client-wideBT-API-KEY.importbasistheoryfrombasistheory.apiimporttokens_apiconfiguration=basistheory.Configuration(host="https://token-proxy.somedomain.com",api_key="API KEY")withbasistheory.ApiClient(configuration)asapi_client:# Create a token client w/ global configuration for all requeststoken_client=tokens_api.TokensApi(api_client)Getting StartedQuick example creating a token and then retrieving it.importuuidimportbasistheoryfrompprintimportpprintfrombasistheory.apiimporttokens_apifrombasistheory.model.create_token_requestimportCreateTokenRequestfrombasistheory.request_optionsimportRequestOptions# Defining client wide api_keyconfiguration=basistheory.Configuration(api_key="API KEY")withbasistheory.ApiClient(configuration)asapi_client:# Create an instance of the tokens API clienttoken_client=tokens_api.TokensApi(api_client)# Setting a correlation Idrequest_options=RequestOptions(correlation_id=uuid.uuid4().__str__())# Token request objectrequest=CreateTokenRequest(type="token",data="My Secret Data")try:# Creating the tokencreated_token=token_client.create(create_token_request=request,request_options=request_options)pprint(created_token)# Retrieving it (requires read permission on the token type classification and impact level)retrieved_token=token_client.get_by_id(id=created_token.id)pprint(retrieved_token)exceptbasistheory.ApiExceptionase:print("Exception when calling TokensApi:%s\n"%e)
Package: basitapi
# BasitApi [![Build Status](https://travis-ci.org/omerucel/basitapi.png)](https://travis-ci.org/omerucel/basitapi)RESTful API oluşturmanızda size yardımcı olan basit bir kütüphane. Django'nunsınıf temelli View yapısı üzerine kurulu. Bir RESTful API'de olması gerekenbazı temel özellikleri sunar ve başka da bir işe karışmaz.Sunduğu bazı temel özellikler:*   *Bağlantıdaki method parametresi ile HTTP_METHOD başlığının ezilmesi.*Bazı istemciler sadece bazı metodları göndermekle kısıtlandırılabilirler. Butürlü bir durumda API'nin doğru çalışabilmesi için bağlantı içinde *method*isimli parametreyi kullanabilirsiniz. Bu parametre ile HTTP_METHOD ezilir vegönderdiğiniz method parametresindeki değere göre işlemler yürütülür.*   *Her zaman 200 HTTP kodu ile dönüş.*Bazı istemciler sadece bazı hata kodlarına yanıt verebilirler. BasitApi bu tür durumlar için*suppress_response_codes* parametresine destek vermekte. Bu parametre değeri1 olarak gönderildiğinde durumu ne olursa olsun tüm yanıtlar 200 kodu ilegönderilmekte.*   *Yanıt formatı.*Hem *Accept* başlık bilgisine hem de bağlantı dosya son ekine göre yanıtformatı ayarlanabilmekte.## KurulumPyPi üzerinden kurulum için aşağıdaki komutu kullanabilirsiniz:```$ pip install basitapi```Github üzerinden kurulum için aşağıdaki komutu kullanabilirsiniz:```$ pip install -e git://github.com/omerucel/basitapi.git#egg=basitapi```## Kullanım### settings.py```pythonINSTALLED_APPS=(...'basitapi')```### urls.pyBağlantı dosya son ekine göre yanıt formatını ayarlamak istemiyorsanızbağlantılarınızı *format_suffix_patterns* ile tekrar formatlamanıza gerek yok!```pythonfrom basitapi.urlpatterns import format_suffix_patternsfrom appname.views import ViewNameurlpatterns = patterns(url(r'^foo', ViewName.as_view()),...)urlpatterns = format_suffix_patterns(urlpatterns)```### views.py```pythonfrom basitapi.exception import ApiExceptionfrom basitapi.response import ApiResponsefrom basitapi.views import ApiViewclass ViewName(ApiView):def get(self, request):return ApiResponse({'result' : 'data'})def post(self, request):raise ApiException('Bir hata olustu', status=403, application_code=1111)```
Package: basix
PackagebasixImplementation of some basic operationsCurrent contentbasix
├─ maps
│  ├─ google.py
│  │  └─ get_coord
│  └─ nominatim.py
│     └─ get_coord
│ 
├─ files.py
│  ├─ download_file
│  ├─ read_file
│  ├─ file_print
│  ├─ make_directory
│  ├─ remove_file
│  ├─ remove_empty_directory
│  ├─ remove_directory_recursively
│  └─ remove_directory
│ 
├─ functions.py
│  ├─ ArgumentProperties
│  ├─ FunctionProperties
│  ├─ Pipe
│  └─ get_function_properties
│ 
├─ numbers.py
│  └─ round
│ 
├─ parquet.py
│  └─ write
│ 
├─ viz.py
│  ├─ ColorMix
│  ├─ hex_to_rgb
│  ├─ rgb_to_hex
│  └─ define_colormap
│ 
└─ yaml.py
   └─ read
Package: bask
Bayes-skoptA fully Bayesian implementation of sequential model-based optimizationFree software: Apache Software License 2.0Documentation:https://bayes-skopt.readthedocs.io.Built on top of the excellentScikit-Optimize (skopt).FeaturesAfully Bayesianvariant of theGaussianProcessRegressor.State of the art information-theoretic acquisition functions, such as theMax-value entropy searchorPredictive variance reduction search, for even faster
convergence in simple regret.FamiliarOptimizerinterface known from Scikit-Optimize.InstallationTo install the latest stable release it is best to install the version on PyPI:pip install baskThe latest development version of Bayes-skopt can be installed from Github as follows:pip install git+https://github.com/kiudee/bayes-skoptAnother option is to clone the repository and install Bayes-skopt using:poetry installCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.
Package: basker
BaskerBasker is a simple wrapper aroundmultiprocessing.Process,
giving users a nicer API as well as task results.I wrote Basker for educational purposes, but it is also suited
for actual use. If you are interested in the story behind Basker
you can read it on myblogInstallation$pipinstallbaskerExampleIn the following snippet, callingexamplestarts a background process and
returns aunbocked.Resultinstance. This result can be retrieved withunbocked.Result.getimportbasker@basker.taskdefexample():return5*5if__name__=="__main__":result=example()print(result.get(timeout=1))
Package: baskerville
Infer and validate data-type schemas in Python.Installationpip install baskervilleExample# mascots.csv
Name,LOC,Species
Ferris,42,Crab
Corro,7,Urchin>>>importbaskerville>>>fields=baskerville.infer_csv("mascots.csv")>>>print(baskerville.display_fields(fields))╭──────┬─────────┬─────────╮│Name│LOC│Species│├──────┼─────────┼─────────┤│Text│Integer│Text│││Float││││Text││╰──────┴─────────┴─────────╯ContributingVersioningThe repo bases versioning fromConventional Commits
Package: basketball-reference-scraper
basketball_reference_scraperBasketball Referenceis a great resource to aggregate statistics on NBA teams, seasons, players, and games. This package provides methods to acquire data for all these categories in pre-parsed and simplified formats.InstallingViapipI wrote this library as an exercise for creating my first PyPi package. Hopefully, you find it easy to use.
Install using the following command:pip install basketball-reference-scraperVia GitHubAlternatively, you can just clone this repo and import the libraries at your own discretion.Wait, don't scrapers like this already exist?Yes, scrapers and APIs do exist. The primary API used currently is forstats.nba.com, but the website blocks too many requests, hindering those who want to acquire a lot of data. Additionally, scrapers forBasketball Referencedo exist, but none of them load dynamically rendered content. These scrapers can only acquire statically loaded content, preventing those who want statistics in certain formats (for example, Player Advanced Stats Per Game).APICurrently, the package contains 5 modules:teams,players,seasons,box_scores,pbp,shot_charts, andinjury_report.
The package will be expanding to include other content as well, but this is a start.For full details on the API please refer to thedocumentation.
Package: basketball_reference_web_scraper
Basketball Referenceis a great site (especially for a basketball stats nut like me), and hopefully they don't get too pissed off at me for creating this.I initially wrote this library as an exercise for creating my firstPyPipackage - hope you find it valuable!DocumentationFor documentation about installing the package and API methods seethe documentation page.ContributorsThanks to@DaiJunyan,@ecallahan5,@Yotamho,@ntsirakis,@allanbelliti, and@krlufor their contributions!
Package: basketcase
BasketCaseDownload images and videos from Instagram.Notable features:Stories can be downloaded without triggering the "seen" flag.Downloads a high quality version of a profile picture.https://www.youtube.com/watch?v=NUTGr5t3MoY;)InstallationInstall it fromPyPIas auser install.pipinstall--userbasketcaseThis should put the executablebasketcaseon your PATH.Alternatively, you could install it in a virtual environment.
I keep mine at~/venv, and I have a shell alias to quickly activate it.Also, a pre-built executable for Linux is provided with the releases.Command-line usagebasketcase-u"https://instagram.com/p/<post_id>"Downloaded resources will be stored in the current working directory (i.e.$PWD/basketcase_downloads).To download from multiple URLs, create a text file (e.g.urls.txt)
and populate it with resource URLs:https://instagram.com/p/<post_id>
https://instagram.com/reel/<reel_id>
https://instagram.com/<username>basketcase-f./urls.txtSee--helpfor more info.Supported URLsSupported URLDescriptionhttps://instagram.com/<username>User profile. Downloads stories from the past 24 hours, and the profile picture.https://instagram.com/p/<post_id>Standard publication.https://instagram.com/reel/<reel_id>Reels moviehttps://www.instagram.com/stories/highlights/<highlight_id>/A collection of stories, or "highlights"https://www.instagram.com/s/<random_characters>A shorter type of URLAuthenticationAdd a session cookiebasketcase--cookie<session_cookie_id>--cookie-name"my session"# Added session id: 1Specify its identifier when downloadingbasketcase-s1List all available sessions withbasketcase -l.
To disable sessions, use--no-session.
If only one exists, it is treated as the default.User dataCookies and other application data are kept in your home directory (i.e.~/.basketcase).Development setupSeePackaging Python Projects.cdto the project root and create a virtual environment
in a directory namedvenv, which is conveniently ignored in
version control.Install the dependencies.pipinstall-rrequirements.txtInstall this package ineditable mode.pipinstall-e.Package build and uploadUpdate the requirements list.pipfreeze--exclude-editable>requirements.txtIncrement the version onpyproject.toml.Build the package.python-mbuildCommit and push the changes (and a new version tag) to the git repository.Publish it.python-mtwineuploaddist/*Build an executableWith thezipappmodule
we can build the whole package as an executable file for Linux. The only
runtime requirement is Python 3.cdto the project root.Activate the virtual environment.Runsh zipapp.sh.The executable filebasketcaseis in thedistfolder.
Package: basket-case
Basket CaseBasket case is a small, pure-Python swiss army knife for translating strings between case styles. I developed it because in my development work I often need to switch between string renderings: snake_case for Python, slug-names for document names, camelCase for a bunch of things, CONSTANT_NAMES for, well, constants, and Title Case for nice human readability.I want to be able to move between these fluidly and reliably, and by using a single import statement.import basket_case as bc

my_string = "a long name for a variable"
assert bc.slug(my_string)     == "a-long-name-for-a-variable"
assert bc.title(my_string)    == "A Long Name for a Variable"
assert bc.camel(my_string)    == "aLongNameForAVariable"
assert bc.snake(my_string)    == "a_long_name_for_a_variable"
assert bc.constant(my_String) == "A_LONG_NAME_FOR_A_VARIABLE"Installationpip install basket-casePython 3+ only; sorry not sorry.UsageDependenciesBasket case wraps titlecase and python-slugify for their respective capabilities.ContributionsPlease!
Package: basket_case_pynchia
basket_caseA lib to fit objects of different size into multiple baskets (of the same size) optimally.For example, use it to backup contents to CDs, DVDs, USB sticks, etc.Note: the name refers toa good horror film of the 80sRepositoryThe lib code lives on gitlab atthis addressNotesAs it can be seen below, the time of computation grows exponentially based on the number of objects in input:$ python tests/timings.py

Run with params:
    NUM_OBJECTS=28
    FREQ_OVERSIZE=6
    BASKET_SIZE=100
    NUM_TIMINGS=10
    
Preserving input: 50.43828155000028
Without preserving input: 5.0550676299999395

$ python tests/timings.py 
Run with params:
    NUM_OBJECTS=29
    FREQ_OVERSIZE=6
    BASKET_SIZE=100
    NUM_TIMINGS=10
    
Preserving input: 99.51453974099968
Without preserving input: 9.925193711000247
Package: basketweaver
basketweaverbasketweaveris a tool for creating your own package index out of a directory full
of eggs. You can then point to this index with e.g.zc.buildoutorsetuptoolsand thus be independant of PyPI.UsageHere is a quick example on how to install and use it:easy_install basketweaver
cd <a/directory/with/eggs/>
makeindex *This will create anindexfolder with links to all eggs.You can then make point a webserver to this directory and use this link in yourzc.buildoutconfiguration oreasy_installcommand.CodeThis project is hosted athttp://code.google.com/p/basket-weaver/0.1.3added support for bz2 files and cleaned up tar file handling to useopen()instead ofgzopen().
Seehttp://docs.python.org/library/tarfile.htmlfor more info. [mrtopf]