Saravanan666/pypi-org huggingface dataset:
Package: fbl
FBL(Find/File broken links)FBL is tool to find broken links in articles and fileshow it worksFBL finds all the links and checks them all. Any broken link will be displayed to youThings you need in your systemPythonPipGitGit is not required if you are installing withpipHow to installInstalling viapip:pip3installfblorGet the last update viagit:gitclonehttps://github.com/mr-tafreshi/fbl&&cdfbl
pip3install-e.How to runRun this command in your terminal or CMD :fbl--file_locationmy.pdfTODO.txt support.pdf supportMark Down Supportdocx support.odt support.htm and .html supportDirectory support.XLS and XLSX support.PPT and .PPTX supportAdd GUI version
Package: fblib
Alternative unofficial version of Facebook Python SDK for Facebook Graph API. Based onRequestslibrary. You can read more about the Graph API by accessing itsofficial documentation.UsageBasic UserAPI usage:from fblib.core import UserAPI
api = UserAPI(<user_access_token>)
api_user = api.get_objects('me')Basic AppAPI usage:from fblib.core import AppAPI
api = fblib.core.AppAPI(app_id=<application_id>, app_secret=<application_key>)
app_token = app_api.get_app_access_token()Proper usage:from fblib.core import UserAPI
access_token = <user_access_token>
api = UserAPI(access_token)
try:
    api_user = api.get_objects('me')
except fblib.core.FacebookError:
    <handling exception>Functional testingRunning tests:python tests.py --access_token=AAACEdEose0cBANLuYDa229TKr74oI6UYZC3BTZA --app_id=390492104572701 --app_secret=5afa25cc01ea0440c340e20e2c6a8dfContributingcheck for open issues or open a fresh issuewhen commiting, usePEP8and0xCodeStylewrite a test which shows that the bug was fixed or that the feature works as expectedadd yourself to AUTHORSsend a pull request and wait until it will be mergedReport Issues/BugsFor library bugs:https://github.com/0xKirill/fblib/issuesFor Facebook Graph API bugs:https://developers.facebook.com/bugsFacebook Graph API QA:http://facebook.stackoverflow.com/
