Saravanan666/pypi-org huggingface dataset:
Package: beefapi
BeEF-API=======Python library that facilitates interacting with [BeEF](http://beefproject.com/) via it's RESTful APIRequires Python 2.7 and the ```requests``` package (```pip install requests```)Examples========- import the library and login to BeEF```pythonIn [1]: from beefapi import BeefAPIIn [2]: beef = BeefAPI({})In [3]: beef.login('beef', 'beef')Out[3]: True```- Print the id and name of all available modules:```pythonIn [10]: for module in beef.modules:....:     print module.id, module.name....:222 Replace HREFs (HTTPS)223 Redirect Browser (Rickroll)220 Replace Videos221 Fingerprint Ajax218 iOS Address Bar Spoofing219 Redirect Browser216 Get Cookie217 Get Page HREFs-- SNIP --```- Find all modules containing the string 'd-link' and print their id and name:```pythonIn [7]: for module in beef.modules.findbyname('d-link'):...:     print module.id, module.name...:88 D-Link DSL-2740R DNS Hijack67 D-Link DIR-615 Password Wipe120 D-Link ShareCenter Command Execution81 D-Link DSL-2640B DNS Hijack80 D-Link DSL500T CSRF```- Find all online hooked browsers that have the string 'windows' in their OS attribute```pythonIn [7]: beef.hooked_browsers.online.findbyos('windows')Out[7]: [<core.beefapi.Session object at 0x7f24b40dd710>]In [8]: beef.hooked_browsers.online.findbyos('windows')[0].idOut[8]: 2In [9]: beef.hooked_browsers.online.findbyos('windows')[0].sessionOut[9]: u'0EbkU7OUmaLBSGOtcdy43wMIh1r2VtU7O2QHsSzYJKONQCJ90gMnj53CQOQnZ9IfNIkr5SLBde1puw3v'In [10]: beef.hooked_browsers.online.findbyos('windows')[0].nameOut[10]: u'FF'In [11]: beef.hooked_browsers.online.findbyos('windows')[0].detailsOut[11]:{u'BrowserLanguage': u'en-US',u'BrowserName': u'FF',u'BrowserPlatform': u'Win32',u'BrowserPlugins': u'Google Update-v.1.3.27.5,Java Deployment Toolkit 6.0.300.12-v.6.0.300.12,Silverlight Plug-In-v.5.1.40416.0',u'BrowserReportedName': u'Mozilla/5.0 (Windows NT 6.3; rv:38.0) Gecko/20100101 Firefox/38.0',u'BrowserType': u'{"C19iOS":null,"C20iOS":null,"C21iOS":null,"C22iOS":null,"C23iOS":null,"C24iOS":null,"C25iOS":null,"C26iOS":null,"C27iOS":null,"C28iOS":null,"C29iOS":null,"C30iOS":null,"C31iOS":null,"C32iOS":null,"C33iOS":null,"C34iOS":null,"C35iOS":null,"C36iOS":null,"C37iOS":null,"C38iOS":null,"C39iOS":null,"C40iOS":null,"C41iOS":null,"C42iOS":null,"C":null,"FF38":true,"FF":true}',u'BrowserVersion': u'38',u'CPU': u'32-bit',-- SNIP--```- Print the id, browser and os of all online hooked browsers```pythonIn [13]: for hook in beef.hooked_browsers.online:print hook.id, hook.name, hook.os....:2 FF Windows 8.1```- Run a module against all online hooked browsers:```In [14]: for hook in beef.hooked_browsers.online:....:     print hook.run(223)....:{u'success': u'true', u'command_id': u'4'}```- Get the results of the previously executed module```pythonIn [25]: beef.hooked_browsers.onlineOut[25]: [<core.beefapi.Session object at 0x7f079cd89090>]In [18]: session = beef.hooked_browsers.online[0].sessionIn [20]: beef.modules.findbyid(223).results(session, 4)Out[20]:{u'0': {u'data': u'{"data":"result=Rickroll Successful"}',u'date': u'1433706868'}}```
Package: beefish
Easy file encryption using pycryptoinstallingpip install beefish pycryptoAlternatively:pip install -e git+git://github.com/coleifer/beefish.git#egg=beefishDependencies:pycryptocommand-line optionsUsage:beefish.py [-tkedaq] in_file [out_file]-e- encrypt the providedin_fileand write toout_file-d- decrypt the providedin_fileand write toout_file-k- specify password as command-line argument (if unspecified you will
be securely prompted).-a- use AES-256 instead of the default “Blowfish” cipher.-t- run test suite-q- quiet mode (controls verbosity of test output).examplesbeefish can be used to encrypt and decrypt file-like objects:from beefish import encrypt, decrypt

