Saravanan666/pypi-org huggingface dataset:
Package: yipy
YiPyA Python wrapper forYify APIOnly public methods are implemented, no authorization required.Examplesfromyipy.apiimportYipyapi=Yipy()# Get movies listmovie_list=api.list()# Get movie detailsmovie_details=api.movie_details(movie_id=5496)# Get movie suggestionsmovie_suggestions=api.movie_suggestions(movie_id=5496)# Get movie commentsmovie_comments=api.movie_comments(movie_id=5496)# Get movie reviewsmovie_reviews=api.movie_reviews(movie_id=5496)# Get movie parental guidesmovie_parental_guides=api.movie_parental_guides(movie_id=5496)# Get list upcoming movieslist_upcoming_movies=api.list_upcoming_movies()# Get user detailsuser_details=api.user_details(user_id=16)Available methodslistUsed to list and search through out all the available movies.
Can sort, filter, search and order the results.Parameters:limit(int, optional): between 1 - 50 (inclusive)
- The limit of results per page that has been setpage(int, optional): Used to see the next page of movies
- eg: limit=15 and page=2 will show you movies 15-30quality(str, optional): Used to filter by quality.720p1080p3Dminimum_rating(int, optional): between 0 - 9 (inclusive)Used to filter movie by a given minimum IMDb ratingquery_term(str, optional): Used for movie search, matching on:Movie Title/IMDb CodeActor Name/IMDb CodeDirector Name/IMDb Codegenre(str, optional): Used to filter by a given genreSeeherefor full listsort_by(str, optional): Sorts the results by choosen value:titleyearratingpeersseedsdownload_countlike_countdate_addedorder_by(str, optional):ascordescOrders the results by either Ascending or Descending orderwith_rt_ratings(bool, optional):
- Returns the list with the Rotten Tomatoes rating includedmovie_detailsReturns the information about a specific movie.Parameters:movie_id(int): The ID of the moviewith_images(bool, optional): When set the data returned will
include the added image URLswith_cast(bool, optional): When set the data returned will
include the added information about the castmovie_suggestionsReturns 4 related movies as suggestions for the user.Parameters:movie_id(int): The ID of the moviemovie_commentsReturns all the comments for the specified movie.Parameters:movie_id(int): The ID of the moviemovie_reviewsReturns all the IMDb movie reviews for the specified movie.Parameters:movie_id(int): The ID of the moviemovie_parental_guidesReturns all the parental guide ratings for the specified movie.Parameters:movie_id(int): The ID of the movielist_upcoming_moviesReturns the 4 latest upcoming movies.user_detailsGet a user's details.Parameters:user_id(int): The ID of the userwith_recently_downloaded(bool, optional):
If set it will add the most recent downloads by the given user
Package: yirgachefe
YirgachefeA library for the convenience of configuring environment variables, configuration files, and logger.PrerequisitePython 3.9.x or higherQuick startThe configuration file format is JSON, and the default location is [CWD]/configure.json.CWD: Current working directory (you can get it with 'os.getcwd()')Example configure.json{"API_PORT":8100,"STORAGE_ID":"storage_1"}Example Codefromyirgachefeimportconfig,loggerlogger.debug(config['API_PORT'])logger.info(config.API_PORT)config['NEW']='new value'config.NEW2='new value2'Custom UsageDefault configure.json.This value is set internally and is used even if the file doesn't exist.You can use the changed value by explicitly setting it in the file.{"debug":true,"log_level":"DEBUG","log_format":"%(asctime)s,%(msecs)03d %(process)d %(thread)d %(levelname)s %(filename)s(%(lineno)d) %(message)s","log_path":"Yirgachefe.log","log_when":"d","log_interval":1,"log_backup_count":5}debug: Set stream handler to logging with coloredlog.log_level: Log level for logging.log_format: Log format for logging.log_path: Write a file log if present (optional)Optional configuration for RotatingFileHandler.yirgachefe supports time-based log file rotating.Each option is as follows.Rotating works when all values are present.{"log_when":"d","log_interval":1,"log_backup_count":10}log_when: rotating unit s | m | h | d | w0-w6 (see. 'logging.handler')log_interval: rotating periodlog_backup_count: log backup count.Make and Save configure.jsonAfter creating an empty config class, you can set the config value and save it as a file.fromyirgachefeimportConfigconfig=Config()config.NEW='new value'config.write_config()
Package: yiri-mirai
YiriMirai一个轻量级、低耦合度的基于 mirai-api-http 的 Python SDK。本项目适用于 mirai-api-http 2.0 以上版本。目前仍处于开发阶段，各种内容可能会有较大的变化。安装从 PyPI 安装：pipinstallyiri-mirai# 或者使用 poetrypoetryaddyiri-mirai此外，你还可以克隆这个仓库到本地，然后使用poetry安装：gitclonegit@github.com:Wybxc/YiriMirai.gitcdYiriMirai
poetryinstall使用frommiraiimportMirai,FriendMessage,WebSocketAdapterif__name__=='__main__':bot=Mirai(12345678,adapter=WebSocketAdapter(verify_key='your_verify_key',host='localhost',port=6090))@bot.on(FriendMessage)asyncdefon_friend_message(event:FriendMessage):ifstr(event.message_chain)=='你好':awaitbot.send(event,'Hello World!')bot.run()更多信息参看文档或文档镜像。社区QQ 群：766952599（链接）Github Discussion（链接）Discord（链接）开源协议由于 mirai 及 mirai-api-http 均采用了 AGPL-3.0 开源协议，本项目同样采用 AGPL-3.0 协议。请注意，AGPL-3.0 是传染性协议。如果你的项目引用了 YiriMirai，请在发布时公开源代码，并同样采用 AGPL-3.0 协议。
Package: yiri-mirai-rc
YiriMirai一个轻量级、低耦合度的基于 mirai-api-http 的 Python SDK。本项目适用于 mirai-api-http 2.0 以上版本。目前仍处于开发阶段，各种内容可能会有较大的变化。安装从 PyPI 安装：pipinstallyiri-mirai# 或者使用 poetrypoetryaddyiri-mirai此外，你还可以克隆这个仓库到本地，然后使用poetry安装：gitclonegit@github.com:Wybxc/YiriMirai.gitcdYiriMirai
poetryinstall使用frommiraiimportMirai,FriendMessage,WebSocketAdapterif__name__=='__main__':bot=Mirai(12345678,adapter=WebSocketAdapter(verify_key='your_verify_key',host='localhost',port=6090))@bot.on(FriendMessage)asyncdefon_friend_message(event:FriendMessage):ifstr(event.message_chain)=='你好':awaitbot.send(event,'Hello World!')bot.run()更多信息参看文档或文档镜像。社区QQ 群：766952599（链接）Github Discussion（链接）Discord（链接）开源协议由于 mirai 及 mirai-api-http 均采用了 AGPL-3.0 开源协议，本项目同样采用 AGPL-3.0 协议。请注意，AGPL-3.0 是传染性协议。如果你的项目引用了 YiriMirai，请在发布时公开源代码，并同样采用 AGPL-3.0 协议。
Package: yith-library-server
Yith Library is a password storage server.You can read more about it athttp://packages.python.org/yith-library-serverUnless you can decipher passwords with your brain you will
probably find useful the Yith Library Web Client located athttps://github.com/lorenzogil/yith-library-web-clientThere is an instance running athttp://yithlibrary.comYith Library is free software licensed under the terms of the
GNU Affero General Public License version 3.0.4 (2016-05-31)New Features:Add support for Python 3.5Update dependenciesSmall improvements in development mode (contributed by Fidel Ramos)Small documentation improvements (contributed by Fidel Ramos)Use Redis for sessions instead of local filesBuild the web assets at build timeCompile translation catalogs at build timeUse flake8 as a pre-commit hookDaily script to clean expired access codesUpdate the donations page with our new providersUse official PyPI mirror on OpenshiftBug fixes:Run the tests on Travis the same way Tox run them locallyFix bug when parsing dates with millisecondsMake background images from CSS rules work (Lorenzo Gil)Fix integrity bug when destroying an account0.3 (2015-07-07)New features:Updated all the dependencies to newer versionsReplaced persistence layer from MongoDB to PostgreSQL (Lorenzo Gil)New UI based on Bootstrap 3 (Lorenzo Gil)Assets concatenation and minification using webassets (Lorenzo Gil)Replaced custom oauth2 support with the oauthlib
implementation (Lorenzo Gil)Reused package dependencies information between requirements.txt
and setup.py (Fidel Ramos)Added back Python 3 support (Lorenzo Gil)Removed the custom DatetimeService and use freezegun instead for
mocking datetimes in tests (Lorenzo Gil)Add Microsoft Live Connect as a new IdP (Lorenzo Gil)Add a Contributions page with donations support via PayPal (Lorenzo Gil)Bug fixes:Lots of fixed contributed by Lorenzo Gil, Sergio Rus and Alejandro Blanco0.2 (2013-02-03)New features:Import/export of password collectionsPeriodic mailing of password backup filesNew report to get statistics of usageRename old usage report to users since it just list the usersImprove gravatar icon style in the headerMake Persona logout more robustImprove the marketing (Twitter and Github links)Regressions:Remove Python 3 support because of a pyramid_mailer’s bug. The bug (#24)
has been fixed but no new release has been made as of this writing.0.1 (2013-01-13)Oauth2 protocol to access the passwords with a RESTful APIFacebook, Google, Mozilla Persona and Twitter authentication methodsAccount merging to allow several authentication methods for one accountUser profile with Gravatar integrationAccount removalLocalized to English and Spanish languagesGoogle Analytics support that users can avoid100% test coverageLanding, terms of service and contact pages
Package: yith-web-client
Web client for Yith Library server. Written on top of Pyramid and Ember.jsServer code:https://github.com/lorenzogil/yith-library-serverThis web client lets the user access to his passwords and secrets, safely
stored at the Yith Library server. View, editing and deleting are supported.There is an instance running athttp://yithlibrary.com/DevelopmentIt’s recommended to use virtualenv. To know how to create an isolated
enviroment with virtualenv read thishttp://www.virtualenv.orgRequirementsPython 2.7 or Python 3.2DeploymentAfter loading your virtualenv (you should be using one!), run this command:python setup.py developThis will install all the dependencies needed. After the installation is
completed, you can execute the server with this command:pserve development.iniAnd then the web client will be available athttp://localhost:6543/Boring legal stuffYith Library WebclientCopyright (C) 2012 Yaco Sistemas S.L.Copyright (C) 2012 Alejandro Blanco <alejandro.b.e@gmail.com>Copyright (C) 2012 Lorenzo Gil <lorenzo.gil.sanchez@gmail.com>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, see <http://www.gnu.org/licenses/>.Yithian ImageCopyright (C) 2012 Isaac <ismurg@gmail.com>Licensed under Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)For a copy of this license see
<http://creativecommons.org/licenses/by-sa/3.0/legalcode>Browser IconBrowser designed by Alexandre Lachèze from The Noun ProjectLicensed under Attribution 3.0 Unported (CC BY 3.0)For a copy of this license see
<http://creativecommons.org/licenses/by/3.0/legalcode>1.0.2Use the oauthlib library instead of a custom implementation1.0.1Upgrade to Ember.js 1.4.1Upgrade to Ember-Data beta 6Upgrade to Handlebars 1.3.01.0.0Initial version
Package: yitizi
YitiziInput a Chinese character. Output all the variant characters of it.輸入一個漢字，輸出它的全部異體字。输入一个汉字，输出它的全部异体字。UsagePythonpipinstallyitizi>>>importyitizi>>>yitizi.get('和')['咊','龢']JavaScript (Node.js)npminstallyitizi>constYitizi=require('yitizi');>Yitizi.get('和');['咊','龢']JavaScript (browser)<scriptsrc="https://cdn.jsdelivr.net/npm/yitizi@0.1.1"></script>>Yitizi.get('和');['咊','龢']DesignConnections between variant characters can be modeled as angraphwith characters as vertices, where two characters are variants of each other if they aredirectlyconnected by an edge.To reduce data redundancy, only several types of basic connections are stored in data tables located indata/, from which the full graphyitizi.jsonis computed by invokingbuild/main.py.Basic connectionsA basic connection between two variant characters can be classified into one of the three types: equivalent, intersecting, simplification.Equivalent "全等": Two characters are equivalent only if they are interchangable in most texts without change in the meaning. When computing the full graph, it is considered both commutative and transitive, i.e.If A is an equivalent variant of B, then B is an equivalent variant of A;If A is an equivalent variant of B, and B is an equivalent variant of C, then A is an equivalent variant of C.Intersecting "語義交疊": Two characters are intersecting variants if they are interchangable in certain cases. It is also commutative, and can be treated eitherfully transitive(same as equivalent) orper-group transitive(transitive only within the same row in the data table).NOTE: currently only the fully transitive version is implemented).Example (per-group transitive version, available soon™): "閒" has two intersecting variants: "閑" and "間", listed in two rows:#字,全等,語義交疊,簡體
閒,,閑,
閒,,間,间
閑,,,闲Then in the computedyitizi.csv:閒 and 閑 (闲) are variants of each other;閒 and 間 (间) are variants of each other;閑 (闲) and 間 (间) are unrelated.A more complex (though abstract) example:#字,全等,語義交疊
A,B,CD,
A,,EFG,A, B, C and D are variants of one another;A, B, E, F and G are variants of one another;No connections between C (or D) and E (or F/G).Simplification "簡體": A non-transitive and asymmetric connection. A simplified character is associated only with its traditional form. The traditional form is unrelated to other types of variants of the same character.Example 1: "么" is 1) a simplified form of "麼", 2) an equivalent variant of "幺"; "麼" has an equivalent variant "麽", then:麼, 麽 and 么 are variants of one another;幺 and 么 are variants of each other;麼 or 麽 is unrelated to 幺.Example 2: "苧" is 1) a simplified form of "薴", 2) a traditional form of "苎", then:苧 is a variant of 薴 and 苎;薴 and 苎 are unrelated.Example 3: "芸" is a simplified form of "藝" (JapaneseShinjitai) and "蕓" (Chinese), and "艺" is also a simplified form of "藝" (Chinese), then:藝, 芸 and 艺 are variants of one another;蕓 and 芸 are variants of each other;藝 or 艺 is unrelated to 蕓.Data sourcedata/ytenx: FromBYVoid/ytenxdata/opencc: FromBYVoid/OpenCCNote for developersYou need to substitute all the occurrences of the version string before publishing a new release.
Package: yivo
YivoMIT LicenseCopyright (c) 2020 Mom's Friendly Robot CompanyPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: yiwen-scraper
This library is something I wrote to make my code look neat. These are some scraping functions for Weibo1. scroll(scroll_num): to scroll down some pages
type(scroll_num) = int2. scroll_little_bit(scroll_num) :to scroll down a little bit, no more than one page, at a time, 250 pixel to be precise
type(scroll_num) = intlogin_mobile(): to log in to weibo mobile web pagelogin_web(): to log in to weibo web page5. hot_people(hashtag):find the users who has made the most contribute to a certain topic area,on weibo web. Takes in a hashtag and return a data frame
type(hashtag) = str6. search_mobile(user_name): to search a user on weibo mobile page
type(user_name) = str7.repo_passive_name(scroll_num):to get some user’s name who likes to repost certain key user’s post,on weibo mobile web
type(scroll_num) = int8.repo_name_initiative(scroll_num):to got all the user’s names that the key user reposted from,on weibo mobile web
type(scroll_num) = int9.make_list_num_df(list_long):to make a dataframe from a list
type(list_long) = list10.clean_repo_name(repo_name_list):to get all the “None” out of the list
type(repo_name_list) = list11.get_content_and_time(scroll_num):to get some of the post of a key user and their post time on weibo mobile web
type(scroll_num) = int12.find_repo_in_content(content_list):to some of possible connections in post content
type(content_list) = list13.fan_num_mobile(user_name):to get the follower number of a certain user ,on weibo mobile web
type(user_name) = str14.fan_num_web(user_name):to get the follower number of a certain user ,on weibo web
type(user_name) = str15. get_repo_like_ratio(user_name,scroll_num):to get the repost/like ratio of a certain user ,on weibo mobile web
type(user_name) = str
type(scroll_num) = int16.search_topic_general(hashtag, page_num):to search a hashtag and scrape all the content in the search result, store the scraped content in a dataframe
type(hashtag) = str
type(page_num) = int17.search_keyword_general(hashtag, page_num):to search a keyword and scrape all the content in the search result, store the scraped content in a dataframe
type(hashtag) = str
type(page_num) = intLibrary created in 2022/6.27 ver 0.0.1
Package: yjs-widgets
JupyterLab extension for widgets based on YjsRequirementsJupyterLab == 4.0.0b0InstallationYou can install yjs-widgets using pip:pipinstallyjs-widgetsUsageimport{IJupyterYModel}from'./types';import{JupyterYModel}from'./model';import{IJupyterYWidgetManager}from'./notebookrenderer/types';import{JupyterFrontEnd,JupyterFrontEndPlugin}from'@jupyterlab/application';classMyWidget{constructor(yModel:IJupyterYModel,node:HTMLElement){this.yModel=yModel;this.node=node;yModel.sharedModel.attrsChanged.connect(()=>{this._attrsChanged();});node.textContent='Hello world!';}_attrsChanged():void{constfoo:string=this.yModel.sharedModel.getAttr('foo')asstring;constbar:string=this.yModel.sharedModel.getAttr('bar')asstring;this.node.textContent=`foo=${foo}, bar=${bar}`;}yModel:IJupyterYModel;node:HTMLElement;}exportconstfoo:JupyterFrontEndPlugin<void>={id:'foo:bar',autoStart:true,requires:[IJupyterYWidgetManager],activate:(app:JupyterFrontEnd,wm:IJupyterYWidgetManager):void=>{wm.registerWidget('MyWidget',JupyterYModel,MyWidget);}};Contributingyjs-widgets is an open-source project, and contributions are always welcome. If you would like to contribute, please fork the repository and submit a pull request.SeeCONTRIBUTINGfor dev installation instructions.Licenseyjs-widgets is licensed under the BSD 3-Clause License. See the LICENSE file for more information.
Package: ykb
ykb- Your Knowledge Baseykbis the brand new (!! :-)) note taking tool for the command line.
It allows to take either quick or elaborated notes by editing the text with the default editor. It uses the editor specified by theEDITORenvironment variable.
The note can be in free form, although the preferred format should be Markdown.
Notes are saved by default in the directory~/.ykb/. Every new note is saved in its own file. The filename is a random unique ID (UUID).Notes are organized innotebooks. A notebook is a directory with two sub-directory:notescontains the active notes, whilearchivecontains the archived notes.
Notes can be archived and unarchived.ykbs commands normally operate on active notes only, unless otherwise specified using dedicated flags.In-text tags are supported in the form@tag.ykbis written in Python. While the language does not lead to the fastest program, it allows a really quick implementation of the functionalities.Add a new noteCommand:ykb newAdds a new note. Opens the default editor to allow the editing of the text.Edit an existing noteCommand:ykb edit IDOpens the default editor to edit the note specified by the unique ID.
The ID can be either the full UUID or a shorter beginning part of the ID, as long as the ID does not match with more than one full UUID.For example:ykb edit 6bwill open a note with full ID equal to (e.g.)6b63d178-4a57-4bd5-b990-c8d510c25a72(notice the two matching characters at the beginning of the full ID), as long as there isn't another ID beginning with6b.List all notesCommand:ykb listList all the notes in the default note directory, listing the abbreviated ID and the first line of text (truncated if too long).Search in notesCommand:ykb search stringSearchstringin all the notes. Shows colored results.List all tagsCommand:ykb tagsList all the tags found in the notes with their frequencies.Show one or more notesCommand:ykb show IDDisplays all the notes whose UUID starts with ID.Future works, TODOs (in no specific ordering)[X] Add search command
[X] Add cat/show command (support to cat multiple notes if nore than one is matching)
[ ] Add configuration options (e.g., default directory)
[ ] Add per-note encryption
[X] Add custom sorting of tags (alphabetically or by frequency)
[ ] Add global flag to specify custom note dir (notebook)
[ ] Addarchive/unarchivesupport
[ ] Addmovecommand to move notes in another notebook
[ ] Addlinkcommand to add a double-link between two notes
[ ] Addstatusfeature in the preamble? E.g., for TODOs
[ ] Add a title, somehow (e.g., first line with# ...)Internal refactoring[X] Revamp the logic to parse the header and the body (split into reusable functions)
[ ] Introduce some basic classes (for single notes and a collection of notes)
Package: yk-bit
Youverse BiometricInThings API: Python SDK & SampleThis repository contains the Python Module of the Youverse BiT API, an offering withinYouverse ServicesGetting startedInstalling from the source code:pythonsetup.pyinstallUse it:Make sure you have added the environment key-values (YK_BIT_BASE_URL and YK_BIT_X_API_KEY). Machine restart could be required.fromosimportgetenvimportyk_bitasYKB# BiometricInThings API Environment VariablesEV_BASE_URL=getenv('YK_BIT_BASE_URL')EV_API_KEY=getenv('YK_BIT_X_API_KEY')YKB.BaseUrl.set(EV_BASE_URL)YKB.Key.set(EV_API_KEY)# Verifies the camera availability statusifYKB.bit.status()==YKB.BiTStatus.Available:captured=YKB.capture(capture_timeout=10,anti_spoofing=True,live_quality_analysis=True)print(captured)verified=YKB.verify(reference_image=captured.image,capture_time_out=10,matching_score_threshold=0.8)print(verified)verified_images=YKB.verify_images(probe_image=verified.verified_image,reference_image=captured.image,matching_score_threshold=0.8)print(verified_images)If you're interested in using Youverse BiometricInThings API for identification purposes, please contact us.Running the sampleA sample python script is also provided in 'sample' folder.Run:pythonrun_bit_sample.pyYouverse BiT API DetailsFor a complete specification of our BiT API please check theswagger file.Contact & SupportFor more information and trial licenses pleasecontact usor join us at ourdiscord community.