Saravanan666/pypi-org huggingface dataset:
Package: bobskater
bobskaterAn AST based Python obfuscator that robustly mangles names and other obfuscations of Python codeCurrent limitations:DOES NOT SUPPORT: Annotations, evals, templated strings, imports of the form import xxx.yyyVery little configuration currently and instead takes a cautious approach in determining what identifiers to mangle. Globals, kwargs, class namespace identifiers, and others are not obfuscated but type of obfuscations should be use selected in the future.It is only tested with Python v3.5 and might not work with other AST versionsScoping for comprehensions are kind of hacky (and basically follows Python 2 comprehension scope leaking methodology)Installationpip install bobskaterUsagebobskaterprovides a few mechanisms for direct use.obfuscateString("")obfuscates a string of source code.obfuscateFile('myfile.py')will obfuscate an entire file and overwrite the originalBoth take keyword arguments for configuration:removeDocstringswill remove docstrings by replacing them withpassstatements (to handle even cases where a function has only a docstring). Defaults toTrueobfuscateNameswill obfuscate all names except globally scoped variables, kwargs, builtins, and identifiers in a class namespace. Defaults toTrueThere are no other obfuscations performed than the two mentioned above currently inbobskaterExamplefrom bobskater import obfuscateString

myFileContents = open('myfile.py', 'r').read()

#Will obfuscate myFileContents and return it into output. Names will not be mangled, only docstrings will be removed
output = obfuscateString(myFileContents, obfuscateNames=False)ContributingTesting:pytest- Runs all the testsReleasing:Refer tothe python docs on packaging for clarification.
Make sure you've updatedsetup.py, and have installedtwine,setuptools, andwheelpython3 setup.py sdist bdist_wheel- Create a source distribution and a binary wheel distribution intodist/twine upload dist/bobskater-x.x.x*- Upload alldist/files to PyPI of a given version
Make sure to tag the commit you released
Package: bobsled-python-sdk
Bobsled Python SDKA Python library to interact with BobsledInstallationpipinstallbobsled-python-sdkGetting Startedfrombobsled_sdkimportBobsledClientcredentials={"email":"ex@mple.com","password":"example"}b=BobsledClient(credentials)Development setuppipinstall-rrequirements.txt
pytesttestsRelease History1.0.0Initial releaseMetaDanny Yu –danny@berkeley.eduDistributed under the MIT License. SeeLICENSEfor more information.https://github.com/danny-yuContributingFork it (https://github.com/yourname/yourproject/fork)Create your feature branch (git checkout -b feature/fooBar)Commit your changes (git commit -am 'Add some fooBar')Push to the branch (git push origin feature/fooBar)Create a new Pull Request
Package: bobtail-cors
Bobtail CORSCORS middleware for BobtailInstallpip install bobtail-corsUsageThe default CORS set byfrombobtail_corsimportBobtailCORSapp=Bobtail(routes=routes)app.use(BobtailCORS())If you require# Declare your CORS optionsoptions={"origin":"http://nottoboard.com","headers":"Authorization, Content-Type","methods":"GET",}app.use(BobtailCORS(options=options))
Package: bobtail-logger
Bobtail LoggerLogging middleware for BobtailInstallpip install bobtail-loggerUsage### Usage```pythonfrombobttail_loggerimportBobtailLoggerapp=Bobtail(routes=routes)app.use(BobtailLogger())Colorsfrombobtail_loggerimportBobtailLogger,Colorsb=BobtailLogger(colors={"color":Colors.RED})# Errors will always be displayed in `Color.RED`
Package: bobtail-upload
Bobtail File UploadMiddleware to upload files forBobtailInstallpipinstallbobtail-uploadUsagefrombobtail_uploadimportBobtailUploadapp=Bobtail(routes=routes)app.use(BobtailUpload(options={}))Saving filesBobtail Upload will attach the an Upload API to the request object
There are 2 methods now available:add(self, *, file_name: str, data: bytes, mimetype: str) -> Nonesave(self, *, table_name: str = None, pk: Union[int, str] = None) -> Nonedefpost(self,req:Request,res:Response):data=req.get_multipart_data()req.upload.add(file_name=data["logo"]["value"]["filename"],data=data["logo"]["value"]["file_data"],mimetype=data["logo"]["value"]["mimetype"],)req.upload.save()Mapping file saves to your database tablesTo save files based on a table name & primary key.The default upload directory path is/uploads- uploads
  - images
    - 2For exampledefpost(self,req:Request,res:Response):data=req.get_multipart_data()req.upload.add(file_name=data["logo"]["value"]["filename"],data=data["logo"]["value"]["file_data"],mimetype=data["logo"]["value"]["mimetype"],)# Use your ORM to save the file to your db & obtain the returned primary key (pk)req.upload.save(table_name="images",pk=pk)OptionsUPLOAD_DIR - the directory path where files will be saved (defaults touploads).options={"UPLOAD_DIR":"uploads",}