# encrypting
with open('secrets.txt') as fh:
    with open('secrets.enc', 'wb') as out_fh:
        encrypt(fh, out_fh, 'secret p@ssword')

# decrypting
with open('secrets.enc') as fh:
    with open('secrets.dec', 'wb') as out_fh:
        decrypt(fh, out_fh, 'secret p@ssword')you can use a shortcut if you like:# encrypting
encrypt_file('secrets.txt', 'secrets.enc', 'p@ssword')

# decrypting
decrypt_file('secrets.enc', 'secrets.dec', 'p@ssword')you can use it from the command-line:beefish.py -e secrets.txt secrets.enc
beefish.py -d secrets.enc secrets.decto use AES-256 cipher instead of the default, which is blowfish:beefish.py -a -e secrets.txt
beefish.py -a -d secrets.encrypted
Package: beefish3
beefish3Fork of beefish :https://github.com/coleifer/beefish.gitEasy file encryption using pycryptodome.installingpip install pycryptodome beefishDependencies:pycryptodomecommand-line optionsUsage:beefish3.py [-tkedaq] in_file [out_file]-e- encrypt the providedin_fileand write toout_file-d- decrypt the providedin_fileand write toout_file-k- specify password as command-line argument (if unspecified you will
be securely prompted).-a- use AES-256 instead of the default "Blowfish" cipher.-t- run test suite-q- quiet mode (controls verbosity of test output).examplesbeefish3 can be used to encrypt and decrypt file-like objects:from beefish3 import encrypt, decrypt

# encrypting
with open('secrets.txt') as fh:
    with open('secrets.enc', 'wb') as out_fh:
        encrypt(fh, out_fh, 'secret p@ssword')

# decrypting
with open('secrets.enc') as fh:
    with open('secrets.dec', 'wb') as out_fh:
        decrypt(fh, out_fh, 'secret p@ssword')you can use a shortcut if you like:from beefish3 import encrypt_file, decrypt_file

# encrypting
encrypt_file('secrets.txt', 'secrets.enc', 'p@ssword')

