Saravanan666/pypi-org huggingface dataset:
Package: facct
Management of accountancy in command line.- Double entry accounting- Allows you to register entries in CSV format (via spreadsheet)- Manages repetitive patterns- Reads HSBC statements and transforms them into bookkeeping entries- Generates Journal, General Ledger, Balance sheet and Income statements- Closes the year and retrieves the entries to open the new year- Understands French corporate taxes and social contributions- Reads calendar delivery entries for consulting company in order to:- generate PDF bill from latex template- enter billing in accounts- Localized in French and English (to be improved)- Initialize system for a new entity (company, personal accounts...):python facct/init_year.py -o company_name_or_alias -c#Note that the accountancy will initialize for the current year.- Initialize the accounts for a new year:python facct/init_year.py -o company_name_or_alias -y 2014- Generate a bill for February 2013:python facct/bill/gen_tex.py 022013.csv -o titu#If the file does not exists, it will generate 022013.csv in${bills}/022013.csv with all the work days filled in to 1.If you want to change values replace 1 by 0 to indicate off days orto change by something other than an integer 0.75, you will torelaunch the command to generate the PDF bill.- Configuration file:The facct configuration file is located in ~/.facct.rc, it's a simpleINI file, feel free to change some locations if you want.You should also change values for the following files located in $data:- contracts.csv    : some basic info about contracts- bank_accounts.csv: bank account details- clients.csv      : client details- company.csv      : company (or personal) details, the minimum needed.- To regenerate accountancy after some modifications (new bill, new expense):python facct/generate_all.py -o titu -d $accounts/<year>- To modify some entries, you can change the input file:./accounts/<year>/journal.ori.csv# You can use some templates such as those you can find for example inthe file <path_to_app>/facct/bench/accounts/<one_year>/journal.ori.csv.- Developer feature:You can launch some benchmarks with:./scripts/bench.sh- Workflow:journal.ori.csv||-------<---- [bills/<year>/except.txt]|Vjournal_tmpl.csv||V(unroll templates)V||-------<---- [hsbc/*.csv]|V<year>.csv      <-- journal||V<year>.gl.csv   <-- General Ledger/   \/     \|       |V       VBalance       Income statementsExample:>>> import bench>>> bench.main('corp_ref', False)[OK] corp_ref 2014 init_year.[OK] corp_ref 2014 already exists.[OK] corp_ref 2016 init_year.[OK] corp_ref 2016 already exists.[OK] corp_ref 2010 account: no differences with benchmark[OK] corp_ref 2011 account: no differences with benchmark[OK] corp_ref 2012 account: no differences with benchmark[OK] corp_ref 2013 account: no differences with benchmark[OK] corp_ref 022013 bill.[OK] corp_ref db.You can also launch doctest with:python facct/__init__.py -vAnd distribution packaging with:python setup.py sdistMore information on the distributable:python setup.py --helppython setup.py --authorpython setup.py --long-description... and so forth
Package: face-123456
dlib_face_recognition_resnet_model_v1
urlhttps://tcs.teambition.net/storage/3323a942a7b42837e63e63fe207743bee918?download=dlib_face_recognition_resnet_model_v1.dat&Signature=eyJhbGciOiJIUzI1NiJ9.eyJyZXNvdXJjZSI6Ii9zdG9yYWdlLzMzMjNhOTQyYTdiNDI4MzdlNjNlNjNmZTIwNzc0M2JlZTkxOCIsImV4cCI6MTYxNjk0MTUwNSwic3BlZWQiOjEwMjQwMDAsInN0b3JhZ2UiOiJzdHJpa2VyLWh6In0.s5E7vPZpTUX7UPO5hrmdDc230suDBEjjHPKVGWLo7m8&filekey=3323a942a7b42837e63e63fe207743bee918shape_predictor_68_face_landmarks  urlhttps://tcs.teambition.net/storage/3323d88559195e911338a8f36f96698d23e4?download=shape_predictor_68_face_landmarks.dat&Signature=eyJhbGciOiJIUzI1NiJ9.eyJyZXNvdXJjZSI6Ii9zdG9yYWdlLzMzMjNkODg1NTkxOTVlOTExMzM4YThmMzZmOTY2OThkMjNlNCIsImV4cCI6MTYxNjkzNjI2MCwic3BlZWQiOjEwMjQwMDAsInN0b3JhZ2UiOiJzdHJpa2VyLWh6In0.4k-TMxuRjDip_NmEhN2UpdijzKD8TwjSlAePnU_9PHc&filekey=3323d88559195e911338a8f36f96698d23e4run week4_homework_face_recognize.py
Package: face2-classifier
# face_classifierThe facial classification tool base on [face_recognition](https://github.com/ageitgey/face_recognition)[How to use](#how-to-use)[Requirements](#requirements)[Usage](#usage)[Thanks](#thanks)[TODO](#todo)[License](#license)## How to use### Requirements
* Python 3.3+ or Python 2.7
* macOS or Linux (Windows not officially supported, but might work)### Usage`shell pip installface2-classifier`## Thanks
* [face_recognition](https://github.com/ageitgey/face_recognition)## TODORefactor codeImprove accuracy on Asian individualsAdd concurrent programming techniques during classifier## LicenseMITHistory0.1.0 (2021-02-27)First release on PyPI.
Package: face2face
Face-to-face interaction analysis toolkitFace2face is a toolbox that contains multiple methods for the basic analysis of sociopatterns data sets and networks.Homepage:https://gesiscss.github.io/face2face/Github Repository:https://github.com/gesiscss/face2faceWebsite of Gesis:https://www.gesis.org/homeInstallationYou have multiple options for the installation on your local machine.If you want to become a contributor in this toolbox and you want to apply changes or add new functions to the toolbox you can take a look on the development guide from the website.If you just want to install the toolbox on your system to work with it, you can do so with:$ pip install face2faceTutorialsIf you are new to this library and you want to learn about how to use the included methods or you want to learn how they work you can use the tutorials. For a short description of the different tutorials you can find more information in the tutorialTutorial README. If you want to test the tutorials right now you can click on the binder badge on top of this README.md to open the tutorials in the Gesis Notebooks.Hereyou get to the tutorial folder.Short summaryWith the methods from the import module you can import your own tij- and metadata data sets or you can use predefined data sets which are included in the installed library. With the Data Object you created with your or the predefined data sets you can directly start with the analysis of the probability for different contact durations and visualize them. You can also use the Object to create a network and analyze this network in terms of basic key figures about the underlying network. Furthermore you can use this library to analyze and visualize the homophily of the given data set.Current StateThe face2face toolbox at its current state is an alpha version. If you find any bugs or you have suggestions about how to extend the toolbox with useful new functionalities please let us know by creating a new issue thread on ourGitHub Pageor contribute a fix or additional methods by yourself as described in the developer guide in the online documentation.
Package: face-authentication-lib
Face AuthenticationReturns face authentication result(True/False)given a picture and a video of user's face.Installationpip install face-authentication-libGet StartedHow to performface authenticationusing this library:Within python script:fromface_authentication_libimportFaceAuth# Instantiate a FaceAuth object using API keyface_auth=FaceAuth(api_key=API_KEY)# Call 'authenticate' method to perform face authentication given an image and video of user's faceauthentication_result=face_auth.authenticate(image_file,video_file)As Command Line Tool:face_authapi_keyimage_filevideo_fileComplete documentation on:readthedocs.ioLicenceThis package in released under TheMITLicence
Package: facebook2
This client library is designed to support theFacebook Graph APIand the
officialFacebook JavaScript SDK, which is the canonical way to implement
Facebook authentication. You can read more about the Graph API by accessing itsofficial documentation.LicensingThis library uses theApache License, version 2.0. Please seeLICENSE.txtfor more information.Reporting IssuesIf you have bugs or other issues specifically pertaining to this library, file
themhere. Bugs with the Graph API should be filed onFacebook’s
bugtracker.
Package: facebook-crawl-api
facebook_crawl_apiCrawl facebook profile, all facebook articles of someone, or do a keyword search to get the latest articles under a keyword cookies requiredhow to use itfromfacebook_crawl_api.functionimportFaceBook,KeywordSearchfromfacebook_crawl_api.modelimportUserInfo,Article,SearchResultproxies={"http":"http://127.0.0.1:7892","https":"http://127.0.0.1:7892"}cookies={"datr":"vsR0YmLF9RcXrA8aH-9BT8tz","sb":"0cR0YkI11RH6uUmSPiYYXuVH","locale":"en_US","wd":"1904x952","c_user":"1000*********94","xs":"2%3AxHJAAmqr8orCKA%3A2%3A1651819763%3A-1%3A-1","fr":"0ml3marxJWAXpQQHs.AWXAGFWOB_KyU-5SkpxOt0x_jfs.BidMT0.BG.AAA.0.0.BidMUN.AWVUMap844Q","presence":"C%7B%22t3%22%3A%5B%5D%2C%22utc3%22%3A1651820294258%2C%22v%22%3A1%7D"}user_id="100011836534739"# 设置代理和cookies# Setting up proxies and cookiesfacebook=FaceBook(user_id=user_id,proxies=proxies,cookies=cookies)# 通过用户id获取用户信息对象# Get user information object by user iduser_info=facebook.find_user_info()user:UserInfo=user_info.get("data")print(user.to_json())# 通过用户id获取所发表的帖子# Get posted posts by user iduser_article=facebook.find_user_article()next_url=user_article.get("next_url")articles:[Article]=user_article.get("data")print(next_url)print([i.to_json()foriinuser_article.get("data")])# 通过下一页的链接进行翻页操作# Flip through the links on the next pagenext_url=user_article.get("next_url")# next_url = "https://m.facebook.com/profile/timeline/stream/?cursor=AQHR01DS-HcnGj3Gs1b-cVLP1timggTyDvxRhddtsbx8rmoPtehqdiuawOFpAJPoKu8Ue0woGhCOksmGtqp2zRqnMOmSzlYCmrFm3UhJ8RsR1iJW9UjXGNKRRHzphwJroZr6&start_time=-9223372036854775808&profile_id=100011836534739&replace_id=u_0_1y_2y"next_page_article=facebook.find_user_article(next_url=next_url)print(next_page_article.get("next_url"))print([i.to_json()foriinnext_page_article.get("data")])# 关键词搜索# key word searchsearch=KeywordSearch(proxies=proxies,cookies=cookies)res=search.search("mustang")print(res)print([i.to_dict()foriinres.get("data")])next_url=res.get("next_url")print(next_url)fb_dtsg=res.get("fb_dtsg")res2=search.search("mustang",next_url=next_url,fb_dtsg=fb_dtsg)# print([i.to_dict() for i in res2.get("data")])print(res2)
Package: facebook-crawler
Facebook_CrawlerThe project is developed by TENG-LIN YU(游騰林).Please feel free to contact me if you have any suggestions or problems.SupportDonate is not required to utilize this package, but it would be great to have your support. Either donate, star or share are good to me. Your support will help me keep maintaining and developing in this project贊助不是使用這個套件的必要條件，但如能獲得你的支持我將會非常感謝。不論是贊助、給予星星或跟朋友分享對我來說都是非常好的支持方式。有你的支持我才能繼續在這個專案中維護和開發新的功能。What's this?The project can help us collect the data from Facebook's public Fanspage / group. Here are the three big points of this project:You don't need to log in to your account.Easy: Just key in the Fanspage/group URL and the target date(to break the while loop).Efficient: It collects the data through the requests package directly instead of Selenium.這個專案可以幫我們從 Facebook 公開的的粉絲頁和公開社團收集資料。以下是本專案的 3 個重點:不需登入: 不需要帳號密碼因此也不用擔心被鎖定帳號簡單: 僅需要粉絲頁/社團的網址和停止的日期(用來跳脫迴圈)高效: 透過 request 直接向伺服器請求資料，不需通過 SeleniumQuickstartInstallpip install -U facebook-crawlerUsageFacebook Fanspageimportfacebook_crawlerpageurl='https://www.facebook.com/diudiu333'facebook_crawler.Crawl_PagePosts(pageurl=pageurl,until_date='2021-01-01')Groupimportfacebook_crawlergroupurl='https://www.facebook.com/groups/pythontw'facebook_crawler.Crawl_GroupPosts(groupurl,until_date='2021-01-01')FAQCould you please release the function that can collect comments content instead of only the number of comments?Please write an E-mail to me and tell me your project goal, thanks!How can I find out the post's link through the data?You can add the string 'https://www.facebook.com' in front of the POSTID, and it's just its post link. So, for example, if the POSTID is 123456789, and its link is 'https://www.facebook.com/12345679'.Can I directly collect the data in the specific time period?Nope! It's related to Facebook's website framework. You need to collect the data from the newest post to the older post.LicenseMIT License本專案提供的所有內容均用於教育、非商業用途。本專案不對資料內容錯誤、更新延誤或傳輸中斷負任何責任。Contact InfoAuthor: TENG-LIN YUEmail:tlyu0419@gmail.comFacebook:https://www.facebook.com/tlyu0419PYPI:https://pypi.org/project/facebook-crawler/Github:https://github.com/TLYu0419/facebook_crawlerLog0.0.26Auto changes the cookie after it's expired to keep crawling data without changing IP.
Package: facebook-datastore
An application that stores data about Facebook users logged in on your site using Facebook API.
This data can be handy for various reasons.UsageCurrently it integrates withhttps://github.com/pozytywnie/django-facebook-authand expects FacebookUser object in the constructor.Example:from facebook_datastore.engines import UserProfileEngine
from facebook_auth.models import FacebookUser

user = FacebookUser.objects.get(id=SOME_ID)
engine = UserProfileEngine(user)
engine.run()Such code should be executed by for example celery - in the background. You will also need a valid user access token.
Package: facebook-downloader
Facebook DownloaderA program for downloading videos from Facebook, given a video urlInstallationInstall from PyPIpip install facebook-downloaderYou will need to have the FireFox browser installed and geckodriver properly set up.Building from source1.Clone the repositorygit clone https://github.com/bellingcat/facebook-downloader2.Navigate to the cloned repositorycd facebook-downloaderBuilding the Docker containerdocker build --tty my-facebook-downloader .Building the facebook-downloader packageLinuxFind theinstall.shscript and run it./install.shThis assumes the script was already made executable with thechmod +x uninstall.shcommand.Windows1.Navigate to the facebook-downloader directory
Find theinstall.ps1script and run it.\install.ps1The installation scripts will download and setup geckodriver, then installfacebook-downloader.UsagePackagefacebook_downloader <video-url>Dockerdocker run --tty --volume $PWD/downloads:/app/downloads my-facebook-downloader <facebook_video_url>Optional ArgumentsFlagDescription-a/--audiodownload as audio-o/--outputoutput file nameDonationsIf you would like to donate, you could Buy A Coffee for the developer using the button belowYour support will be much appreciated!
Package: facebook-events-scraper
facebook-events-developmentA simple tool to scrape Facebook events using SeleniumRequirementsChrome is installed on your computer. If your computer doesn't have Chrome, you can download it fromhere.If you don't have access to a browser, you can download using this guide:https://linuxize.com/post/how-to-install-google-chrome-web-browser-on-ubuntu-20-04/.Usagefromfacebook_eventsimportfind_all_eventsprint(find_all_events('https://www.facebook.com/csesoc/events/'))# ['https://www.facebook.com/events/1338543436555126/', ...]fromfacebook_eventsimportget_event_detailsimportjsonprint(json.dumps(get_event_details('https://facebook.com/events/837282680573570/'),indent=2)){"id":"837282680573570","url":"https://facebook.com/events/837282680573570/","title":"SecSoc x CSESoc BBQ","time_start":"2022-07-13T12:00:00","time_finish":"2022-07-13T14:00:00","description":"...","location":"...","hosts":[{"id":"csesoc","name":"CSESoc UNSW","url":"https://www.facebook.com/csesoc/"}],"image_url":"...","category":None}NotesThis is a very early version of the tool. It is not yet complete.
Package: facebook_image_search
Due to the advent of Post Search , it’s difficult to use the feature of “Photos of” which was earlier done using
graph search . This application aims to solve that problem.Extension 1 :The profile picture of a given username is also opened in a new tab with original (maximum) size.Extension 2 :Gets the open images of a public profile.Installation :It can be installed via pip.pip install facebook_image_searchPreconditions :Graph search doesn’t work until you are logged into your account while the extension works otherwise also.
This is a command line tool.Usage :usage: fb-search.py [-h] [-n username] [-u url] [-i id]Tool for fetching photos from facebookoptional arguments:-h,--helpshow this help message and exit-nusername,--usernameusernameUsername to analyze-uurl,--urlurlProfile Url to analyze-iid,--ididProfile Id to analyzeRequirements :Python 2.7
Package: facebook-javascript-authentication
facebook-javascript-authentication is a Django application that
manages user authentication via Facebook using the JavaScript
Facebook SDK and django-facebook-auth application (https://github.com/pozytywnie/django-facebook-auth)InstallationPackagefacebook-javascript-authentication can be installed as a normal Python package.Example instalation for pip:$ pip install facebook-javascript-authenticationConfigurationsettings.pySet USE_TZ = TrueAdd facebook_javascript_authentication to INSTALLED_APPS:INSTALLED_APPS = (
    ...
    'facebook_javascript_authentication',
    ...
)Add javascript authentications urls to application urls:urlpatterns = patterns('',
    ...
    url(r'^facebook_javascript_authentication/', include('facebook_javascript_authentication.urls')),
    ...
)Add script.js in html template head:...
<script type="text/javascript" src="{{ STATIC_URL }}facebook_javascript_authentication/script.js"></script>
...Add updating isAuthenticated variable on facebook user status change to FB.init block:{% load facebook_javascript_sdk %}
{% fb_init_block %}
    ...
    updateIsAuthenticatedOnFBStatusChanged();
    ...
{% endblock %}UsageloginDialogTo show user login dialog with email permissions:loginDialog(successCallback, 'email')isAuthenticated variableVariable isAuthenticated is set to current user status on each facebook ‘auth.statusChange’ event.Custom login sourceIf you have a user access token then you can try authenticate him by calling:login(access_token, successCallbackFunction)
Package: facebooklikes
facebook likes==============|Build Status| |Latest Version| |Python Support|Python package to get facebook likesFeatures~~~~~~~~-  get facebook likes for pages-  get facebook likes for facebookurlsInstallation------------Install the package from`PyPI <https://pypi.python.org/pypi/facebooklikes>`__ using`pip <https://pip.pypa.io/>`__:::pip install facebooklikesGetting Started---------------This client only uses stdlib and has no dependenciesUsage~~~~~::import facebooklikesfacebook_likes_for_beyonce_as_integer = facebooklikes.get_facebook_likes_for_page('beyonce')facebook_likes_for_beyonce_as_integer = facebooklikes.get_facebook_likes_from_facebook_url('https://www.facebook.com/beyonce/').. |Build Status| image:: https://travis-ci.org/sloev/facebooklikes.svg?branch=master:target: https://travis-ci.org/sloev/facebooklikes.. |Latest Version| image:: https://img.shields.io/pypi/v/facebooklikes.svg:target: https://pypi.python.org/pypi/facebooklikes.. |Python Support| image:: https://img.shields.io/pypi/pyversions/facebooklikes.svg:target: https://pypi.python.org/pypi/facebooklikes=======History=======0.1.0 (2019-02-13)------------------* First release
Package: facebooklogger
Facebook LoggerA logging handler that sends you log entries on Facebook MessengerimportloggingfromfacebookloggerimportFacebookLoggerlogger=logging.getLogger("Home Server")logger.setLevel(logging.INFO)fb=FacebookLogger(level=logging.INFO)logger.addHandler(fb)logger.info("Server Started")logger.warning("Something might be wrong")logger.error("EVERYTHING IS ON FIRE")Getting StartedInstall facebooklogger withpipinstallfacebookloggerTo use the Facebook logger, you will need to create a Facebook page and get two pieces
of information. A Page Access Token to authenticate as the page, and the User ID you
want logs sent to.ConfigurationThe logger requires two configuration options set:PAGE_ACCESS_TOKENFB_USER_IDThey can be provided as environment variables, or by creating a file called.envin
the working directory that looks like:PAGE_ACCESS_TOKEN=ABCDEFGH12345abcefweeaABCDEFGH12345abcefweeaABCDEFGH12345abcefweeaABCDEFGH12345abcefweeaABCDEFGH12345abcefweeaABCDEFGH12345abcefweeaABCDEFGH12345abcefweeaABCDEFGH12345abcefwe
FB_USER_ID=1234567891234567Replacing the token and user ID with your own obtained belowPage Access TokenNote that to use this logger you DO NOT need to have your app verified by Facebook, you
can just stay in development mode.Follow the getting started section ofhttps://developers.facebook.com/docs/messenger-platform/getting-started/quick-startUser IDFacebook Page IDs are unique to the page, and as such if you change page you will need
to re-acquire the user id.Note: You will have to already have the page access tokenTo get user id, run the followingPAGE_ACCESS_TOKEN=YOURTOKENpython3-mfacebookloggerand follow the prompts
Package: facebook-online-friend-tracker
Track the number of online friends you have on Facebook at any given time! Check out myresults and conclusionsafter running this script for two weeks!PrerequisitesAll you need to use this script is a Facebook account and aCSVfile.DependenciesThis script is built inPython. It usesSeleniumandChromedriverto scrape the number of online friends you have on Facebook.How to SetupHavePythoninstalled.Install the script and all dependencies viapipby simply running:pip installfacebook-online-friend-trackerThe command to run the script is:facebook-online-friend-trackerAfter some time, you will be able to analyze the trend in the collected data. (I waited 2 full weeks before analyzing the data and finding thebest time to post on Facebook.)
Package: facebook-page-info-scraper
Introductionfacebook-page-info-scraper is a Python package that provides a convenient way to crawl information from Facebook pages.
you’ll have the power to scrape Facebook data with unlimited calls.
Whether you’re a researcher, a data enthusiast, or a developer building Facebook-related projects, this library can significantly simplify your data extraction process.
It uses Selenium for web scraping and provides functionalities to retrieve page details such as page name, Category, Address, email, followers count, and more.Dictionary Contents {#dictionary-section}This section provides an overview of the dictionary contents.Dictionary Fieldspage_name: The name of the page.location: The location of the page.email: The email associated with the page.phone_number: The phones number associated with the pagesocial_media_links: Links to the page’s social media accounts.page_website: The websites link associated with the pagepage_category: The category of the page.page_followers: The page number of followers.page_following: The number of following.page_likes: The page  number of likes.page_rate: The page  rates number.review_number: The page  reviews number.This section provides an overview of the dictionary keys and types.Dictionary Keyspage_name: stringlocation: string or Noneemail: string or Nonephone_number: string or list of strings or Nonesocial_media_links: string or list of strings or Nonepage_website: string or list of strings or Nonepage_category: stringpage_followers: stringpage_following: stringpage_likes: stringpage_rate: stringreview_number: stringInstallationUse pip to install the package:pipinstallfacebook_page_info_scraperUsageTo use the package, import theFacebookPageInfoScraperclass and create an instance:fromfacebook_page_info_scraperimportFacebookPageInfoScraper# providing the page URLpage_url='https://www.facebook.com/example-page'# Create an instance of the scraperscraper=FacebookPageInfoScraper(link=page_url)page_info=scraper.get_page_info()# Print page detailsprint(page_info)page_info={'page_name':'Example Page','location':'Some Location','email':'example@example.com','phone_number':'+33 536337','social_media_links':'www.instagram.com/example','page_website':'http://example.com','page_category':'Some category','page_likes':'36,565','page_followers':'38,225''page_following':'120''page_rate':'33''review_number':'4.6'}ContributingContributions are welcome! If you find any issues or have suggestions for improvement, please feel free to open an issue or submit a pull request on the GitHub repository.LicenseThis project is licensed under the MIT License. See the LICENSE file for more information.