Package: bob-telegram-tools
Bob Telegram Tools is a python library which allows you to monitor your machine learning methods just by using Telegram without any additional application.DocumentationSeehttps://robertanto.github.io/bob_telegram_tools/for detailed instruction, manuals and tutorials.Installation instructionsYou can install the package with pip:pip install bob-telegram-toolsGetting startedimportkerasfromkeras.modelsimportSequentialfromkeras.layersimportDensefromkeras.optimizersimportRMSpropimportnumpyasnpfrombob_telegram_tools.kerasimportKerasTelegramCallbackfrombob_telegram_tools.botimportTelegramBotX=np.random.rand(1000,100)y=(np.random.rand(1000,3)>0.5).astype('float32')model=Sequential()model.add(Dense(512,activation='relu',input_shape=(100,)))model.add(Dense(512,activation='relu'))model.add(Dense(3,activation='softmax'))model.compile(loss='categorical_crossentropy',optimizer=RMSprop(),metrics=['accuracy'])n_epochs=3token='<your_token>'user_id=int('<your_chat_id>')bot=TelegramBot(token,user_id)tl=KerasTelegramCallback(bot,epoch_bar=True,to_plot=[{'metrics':['loss','val_loss']},{'metrics':['acc','val_acc'],'title':'Accuracy plot','ylabel':'acc','ylim':(0,1),'xlim':(1,n_epochs)}])history=model.fit(X,y,batch_size=10,epochs=n_epochs,validation_split=0.15,callbacks=[tl])LicenseCode released under theGNU GENERAL PUBLIC LICENSE.
Package: bobtemplates.affinitic
bobtemplates.affiniticbobtemplates.affiniticprovides amr.bobtemplate to generate packages for Affinitic Plone projects.Call it from thesrc-directory of your Plone project like this.:$ bin/mrbob -O your.package bobtemplates.affinitic:basic_plone_buildout
$ bin/mrbob -O your.package bobtemplates.affinitic:diazo_themeCreditsThis package was developed byAffinitic team.bobtemplates.affiniticis licensed under GNU General Public License, version 2.Changelog1.0 (2016-09-30)Initial release
Package: bobtemplates.bsuttor
bobtemplates.bsuttoris amr.bobtemplates to generate strucutre packages for Plone projects.At the moment, there is only one template for a emptyPloneadd-onHot to create a Plone add-on packageYou have to installmr.bobandbobtemplates.bsuttoreggs. Then you can runmrbob:$ pip install mr.bob
$ pip install bobtemplates.bsuttor
$ mrbob -O collective.foo bobtemplates:ploneYou have to answer some questions:Welcome to mr.bob interactive mode. Before we generate directory structure,
some questions need to be answered.

Answer with a question mark to display help.
Value in square brackets at the end of the questions present default value
if there is no answer.