# decrypting
decrypt_file('secrets.enc', 'secrets.dec', 'p@ssword')you can use it from the command-line:beefish3.py -e secrets.txt secrets.enc
beefish3.py -d secrets.enc secrets.decto use AES-256 cipher instead of the default, which is blowfish:beefish3.py -a -e secrets.txt
beefish3.py -a -d secrets.enc
Package: beefly
BeeflyBeefly is efficient visualization training packages of Keras, enabling the live visualization of loss function and metrics during training process.Beefly is process in the Jupyter Notebook, so we recommend Jupyter Notebook as Beefly's developing environment.|API Document|API文档|中文介绍|InstallationTo installthis verson from PyPI, type:pip install beeflyTo get the newest one from this repo (note that we are in the alpha stage, so there may be frequent updates), type:pip install git+git://github.com/Hourout/beefly.gitFeatureVisualization of general machine learning trainingSupport customizing the name of loss function and metricSupport customizing the name of validation setSupport displaying the result of training set and test set in the same plotSupport setting maximum training number of iterationsSupport both batch way and epoch way to trainSupport visual plottingSupport visual plotting in both batch way and epoch way periodicallykeras backendSupport customizing the name of loss function and metric in epoch waySupport customizing the name of validation set in epoch waySupport displaying the result of training set and test set in the same plot in epoch waySupport setting maximum training number of iterations in epoch waySupport visual plotting in epoch waySupport visual plotting in both batch way and epoch way periodically in epoch waySupport customizing the name of loss function and metric in batch waySupport customizing the name of validation set in batch waySupport displaying the result of training set and test set in the same plot in batch waySupport setting maximum training number of iterations in batch waySupport visual plotting in batch waySupport visual plotting in both batch way and epoch way periodically in batch wayExamplebeefly.plot_metrics()beefly.PlotMetricsOnBatch()beefly.PlotMetricsOnEpoch()
Package: beefore
BeeforePerforms pre-merge checks (such as code style) on a pull request.QuickstartDocumentationDocumentation for Beefore can be found onRead The Docs.CommunityBeefore is part of theBeeWare suite. You can talk to the community through:@pybeeware on TwitterThepybee/generalchannel on Gitter.We foster a welcoming and respectful community as described in ourBeeWare Community Code of Conduct.ContributingIf you experience problems with Beefore,log them on GitHub. If you
want to contribute code, pleasefork the codeandsubmit a pull request.
Package: beehiiv
beehiivPython wrapper for BeeHiiv APIInstallpip3 install beehiivExampleimportosimportbeehiivPUBLICATION_ID=os.environ['BEEHIIV_PUBLICATION_ID']API_KEY=os.environ['BEEHIIV_API_KEY']bh=beehiiv.BeeHiiv(api_key=API_KEY,publicationId=PUBLICATION_ID)subscriptions=bh.subscriptions.index(expand=["stats","custom_fields"],limit=5)print(subscriptions)Classes and methodsBeeHiiv.email_blast.index - Retrieve all Email Blasts
BeeHiiv.email_blast.show - Retrieve an Email Blast

BeeHiiv.posts.index - Retrieve all posts belonging to a specific publication
BeeHiiv.posts.show - Retreive a single Post belonging to a specific publication
BeeHiiv.posts.destory - Delete or Archive a post.

BeeHiiv.publications.index - Retrieve all publications associated with your API key.
BeeHiiv.publications.show - Retrieve a single publication

BeeHiiv.referral_program.show - Retrieve details about the publication's referral program

BeeHiiv.segments.index - Retrieve information about all segments belonging to a specific publication
BeeHiiv.segments.show - Retrieve a single segment belonging to a specific publication
BeeHiiv.segments.delete - Delete a segment.
BeeHiiv.segments.expand_results - List the Subscriber Ids from the most recent calculation of a specific publication.