Package: fblics
fblics======Script to convert the [Frauen-Bundesliga schedule](http://www.ffc-turbine.de/ms01_buli1415.php)as provided by [Turbine Potsdam](http://www.ffc-turbine.de/) to the iCalendar data exchange format.Installation------------```shell$ pip install fblics```Usage examples--------------```shell$ fblics --help$ fblics > bundesliga.ics$ fblics -u http://www.ffc-turbine.de/ms02_saison1415.php > 2.bundesliga.ics$ fblics -f Frankfurt > frankfurt.ics$ fblics --turbine > turbine.ics```
Package: fb-me
fb_meA modern, easy to use, feature-rich ready API wrapper forFacebook Messengerwritten in Python.Documentation:https://leandcesar.github.io/fb_me/GitHub:https://github.com/leandcesar/fb_me/PyPI:https://pypi.org/project/fb_me/Free and open source software: MIT licenseFeaturesTODOInstallingStable releaseTo install fb_me, run this command in your terminal:$pipinstallfb_meThis is the preferred method to install fb_me, as it will always install the most recent stable release.If you don’t havepipinstalled, thisPython installation guidecan guide
you through the process.From sourcesThe sources for fb_me can be downloaded from theGithub repo.You can either clone the public repository:$gitclonegit://github.com/leandcesar/fb_meOr download thetarball:$curl-OJLhttps://github.com/leandcesar/fb_me/tarball/masterOnce you have a copy of the source, you can install it with:$pythonsetup.pyinstallUseful LinksTry It - Send a Message with Messenger PlatformCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History
Package: fb_messenger
InstallationMinimum RequirementsPython 2.7+ or Python 3.3+Install from pippipinstallfb_messengerBuild from sourcegitclonehttps://github.com/shananin/fb_messengercdfb_messengerpythonsetup.pyinstallHow to developmakeinstall# create virtualenv folder and install requirementsmakelint# run pylintmaketest# run testsmakeclean# remove virtualenv folderHow to UseSend simple textfromfb_messenger.clientimportFBMessengerfromfb_messengerimportattachmentsfromfb.messenger.exceptionsimportMessengerAPIErrorclient=FBMessenger(ACCESS_TOKEN,logger_level=logging.DEBUG)text=attachments.Text('hello!')try:response=client.send_attachment(RECIPIENT_ID,text)exceptMessengerAPIErrorase:LOGGER.debug(e)Send attachmentMore examples look intoexamplesfolder.image=attachments.Image('http://example.com/img.jpg')try:response=client.send_attachment(RECIPIENT_ID,text)exceptMessengerAPIErrorase:LOGGER.debug(e)Send actionfromfb_messenger.typesimportaction_typestry:response=client.send_action(RECIPIENT_ID,action_types.MARK_SEEN)exceptMessengerAPIErrorase:LOGGER.debug(e)How to process messages in FlaskfromflaskimportFlask,requestimportloggingfromfb_messenger.clientimportFBMessengerfromfb_messenger.typesimportwebhook_typesapp=Flask(__name__)logging.basicConfig()LOGGER=logging.getLogger(__name__)LOGGER.setLevel(logging.DEBUG)client=FBMessenger(ACCESS_TOKEN,logger_level=logging.DEBUG)@app.route('/webhook',methods=['GET'])defget_webhook():ifrequest.args.get('hub.verify_token','')==VERIFY_TOKEN:returnrequest.args.get('hub.challenge','')return'Error',400@app.route('/webhook',methods=['POST'])defpost_webhook():try:client.process_message(request.get_json())exceptExceptionase:LOGGER.debug(e)return'ok'@client.register_webhook(webhook_types.MESSAGE_RECEIVED)defmessage_received(webhook):"""
    :type webhook: fb_messenger.webhooks.MessageReceived
    """LOGGER.debug((webhook_types.MESSAGE_RECEIVED,webhook))@client.register_webhook(webhook_types.POSTBACK_RECEIVED)defpostback_received(webhook):"""
    :type webhook: fb_messenger.webhooks.Postback
    """LOGGER.debug((webhook_types.POSTBACK_RECEIVED,webhook))@client.register_webhook(webhook_types.AUTHENTICATION)defauthentication(webhook):"""
    :type webhook: fb_messenger.webhooks.Authentication
    """LOGGER.debug((webhook_types.AUTHENTICATION,webhook))@client.register_webhook(webhook_types.ACCOUNT_LINKING)defaccount_linking(webhook):"""
    :type webhook: fb_messenger.webhooks.AccountLinking
    """LOGGER.debug((webhook_types.ACCOUNT_LINKING,webhook))@client.register_webhook(webhook_types.MESSAGE_DELIVERED)defmessage_delivered(webhook):"""
    :type webhook: fb_messenger.webhooks.MessageDelivered
    """LOGGER.debug((webhook_types.MESSAGE_DELIVERED,webhook))@client.register_webhook(webhook_types.MESSAGE_READ)defmessage_read(webhook):"""
    :type webhook: fb_messenger.webhooks.MessageRead
    """LOGGER.debug((webhook_types.MESSAGE_READ,webhook))if__name__=='__main__':app.run(debug=True,host='0.0.0.0')
Package: fbmexplorer
This module consists simply of a simple parser that parses your facebook
messages from the archive of your facebook data and outputs them into a
json file.This file is then meant to be used in an interactive web interface that allowsyou to explorer your Messenger history :Persons most talked toDays of the weekLength of MessagesDate of yearTime of dayEtcWanna know more ? Please check out the full repository:https://github.com/adurivault/FBMessage
Package: fbn
fbnTool to monitor fb groups and notify.This was a small holiday project. I just absolutely hate being on Facebook.
The UI, the clunky android app.. Ughh. I uninstalled it a long time ago and just use the
mobile site.
I hate that I am forced to be on it, sometimes, because there is
valuable information from folks on there in some communities I am a part of. This tool
is to remove the need for me to keep watching these groups constantly.$pipinstallfbn

$fbn--help
Usage:fbn[OPTIONS]SimpleCLItooltolookfornewpostsinaFacebookgroupandthensendyouanotification.Publicgroupsdonotrequireauthenticationinformation.Exampleusage:$exportFBN_APPRISE_URL=mailto://gmailusername:gmailpassword@gmail.com$fbn--idcraigslist--every45m--cookies-filefacebook.com_cookies.txt--verbose

Options:-v,--versionShowtheversionandexit.-i,--idTEXTTheFacebookgroupnameorid[required]-u,--usernameTEXTYourFacebookusername[envvar:FBN_FB_USERNAME]-p,--passwordTEXTYourFacebookpassword[envvar:FBN_FB_PASSWORD]-c,--cookies-fileFILEPathtotheFacebookcookiesfile-g,--user-agentTEXTUseragenttouseforscraping-s,--sample-countINTEGERNumberofpoststosample[default:10]-e,--everyTEXTMonitorfrequency.Oftheform<int><m/h/d/w>.Eg:--every2m.Willcheckevery2minutes.-t,--toTEXTMonitorrandomizationfrequency.Requires--every.Sameformas--every.Bothunitsmustmatch.Eg:--every1h--to2h.Willrandomizechecksevery1to2hours.-a,--apprise-urlTEXTTheappriseURLtonotify[envvar:FBN_APPRISE_URL;required]--include-errorsNotifyoferrorsaswell.-v,--verboseEnabledebuglogging.-h,--helpShowthismessageandexit.This usesfacebook-scraperthat scrapes the target group for posts.
If the group is private, authentication is required as you must be a member,
obviously. Auth can be passed using the CLI options or the env varsFBN_FB_USERNAMEorFBN_FB_PASSWORD.
Auth can also be passed in the form of cookies in Netscape or JSON format. Use the CLI option.
You can extract cookies from your browser after logging into Facebook with
an extension likeGet cookies.txt LOCALLY (Chrome)orCookie Quick Manager (Firefox).
Make sure that you include both the c_user cookie and the xs cookie,
you will get an InvalidCookies exception if you don't.Since this is a scraper, the more frequently you scrape, the more the chances are of getting locked out of your account
or even banned permanently. The tool detects temporary bans and backs off appropriately, butbe warned.You may seeConnectionResetError: [Errno 54] Connection reset by peerfor the URLhttps://m.facebook.com/settingsfrom time to time. This is possibly because you are scraping too often. Reduce your frequency and/or rotate cookies to fix this. More infohere.If you do not provide a value for--every, fbn will automatically randomize the checks to once between 2-4 hours which works out a lot better in terms of scraping frequency.Notifications are sent through the amazingApprisewhich supports a ton ofnotification services. Use the CLI option
or env varFBN_APPRISE_URLto set that.
Package: fboauth2
Bare minimum Facebook OAuth2 clientUsagefrom fboauth2 import FBClient
fbclient = FBClient(CLIENT_ID, CLIENT_SECRET, scope='publish_stream',
                    redirect_uri='http://example.com/callback')
# Point users to auth url
redirect(fbclient.get_auth_url())
# Pass code to get access token
code = params['code']
access_token = fbclient.get_access_token(code)
# Make graph requests
me = fbclient.graph_request('me')
print me['name']Licensehttp://marksteve.mit-license.org/
Package: fbonnardot
fbonnardot - My python tools to do signal processingThis module contains tools that I develop, adapt or translate to do signal processing with Python.Tools are organized into subfolders associated to themes (cyclostationarity, display, ...).You can install these tools with pip :pip install fbonnardotIf you change or adapt a function, change its name (for example add your initial after the name)These tools were made for :personal work (http://frederic.bonnardot.free.fr),my research work atLASPI,and for teaching atIUT de ROANNE.Do not consider these tools as perfect or free of error. They can help you but be critical about their results.This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.You should have received a copy of the GNU Affero General Public License
along with this program.  If not, seehttps://www.gnu.org/licenses/.This code is given as is without warranty of any kind.
In no event shall the authors or copyright holder be liable for any claim damages or other liability.
Package: fbotics
FBotics: Python Client for Facebook Send APIRead the documentation atFbotics.io.OverviewFBotics is a Python client for Facebook Send API. The Send API is the main API used to send messages to users, including text,
attachments, structured message templates, sender actions, and more. The goal of this project is to privide a clean and professional
client, which can be used in production environments. For this, each new functionality added will be fully tested and
documented. Currently this project is under development and offers a limited set of features of the Facebook Send API.FeaturesFBotics currently supports sending following message types:Quick RepliesButtonsCall ButtonPostback ButtonURL ButtonTemplatesButton TemplateGeneric TemplateList TemplateReceipt TemplateRead the documentation atFbotics.io.InstallationYou can install the latest version of FBotics using pip:pipinstallfboticsYou can also install FBotics from GitHub source:First, clone FBotics usinggit:gitclonegit@github.com:pasmod/fbotics.gitThen,cdto the project folder and run the install command:cdfbotics
pipinstall.Development & TestingBefore developing FBotics further, please install Docker. For building the Docker image and installing all dependencies
of FBotics, run:cdfbotics
makebuildThen execute the following command to run all the components required to work on FBotics:cdfbotics
makeupTo execute the tests:maketestTo create coverage report:makecoverage
Package: fbp
BuildPy: A Build System for only C, C++written in PythonUsageinstall pip module:pip install fbpthen create file with named<project-name>.buildpyin your C/C++ projectrun commandfbp <project-name>when buildExamplefolders {
  include = include
  source  = src
}

build {
  .fast = true
  .use_glob = true
  .no_overwrite = copy_folder

  compiler {
    c   = clang
    cpp = clang++
  }

  extensions {
    c   = c
    cpp = cc cxx cpp
  }

  flags {
    opti  = -O2
    c     = $opti -Wno-switch -Wimplicit-fallthrough
    cpp   = $c -std=c++20
    link  = -Wl,--gc-sections
  }

  objects_folder = build
  linker = $compiler.cpp
}Contributewelcome!
Package: fbparser
CLI tool/library to parse, organize and export your Facebook message archives.Facebook data can be downloaded via the link at the bottom of
your settings page:https://www.facebook.com/settingsThis library makes use of themessages.htmfile located in thehtml/directory inside your archive.Why?Facebook exports your messages as one gigantic HTML file. Messages are grouped
into individual threads, though chats with a single person are broken up
throughout the file, which reads oldest-to-newest. That’s annoying. This
fixes that.InstallationTo install viapip, just run:$pipinstallfbparserTo install locally, from the same directory assetup.py, run:$pythonsetup.pyinstallExample useTo export your threads to CSV, from the directory containingmessages.htm, run this command:$fbparser--csvmessages.htmThis will create a directory namedfbparser_out/in your current directory
containing your CSV exports. Exports can also be made in JSON or plaintext
formats (with--jsonand`--text), or printed to the console
with--stdoutTo specify your Facebook name (to remove from filenames), use the--nameflag. If you specify your Facebook UID with--uid, that UID will be
replaced with the name you specified. For example:$fbparser--csv--name="John Smith"--uid="12345@facebook.com"messages.htmEverywhere12345@facebook.comis found, it will be replaced withJohn Smith, which will also be removed from export filenames for clarity.Replacing names/UIDsFacebook’s archives are littered with UIDs and people that have changed
their display names multiple times. To substitute certain names, feed in a
file with--replace=file_name.txtExample:J Smith=John Smith
12345@facebook.com=John Smith
John H Smith=John SmithEach line should be formatted likeName to replace=New nameFBParser merges threads containing the same users, so if you see numerous
threads for the same person with different display names (or UIDs), this
will correct those names prior to merging the threads.Example:$fbparser--csv--uid="12345@facebook.com"--name="John Smith"--replace="replace.txt"messages.htmParsing errorsIf you encounter errors trying to parse an archive, use the--sanitizeflag.
This creates a backup asmessages.htm.bakand writes the new version to
the original filename before attempting to parse the file.
Package: fbpcp
FBPCP (Facebook Private Computation Platform)Secure multi-party computation(also known as secure computation, multi-party computation (MPC), or privacy-preserving computation) is a subfield of cryptography with the goal of creating methods for parties to jointly compute a function over their inputs while keeping those inputs private.FBPCP (Facebook Private Computation Platform) is a secure, privacy safe and scalable architecture to deploy MPC (Multi Party Computation) applications in a distributed way on virtual private clouds.FBPCF(Facebook Private Computation Framework) is for scaling MPC computation up via threading, while FBPCP is for scaling MPC computation out viaPrivate Scalingarchitecture. FBPCP consists of various services, interfaces that enable various private measurement solutions, e.g.Private Lift.Private Scalingresembles the map/reduce architecture and is secure against a semi-honest adversary who tries to learn the inputs of the computation. The goal is to secure the intermediate output of each shard to prevent potential privacy leak.Installation Requirements:Prerequisites for working on Ubuntu 18.04:An AWS account (Access Key ID, Secret Access Key) to use AWS SDK (boto3 API) in FBPCPpython >= 3.8python3-pipInstalling prerequisites on Ubuntu 18.04:python3.8sudoapt-getinstall-ypython3.8python3-pipsudoapt-getinstall-ypython3-pipInstalling fbpcppython3.8-mpipinstall'git+https://github.com/facebookresearch/fbpcp.git'# (add --user if you don't have permission)# Or, to install it from a local clone:gitclonehttps://github.com/facebookresearch/fbpcp.git
python3.8-mpipinstall-efbpcp# (add --user if you don't have permission)# Or, to install it from Pypipython3.8-mpipinstallfbpcpUpgrading fbpcpTo latest version in github main branchpython3.8-mpipuninstallfbpcp# uninstall fbpcp firstpython3.8-mpipinstall'git+https://github.com/facebookresearch/fbpcp.git'# (add --user if you don't have permission)# re-install fbpcp from github repositoryTo latest version in Pypipython3.8-mpipinstallfbpcp--upgradeArchitectureServices:MPCService is the public interface that provides APIs to distribute a MPC application with large dataset to multiple MPC workers on cloud.Other componentsJoin the FBPCP communityWebsite:https://github.com/facebookresearch/fbpcpSee theCONTRIBUTINGfile for how to help out.LicenseFBPCP isMITlicensed, as found in the LICENSE file.
Package: fbpcs
FBPCS (Facebook Private Computation Service)Secure multi-party computation(also known as secure computation, multi-party computation (MPC), or privacy-preserving computation) is a subfield of cryptography with the goal of creating methods for parties to jointly compute a function over their inputs while keeping those inputs private.FBPCS (Facebook Private Computation Service) is a secure, privacy safe and scalable architecture to deploy MPC (Multi Party Computation) applications in a distributed way on virtual private clouds.FBPCF(Facebook Private Computation Framework) is for scaling MPC computation up via threading, while FBPCS is for scaling MPC computation out viaPrivate Scalingarchitecture. FBPCS consists of various services, interfaces that enable various private measurement solutions, e.g.Private Lift.Private Scalingresembles the map/reduce architecture and is secure against a semi-honest adversary who tries to learn the inputs of the computation. The goal is to secure the intermediate output of each shard to prevent potential privacy leak.Installation Requirements:Prerequisites for working on Ubuntu 18.04:An AWS account (Access Key ID, Secret Access Key) to use AWS SDK (boto3 API) in FBPCSpython >= 3.8python3-pipInstalling prerequisites on Ubuntu 18.04:python3.8sudoapt-getinstall-ypython3.8python3-pipsudoapt-getinstall-ypython3-pipInstalling fbpcspython3.8-mpipinstall'git+https://github.com/facebookresearch/FBPCS.git'# (add --user if you don't have permission)# Or, to install it from a local clone:gitclonehttps://github.com/facebookresearch/FBPCS.git
python3.8-mpipinstall-eFBPCS# (add --user if you don't have permission)# Or, to install it from Pypipython3.8-mpipinstallfbpcsUpgrading fbpcsTo latest version in github main branchpython3.8-mpipuninstallfbpcs# uninstall fbpcs firstpython3.8-mpipinstall'git+https://github.com/facebookresearch/FBPCS.git'# (add --user if you don't have permission)# re-install fbpcs from github repositoryTo latest version in Pypipython3.8-mpipinstallfbpcs--upgradeArchitectureServices:MPCService is the public interface that provides APIs to distribute a MPC application with large dataset to multiple MPC workers on cloud.Other componentsJoin the FBPCS communityWebsite:https://github.com/facebookresearch/fbpcsSee theCONTRIBUTINGfile for how to help out.LicenseFBPCS isMITlicensed, as found in the LICENSE file.
Package: fbprophet
Prophet: Automatic Forecasting ProcedureProphet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well.Prophet isopen source softwarereleased byFacebook's Core Data Science team.Full documentation and examples available at the homepage:https://facebook.github.io/prophet/Important linksHTML documentation:https://facebook.github.io/prophet/docs/quick_start.htmlIssue tracker:https://github.com/facebook/prophet/issuesSource code repository:https://github.com/facebook/prophetImplementation of Prophet in R:https://cran.r-project.org/package=prophetOther forecasting packagesRob Hyndman'sforecast packageStatsmodelsInstallationpipinstallfbprophetNote:  Installation requires PyStan, which has itsown installation instructions.
On Windows, PyStan requires a compiler so you'll need tofollow the instructions.
The key step is installing a recentC++ compilerInstallation using Docker and docker-compose (via Makefile)Simply typemake buildand if everything is fine you should be able tomake shellor alternative jump directly tomake py-shell.To run the tests, inside the containercd python/fbprophetand thenpython -m unittestExample usage>>>fromfbprophetimportProphet>>>m=Prophet()>>>m.fit(df)# df is a pandas.DataFrame with 'y' and 'ds' columns>>>future=m.make_future_dataframe(periods=365)>>>m.predict(future)
Package: fbpy
What is this?Python module for drawing in the framebuffer in linux console. Some convenience functions like poly, line, rect, arc and a character generator added. Has a rudimentary multiple drawing-surface manager (wouldn’t call it windows yet).All administration and access to drawing functions through python, actual drawing is done by a helper function written in c.JacksupportThe package supports JACK (Jack Audio Connection Kit) through a built-in Jack module.BackgroundWrote this as part of an audioplayer project raspberry pi/wolfson pi. needed a framebuffer audioscope, phase plotter, while being able to use curses based progs simultaneously.Exampleshttps://plus.google.com/104940739538517041637/posts/7MvXUwmBeYDhttp://youtu.be/67yfT6_7Yswhttp://youtu.be/73tXCdqdINUhttp://youtu.be/5WeqTS04wV8