--> Namespace of the package: collective
[...]Now you can install your add on:$ cd collective.foo
$ make installFinally you can lauch test:$ bin/testOr starting Plone:$ bin/instance fgGo with your browser tohttp://localhost:8080/Plone, and you can see your site with your module installedIt’s time to customize it ;-), seePlone developerhelpOther exampleYou can see other example of bobtempaltes which are inspired mehttps://github.com/iElectric/bobtemplates.ielectrichttps://github.com/Kotti/bobtemplates.kottihttps://github.com/niteoweb/bobtemplates.niteoweb
Package: bobtemplates.ecreall
Introduction============``bobtemplates.ecreall`` provides `mr.bob`_ templates to generate packages forPlone projects.This product is freely based on ``bobtemplates.niteoweb``.Usage=====Create a mr.bob virtualenv--------------------------::mkvirtualenv mrbobInstall mr.bob and bobtemplates.ecreall---------------------------------------::pip install mr.bobpip install bobtemplates.ecreallCreate your package-------------------::mrbob -O collective.foo bobtemplates:plone_addonSee `mr.bob`_ documentation for further information : http://mrbob.readthedocs.org/en/latest/
Package: bobtemplates.fanstatic
Introductionbobtemplates.fanstaticprovidesmr.bobtemplates to generate
packages forFanstatic.Available templates are:package: a simple template for a Fanstatic package.Global settingsSome variables are used with every template.  These should be added to the
mr.bob user config in~/.mrbob, e.g.:[variables]

author.name = Nuno Teixeira
author.email = teixas@gmail.com
author.github.user = teixasCreating a Fanstatic packageTo create a Fanstatic package run:mrbob -O js.some_library bobtemplates.fanstatic:packageand answer the questions:Welcome to mr.bob interactive mode. Before we generate directory structure,
some questions need to be answered.

Answer with a question mark to display help.
Value in square brackets at the end of the questions present default value
if there is no answer.


--> Name of wrapped library: some_library

--> Version of the wrapped library: 1.4.4

--> URL of the wrapped library: http://some_library.comThen you could add resources files:cd js.some_library/js/some_library/resourcesRegister them in __init__.py:cd ..
<editor> __init__.pyRun tests:python bootstrap.py
buildout
py.test jsChangelog0.1-1 - 2013-03-01Fix packaging.0.1 - 2013-02-28First release.
Package: bobtemplates.jpcw
.. contents::Introduction============`mr.bob`_ templates : http://mrbob.readthedocs.org/en/latest/+ basic_namespace : provide a zopeskel-like (basic_namespace) templateinstallation---------------::easy_install bobtemplates.jpcwor simply add bobtemplates.jpcw to your eggs zc.buildout sectionor with pip::pip install mr.bobpip install bobtemplates.jpcwtemplates------------basic_namespace++++++++++++++++++::--> Namespace Package Name [paulla]:--> Package Name [paste]:--> Description:--> Author:--> Author Email:--> Keywords ['']:--> Project URL ['']:--> Project License [BSD|GPL] [BSD]:--> Zip-Safe [true/false] [false]:pkg_ns (namespace) and pkg_project (package name) are guessed from -O option::bin/mrbob -O paulla.paste bobtemplates.jpcw:basic_namespacereturn ::--> Namespace Package Name [paulla]:--> Package Name [paste]:Tests=====bobtemplates.jpcw is continuously+ tested on Travis |travisstatus|_+ coverage tracked on coveralls.io |coveralls|_... |travisstatus| image:: https://api.travis-ci.org/jpcw/bobtemplates.jpcw.png.. _travisstatus:  http://travis-ci.org/jpcw/bobtemplates.jpcw.. |coveralls| image:: https://coveralls.io/repos/jpcw/bobtemplates.jpcw/badge.png.. _coveralls: https://coveralls.io/r/jpcw/bobtemplates.jpcwChangelog=========0.2 (2014-11-08)----------------- Nothing changed yet.0.1 (2013-10-29)----------------- Jean-Philippe Camguilhem <jp.camguilhem@gmail.com>Contributors==============Jean-Philippe Camguilhem, Author
Package: bobtemplates.kotti
Introductionbobtemplates.kottiprovidesmr.bobtemplates to generate packages for
theKotti CMSAvailable templates are:theme: a simple template for a Kotti theme packageGlobal settingsSome variables are used with every template.  These should be added to the
mr.bob user config in~/.mrbob, e.g.:[variables]