BeeHiiv.subscriptions.create - Create new subscriptions for a publication.  
BeeHiiv.subscriptions.index - Retrieve all subscriptions belonging to a specific publication
BeeHiiv.subscriptions.show - Retrieve a single subscription belonging to a specific publication
BeeHiiv.subscriptions.update - Update a subscriber 
BeeHiiv.subscriptions.delete - Delete a subscription.
Package: beehve
[![Stories in Ready](https://badge.waffle.io/code4maine/beehve.png?label=ready&title=Ready)](https://waffle.io/code4maine/beehve)
Beehve
======[![Build
Status](https://travis-ci.org/Code4Maine/beehve.svg?branch=master)](https://travis-ci.org/Code4Maine/beehve)Inspired and heavily copied from
[laddr](http://github.com/CfABrigadePhiladelphia/laddr), Beehve aims to be a
one-stop-shop for what’s going in our Code for America Bridage in Maine: Code 4
Maine. Mostly, as a Django dev in my other life, I couldn’t stomach hacking on
the PHP codebase of laddr. So hopefully we can get this app to a place where it
will meet our needs and be highly extensible as well.Of course there are always trade-offs, and, as a Django app, deployment is not
what it could be. But hopefully I can get it hooked up with Herkou and make it
pretty easy to get started.Features include:Project trackingMembers directoryGithub integrationProject buzzBig screen for public eventsNot all of these work yet, but we’re on way to a 1.0.DeploymentDeployment of Beehve is done via the ansible roles found in the ansible
directory (tada …). Usage of these roles is contingent on a few configuration
details:Configure your target hosts in the ansible/hosts fileCopy ansible/hosts_vars/www.example.com ansible/host_vars/www.yourdomain.comFill in the details of the host_vars fileRun:`ansible-playbook-iansible/hosts--limitproduction ansible/all.yml`Easy bootstrapping!Powered by the ubiquitous Makefile … this should be pretty easy:make installmake runopen your browser to:http://127.0.0.1:45000Alternately, you can build a vagrant box, in case you’re not on Linux:vagrant upThat’s pretty slick, but will also come with some “issues”Librarys, librarys, librarys!Of course, we could provide a vagrant file and a provisoner and all
that jazz. But I’d rather provide a make file for installing everything
into a venv and let you muck about with libraries. Those of you on
Linux shouldn’t have too much trouble installing the requisite development
libraries below. The names are for debian-based distros, but they
exist for all major distros.On Mac it may be a little tricker. Homebrew will get you quite far, but
first you have to install the bloated XCode and the CLI tools.The libraries are:libmemcached-devlibfreetype6-devlibjpeg-dev
Package: beekeeper
Descriptionbeekeeper is a Python library designed around dynamically generating a
RESTful client interface based on a minimal JSON hive.The hive specification is designed to provide beekeeper (or other
applications consuming hive files) with programmatically-designed
insight into the structure of both the REST endpoints that are available
and the objects and methods that those endpoints represent.While the classes available in beekeeper can be used manually to create
Pythonic representations of REST endpoints, it is strongly preferred
that the library be used as a whole with a constructed hive file. As
APIs become larger in scale (in terms of the number of endpoints and
represented objects), the time benefit of beekeeper becomes more
pronounced, as adding additional objects and endpoints is a trivial
process.Requirementsbeekeeper requires Python 2.7.9/3.4.3 or higher and their built-in
modules, as well as xmltodict.InstallationpipinstallbeekeeperUsageThe usage of beekeeper will depend on what features are provided by the
person who wrote the hive file. There are a number of ways that the hive
writer can make your life easier. Regardless, at a base level, usage will
look something like this:frombeekeeperimportAPImyAPI=API.from_hive_file('fname.json')x=myAPI.Widgets.action(id='foo',argument='bar')If the hive developer defines an ID variable for the object you’re working
with, you can subscript, dictionary style:x=myAPI.Widgets['foo'].action(argument='bar')If you’ve only got one remaining argument in the method call, you don’t even
need to name it! You can do something like this:x=myAPI.Widgets['foo'].action('bar')This also holds true if you have multiple variables, but the other ones are
assigned by name:x=myAPI.Widgets['foo'].action('bar',var2='baz')If you’re using a hive file, then it should define which variables are needed.
If you try to call a function without filling in that variable, it should
automatically yell at you and tell you what variables are missing. Since these
variables are defined within the hive, beekeeper will do the work for you,
automatically determine what data type a particular variable is, and put it
exactly where it needs to go.beekeeper will also automatically handle parsing data. When you
send data, beekeeper will read the MIME type that was defined in the variable
for that data, and try to automatically move it from a “Python” format (e.g.,
a dictionary) to the right REST API format (e.g., JSON).This holds true in the other direction as well; beekeeper will read the MIME
type of the response data, and hand it back to you in a Pythonic format! If
beekeeper doesn’t know how to handle the data, it’ll just give you the raw
bytes so that you can do what you need to with them.Notesbeekeeper does not currently do SSL certificate verification when used
on Python versions earlier than 2.7.9 or 3.4.3.
Package: beekeeper-alt
Descriptionbeekeeper is a Python library designed around dynamically generating a
RESTful client interface based on a minimal JSON hive.The hive specification is designed to provide beekeeper (or other
applications consuming hive files) with programmatically-designed
insight into the structure of both the REST endpoints that are available
and the objects and methods that those endpoints represent.While the classes available in beekeeper can be used manually to create
Pythonic representations of REST endpoints, it is strongly preferred
that the library be used as a whole with a constructed hive file. As
APIs become larger in scale (in terms of the number of endpoints and
represented objects), the time benefit of beekeeper becomes more
pronounced, as adding additional objects and endpoints is a trivial
process.Requirementsbeekeeper requires Python 2.7.9/3.4.3 or higher and their built-in
modules, as well as xmltodict.InstallationpipinstallbeekeeperUsageThe usage of beekeeper will depend on what features are provided by the
person who wrote the hive file. There are a number of ways that the hive
writer can make your life easier. Regardless, at a base level, usage will
look something like this:frombeekeeperimportAPImyAPI=API.from_hive_file('fname.json')x=myAPI.Widgets.action(id='foo',argument='bar')If the hive developer defines an ID variable for the object you’re working
with, you can subscript, dictionary style:x=myAPI.Widgets['foo'].action(argument='bar')If you’ve only got one remaining argument in the method call, you don’t even
need to name it! You can do something like this:x=myAPI.Widgets['foo'].action('bar')This also holds true if you have multiple variables, but the other ones are
assigned by name:x=myAPI.Widgets['foo'].action('bar',var2='baz')If you’re using a hive file, then it should define which variables are needed.
If you try to call a function without filling in that variable, it should
automatically yell at you and tell you what variables are missing. Since these
variables are defined within the hive, beekeeper will do the work for you,
automatically determine what data type a particular variable is, and put it
exactly where it needs to go.beekeeper will also automatically handle parsing data. When you
send data, beekeeper will read the MIME type that was defined in the variable
for that data, and try to automatically move it from a “Python” format (e.g.,
a dictionary) to the right REST API format (e.g., JSON).This holds true in the other direction as well; beekeeper will read the MIME
type of the response data, and hand it back to you in a Pythonic format! If
beekeeper doesn’t know how to handle the data, it’ll just give you the raw
bytes so that you can do what you need to with them.Notesbeekeeper does not currently do SSL certificate verification when used
on Python versions earlier than 2.7.9 or 3.4.3.
Package: beelzebub
beelzebubBeelzebub is a lightweight framework to transform input to output.  The base classes aren't meant to be used directly, rather they establish the interfaces of the framework, and provide a basis with which to derive classes for defining a particular transformation workflow.A workflow consists of a reader class, a writer class, and a processor class.  The workflow class instantiates one of each of these classes, and then executes the workflow of reading input from a givensourcevia the reader class, writing output to a givensinkvia the writer class, and the processor class calls the reader and passes the read input to the writer.Both the reader and writer classes are based on a common context manager class.  In particular, theopen()method can read/write to one of a set of supportediostreamtypes.  Theiotypeshould be one of['file','url','str']and defaults tostr.The workflow class can optionally setup logging for the workflow (based on the existence of aloggersection in the optional configuration dict), and then calls therun()method, passing the source and sink.As mentioned, an optional configuration dict can be passed when instantiating the workflow object.  As a particular workflow will have specific reader, writer and processor classes, the configuration items for each of these components is arbitrary, suited to the particular workflow.  However, the framework will look for a toplevel key calledreaderto pass to the reader class,writerto pass to the writer class, andprocessorto pass to the processor class.  In addition, if aloggerkey exists, then this will be used to configure logging, via a call tologging.config.dictConfig(logging_conf).One of the main uses of the configuration is to specify the iotype for the reader and writer.  For example, if the input is read from a file, but the output is to be written to a string, then at least areaderconfiguration is required, asfileis not the default iotype for the reader:conf={'reader':{'iotype':'file'},'writer':{'iotype':'str'}}in_file=sys.argv[1]out_file=Nonex=BaseWorkflow(conf=conf)x.run(in_file,out_file)print(x.writer.output)Note that if the output is to be written to a string, then the sink argument (here,out_file) torun()is redundant, and can be set toNone.  In this case, access the output string via the workflow's writer'soutputattribute.
Package: beelzebub-md-iso
beelzebub-md-isoBeelzebub-md-iso is a subpackage ofbeelzebub.  Given a metadata record inmdJSONformat, it will translate it toISO19115-2format.Example Usagefrom beelzebub.md_iso import MdjsonToISO19115_2

conf = {
    'reader': {'iotype': 'file'},
    'writer': {'iotype': 'file'}
}
in_file = '/path/to/mdjson/metadata.json'
out_file = '/path/to/iso19115-2/metadata.xml'

x = MdjsonToISO19115_2(conf=conf)
x.run(in_file, out_file)ReferencesNOAA have usefulmetadata resources, including thisISO Workbookand thiscollection level metadata template.
Package: beeminder-sync
Beeminder Sync==============`DocumentationStatus <https://beeminder-sync.readthedocs.io/en/latest/?badge=latest>`__`Build Status <https://travis-ci.org/dileep-kishore/beeminder-sync>`__`codecov <https://codecov.io/gh/dileep-kishore/beeminder-sync>`__`RequirementsStatus <https://requires.io/github/dileep-kishore/beeminder-sync/requirements/?branch=master>`__`pypi <https://pypi.python.org/pypi/beeminder_sync>`__A ``Python`` CLI to sync various data sources with`Beeminder <https://github.com/dileep-kishore/beeminder-sync>`__-  Free software: MIT license-  Documentation: https://beeminder-sync.readthedocs.io.Work in progress----------------This is a ‘work in progress’ use with cautionDemo~~~~.. figure:: assets/demo.gif:alt: DemoDemoFeatures---------  Use the Beeminder api from the comfort of your terminal!-  Cool interactive CLI created using```click`` <http://click.pocoo.org/6/>`__ and```halo`` <https://github.com/ManrajGrover/halo>`__Coming Soon------------  Filter output-  Integrations with other api-  Ability to run as a background serviceCredits-------This package was created with`Cookiecutter <https://github.com/audreyr/cookiecutter>`__ and the`audreyr/cookiecutter-pypackage <https://github.com/audreyr/cookiecutter-pypackage>`__project template.=======History=======0.1.0 (2018-06-21)------------------* First release on PyPI.
Package: beeminder-to-sqlite
beeminder-to-sqliteSave data fromBeeminderto a SQLite database.
Supports saving goal data and data points.How to install$ pip install beeminder-to-sqliteAuthenticationRun the following command and enter your beeminder personal auth token:$ beeminder-to-sqlite authThis will create a file calledauth.jsonin your current directory containing
the required value. To save the file at a different path or filename, use the--auth=myauth.jsonoption.UsageAfter you've setup your authentication, you can use the following commend to
download and save your Beeminder data:$ beeminder-to-sqlite goals beeminder.dbMore detailed help can be found by running the command with--help$ beeminder-to-sqlite --helpAttributionThis package is heavily inspired bygoodreads-to-sqlitebyTobias Kunzeandgithub-to-sqlitebySimon Willison.This package was designed to fit nicely in thedogsheep/datasetteecosystems.
Package: beemodoro
Utilize the power ofBeeminderandPomodoro. This little script runs a Pomodoro timer in
your terminal and increments your Beeminder goal counter when it’s done. This
requires your project to count 1 Pomodoro per step.Quick startSet the following environment variables (usingforeman,export, …):BEEMINDER_KEY… your Beeminder API keyBEEMINDER_USER… your Beeminder usernameBEEMINDER_GOAL… your Beeminder goal slug name (can be found in your
goal settings)./beeminder.py "Work on secret project"Work for 25 minutesYou just finished a Pomodoro! Take a break :)RequirementsPython 3OS X say (for TTS output)