author.name = Andreas Kaiser
author.email = disko@binary-punks.com
author.github.user = diskoCreating a theme packageTo create a Kotti theme run:mrbob -O kotti_theme_spacelab bobtemplates.kotti:themeand answer the questions:Welcome to mr.bob interactive mode. Before we generate directory structure,
some questions need to be answered.

Answer with a question mark to display help.
Value in square brackets at the end of the questions present default value
if there is no answer.


--> Name of the package: kotti_theme_spacelab

--> Version of the package [0.1]:

--> License of the package [BSD]:

--> Name of the theme: Spacelab

--> Original URL of the wrapped theme: http://bootswatch.com/spacelab/Add a Bootstrap CSS file:cd kotti_theme_spacelab/kotti_theme_spacelab/static/css/
wget http://bootswatch.com/spacelab/bootstrap.cssSetup the package and run the CSS/JS minifier:cd ../../../
python setup.py develop
python setup.py dev
python setup.py minifyRun the demo:pserve development.iniPoint your browser tohttp://127.0.0.1:5000and enjoy your themed Kotti
site.Changelog0.1-2Simplify setup.py.Fix wrong dev alias in setup.cfg.0.1-1Fix packaging.0.1Initial release.
Package: bobtemplates.pypbr
Creating python packages that usepbrviamr.bobInstall$pipinstallbobtemplates.pypbrUsagemrbob bobtemplates.pypbr:package
...
mrbob bobtemplates.pypbr:namespace_packageVariablesSet in~/.mrbob[variables]user.name=My Nameuser.email=my.name@example.comuser.homepage=http://www.example.com/You will be asked for the relevant values anyway, but the default values of
the fields will be the defined ones.If these variables are not defined, they are queried via git.
mr.bob will ask you for this variables, and recommend the configured ones for
default.There are more variables you could configure, and which are used in the header
of setup.py. Again this could be done in~/.mrbobor git.[variables]...user.copyright_name=Your Companyuser.copyright_year=2014If user.copyright_name is not set, author name is used. If user.copyright_year
is not set, the current year is used.Templatespython_packageUsual python package withpbrpython-simple_package
python-simple_package/.gitignore
python-simple_package/LICENSE
python-simple_package/MANIFEST.in
python-simple_package/README.rst
python-simple_package/setup.cfg
python-simple_package/setup.py
python-simple_package/simple_package
python-simple_package/simple_package/__init__.pypython_namespace_packagepython namspace package withpbrpython-simple-namespace
python-simple-namespace/.gitignore
python-simple-namespace/LICENSE
python-simple-namespace/MANIFEST.in
python-simple-namespace/README.rst
python-simple-namespace/setup.cfg
python-simple-namespace/setup.py
python-simple-namespace/simple
python-simple-namespace/simple/__init__.py
python-simple-namespace/simple/namespace
python-simple-namespace/simple/namespace/__init__.pyKnown issuesRecommendation of name etc. from git does not work on python < 2.7mr.bob does not install as a requirement withpip < 6. Consider to
mr.bob by hand.$pipinstallmr.bob$pipinstallbobtemplates.pypbr
Package: bobtemplates.sixfeetup
bobtemplates.unified_buildoutbobtemplates.sixfetupprovides amr.bobunified_buildouttemplate to generate a buildout for Plone based projects.FeaturesThe project created withbobtemplates.sixfeetupuse the current Six Feet Up deployment best-practices when creating an project.BuildoutThe package is contained in a buildout that allows you to build Plone with the new package installed for testing-purposes.PolicyThe package contains a policy package.ThemeAdds a Diazo theme package based on Barceloneta.ContentAdds a content package for new Dexterity based content types.MigrationA starting point for creating a transmogrifier import pipeline.InstallationInstallation in a virtualenvYou can installbobtemplates.sixfeetupin a virtualenv.$pipinstallbobtemplates.sixfeetupWithpip 6.0or newermr.bobwill automatically be installed as a dependency. If you still use a older version of pip you need installmr.bobbeforebobtemplates.sixfeetup.$pipinstallmr.bobNow you can use it like this$mrbob-Omyprojectbobtemplates.sixfeetup:unified_buildoutSeethe documentation of mr.bobfor further information.DevelopmentTo contribute to these templates, clone the repository then in the package folder create a virtualenv and install the package::$makeContributeIssue Tracker:https://github.com/sixfeetup/bobtemplates.sixfeetup/issuesSource Code:https://github.com/sixfeetup/bobtemplates.sixfeetupSupportIf you are having issues, please let us know.ContributorsThis package is based onbobtemplates.ploneCalvin Hendryx-Parker [calvinhp]Changelog2.1 (2021-01-07)convert docs from RST to MDadd cache purge script to run during buildout in release environmentsmove plone.app.contenttypes dependency to initial profileupdate default plone versionsadd question to include collective.cloudfrontremove maildump from requirementsadd script to check for and re-add Unauthorized errors back into ignored - exceptionsupdate Python setup documentationadd starter Release Info documenation section
[abosio]2.0 (2020-01-02)Set up for Plone 5.2/Python3
[cdw9]Add default makefile
[rpatterson]Fixes for when a theme is not added
[abosio]1.1 (2018-08-25)Set up Gulp for theme
[abosio]Consistency for instance names and ports
[cdw9]Add a migration package
[cdw9]1.0 (2016-09-12)Initial Release
[calvinhp]
Package: bob-the-developer
Bob is my collection of build tools. The goal is to provide a simple interface
to build and test projects without having to remember or lookup various commands.For now, this project limits itself to C/C++ projects.How to usebobbuildOther commands available are:
*bootstrap: gather dependencies and toolchain(s)
*configure: configure a build system.
*install: install the package.RequirementsPython 3.8+gitDevelopmentSetup a virtual environment and activate it:python3-mvenv.env_dev..env_dev/bin/activateInstall locally:pipinstall--editable.[dev]Test:pytestRun the complete test-suiteSetup a virtual environment and activate it:python-mvenv.env_tox..env_tox/bin/activateInstall locally:pipinstall--editable.[tox]Test:toxConfigured toolsblackfor code formatting.rufffor linting.pylintfor linting.mypyfor static type checking.
Package: bob.thesis.ichingo2015
This package contains scripts to be used to reproduce the results of my PhD thesis titled: “Trustworthy Biometric Recognition Under Spoofing Attacks: Application to the Face Mode”. It was done during my work at theBiometrics groupinIdiap Research InstituteandEcole Polytechnique Fédérale de Lausanne (EPFL).Raw dataThe data used in the paper is publicly available and should be downloaded and
installedpriorto try using the programs described in this package. Visitthe REPLAY-ATTACK database portalfor more information.InstallationThebob.thesis.ichingo2015package is a satellite package of the free signal processing and machine learning libraryBob. This dependency has to be downloaded manually. This version of the package depends onBobversion 2 or greater. To installpackages of Bob, please read theInstallation Instructions. ForBobto be able to work properly, some dependent Bob packages are required to be installed. Please make sure that you have read the Dependencies for your operating system.The most simple solution is to download and extractbob.thesis.ichingo2015package, and then run the following:$ cd bob.thesis.ichingo2015
$ python bootstrap-buildout.py
$ bin/buildoutThis will download all required dependentBoband other packages and install them locally.Using the packageAfter instalation of the package, you can generate a documentation locally:$ ./bin/sphinx-build doc sphinxNow, the full documentation of the package, including a User Guide, will be availabe insphinx/index.html. It contains all the necessary information about how to run the scripts and reproduce the results.ProblemsIn case of problems, please contact Ivana Chingovska
Package: bob.thesis.tiago
Python package to reproduce the experiments from Tiago de Freitas Pereira’s thesisThis package is part of the signal-processing and machine learning toolboxBob.
This package is part of thebob.biopackages, which allow to run comparable and reproducible biometric recognition experiments on publicly available databases.InstallationFollow ourinstallationinstructions. Then, using the Python interpreter
provided by the distribution, bootstrap and buildout this package:$ conda install bob.thesis.tiago
$ bob bio htface --helpContactFor questions or reporting issues to this software package, contact our
developmentmailing list.
Package: bob-vf-client
voxelfarm client PackageThis is a simple example package. You can useVoxelfarm PythonCookbookto write your content.Initialize APIThis examples shows how to create a new instance of the Voxel Farm client Python API.# Import the Voxel Farm Client Libraryimportvoxelfarmclient# The URL for the Voxel Farm APIvf_api_url=os.getenv('YOUR_VOXELFARM_API_URL')# Create instance of the Voxel Farm REST APIvf=voxelfarmclient.rest(vf_api_url)Provide CredentialsThis example shows how to provide credentials for API authentication.# Set credentialsaad_app_secrets=os.getenv('AAD_APP_SECRETS')if(aad_app_secrets!=None):vf.set_file_credentials(aad_app_secrets)Specify an HTTP proxyThis example shows how to specify an HTTP proxy to be used in all HTTP calls made by the API.# Use a proxy to debug HTTP requests using Fiddler or similar
proxies = {
  "http": os.getenv('YOUR_PROXY_URL'),
}

# Set the proxy to debug HTTP calls
vf.set_proxy(proxies)Get CRS from projectThis example shows how to retrieve the project's CRS (Coordinate Reference System).# Get the coordinate system given project IDresult=vf.get_project_crs(project)ifnotresult.success:print(result.error_info)exit()crs=result.crs
Package: bobzillapypi
The ngrok Agent SDK for PythonWebsiteNote: This is alpha-quality software. Interfaces are subject to change without warning.ngrok is a globally distributed reverse proxy commonly used for quickly getting a public URL to a
service running inside a private network, such as on your local laptop. The ngrok agent is usually
deployed inside a private network and is used to communicate with the ngrok cloud service.This is the ngrok agent in library form, suitable for integrating directly into Python
applications. This allows you to quickly build ngrok into your application with no separate process
to manage.If you're looking for the previous agent downloader project, it's overhere.InstallationThe published library is available onPyPI.python-mpipinstallngrokngrok-py officially supports Python 3.7+.QuickstartAfter you've installed the package, you'll need an Auth Token. Retrieve one on theAuth Token page of your ngrok dashboardThere are multiple examples inthe /examples directory.
A minimal use-case looks like the following:asyncdefcreate_tunnel():builder=NgrokSessionBuilder()session=awaitbuilder.authtoken_from_env().connect()tunnel=awaitsession.http_endpoint().metadata("python tun meta").listen()print("tunnel:{}".format(tunnel.url()))res=awaittunnel.forward_tcp("localhost:9000")Platform SupportPre-built binaries are provided on PyPI for the following platforms:OSi686x64aarch64armWindows✓✓*MacOS✓✓Linux✓✓✓Linux musl✓✓FreeBSD*ngrok-py, andngrok-rswhich it depends on, are open source, so it may be possible to build them for other platforms.Windows-aarch64 will be supported after the next release ofRing.FreeBSD-x64 is built by the release process, but PyPI won't accept BSD flavors.DependenciesThis project relies onPyO3, an excellent system to ease development and building of Rust plugins for Python.Thank you toOpenIoTHubfor handing over the ngrok name on PyPI.LicenseThis project is licensed under either ofApache License, Version 2.0, (LICENSE-APACHEorhttp://www.apache.org/licenses/LICENSE-2.0)MIT license (LICENSE-MITorhttp://opensource.org/licenses/MIT)at your option.ContributionUnless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in tokio-core by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.