Saravanan666/pypi-org huggingface dataset:
Package: the-money-converter
The Money ConverterPython汇率转换工具类，数据来源于themoneyconverter快速入门安装pipinstallthemoneyconverter使用fromthemoneyconverterimportMoneyConverter,Currencyif__name__=='__main__':# 获取1元人民币转换其它货币的汇率moneyConverter=MoneyConverter(Currency.CNY.name)moneyConverter.refresh()rate=moneyConverter.get_rate(Currency.ARS.name)print(Currency.ARS.value,rate)执行结果示例Connectedtopydevdebugger(build203.7717.81)阿根廷比索30.9827Processfinishedwithexitcode0代码说明classMoneyConverter:URL_TEMPLATE='https://themoneyconverter.com/zh-CN/{source}/{target}?amount=1.00'def__init__(self,source='CNY',target='CNY'):self.rate={}self.source=sourceself.target=targetself.updateTime=Nonesource是转出货币，target是转入货币，比如说moneyConverter = MoneyConverter(Currency.CNY.name)是1元人民币转换其它货币的汇率，target用默认值即可，目前没什么用支持以下货币汇率互相转换AED = 阿联酋迪拉姆JPY = 日元ARS = 阿根廷比索KRW = 韩元AUD = 澳元MAD = 摩洛哥迪拉姆BRL = 巴西雷亚尔MXN = 墨西哥比索CAD = 加元NOK = 挪威克朗CHF = 瑞士法郎NZD = 新西兰元CNY = 人民币PHP = 菲律宾比索CZK = 捷克克朗PLN = 波兰兹罗提DKK = 丹麦克朗RUB = 俄罗斯卢布EUR = 欧元SEK = 瑞典克朗GBP = 英镑SGD = 新加坡元HKD = 港元THB = 泰铢HUF = 匈牙利福林TRY = 土耳其里拉ILS = 以色列谢克尔USD = 美元INR = 印度卢比ZAR = 南非南特
Package: themooch
themoochA "Scaramucci" is a unit of time measued by 10 days. Named for the shortest serving White House communications director in U.S. History.The function takes in two datetime objects and optionally an integer to round to.CitationsConcha, J. (2017). Some White House aides are calling a short period of time a 'Mooch'. Retrieved 25 October 2020, fromhttps://thehill.com/blogs/blog-briefing-room/news/366508-some-white-house-aides-are-calling-a-short-period-of-time-a
Package: the-movie-api
the_movie_apiShort python class to interact with the movies API
* API key from registering
* Session ID fromhttps://developers.themoviedb.org/3/authentication/how-do-i-generate-a-session-id*https://developers.themoviedb.org* Free software: MIT license
* Documentation:https://the-movie-api.readthedocs.io.
# BIG TODO: Update to v4
# V4 is still a bit of a mess, come back to thisFeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-06-27)First release on PyPI.
Package: themoviedb
themoviedbA modern and easy to use API wrapper for The Movie Database (TMDb) API v3
written in Python. Supports sync and async requests!OverviewThethemoviedbis a synchronous and asynchronous wrapper, written in Python,
for The Movie Database (TMDb) API v3.The Movie Database (TMDb)is a
community built movie and TV database.TheTMDb APIservice
is for those of you interested in using our movie, TV show or actor
images and/or data in your application.ATMDb user accountis
required to request an API key.Getting startedRequirementspython(Python >=3.8)pip(Python package manager)InstallThe easiest way to install themoviedb is viapip.pip install themoviedbAPI KeyYou will need an API key to The Movie Database to access the API. To
obtain a key, follow these steps:Registerfor and
verify an account.Loginto your account.Select theAPI sectionon left side of your account page.Click on the link to generate a new API key and follow the
instructions.UsageSync modefromthemoviedbimportTMDbAsync modefromthemoviedbimportaioTMDbConfigurationInitialize a TMDb object and set your API Key, language and region.tmdb=TMDb(key="YOUR_API_KEY",language="pt-BR",region="BR")# or: tmdb = aioTMDb(key="YOUR_API_KEY", language="pt-BR", region="BR")Alternatively, set after initialize.tmdb=TMDb()# or: tmdb = aioTMDb()tmdb.key="YOUR_API_KEY"tmdb.language="pt-BR"# default: en-UStmdb.region="BR"# default: USAlternatively too, you can export your API key, language and region
logger as an environment variable.$exportTMDB_KEY="YOUR_API_KEY"$exportTMDB_LANGUAGE="pt-BR"# ISO 639-1$exportTMDB_REGION="BR"# ISO-3166-1And then you will no longer need to set your API key, language and region.tmdb=TMDb()# from env: TMDB_KEY="YOUR_API_KEY", TMDB_LANGUAGE="pt-BR", TMDB_REGION="BR"# or: tmdb = aioTMDb()ExamplesGet the list of top rated movies (sync mode).fromthemoviedbimportTMDbtmdb=TMDb()movies=tmdb.movies().top_rated()formovieinmovies:print(movie)Get the list of popular TV shows (async mode).importasynciofromthemoviedbimportaioTMDbasyncdefmain():tmdb=aioTMDb()movies=awaittmdb.tvs().popular()formovieinmovies:print(movie)asyncio.run(main())Discover movies by different types of data.fromthemoviedbimportTMDbtmdb=TMDb()movies=tmdb.discover().movie(sort_by="vote_average.desc",primary_release_date__gte="1997-08-15",vote_count__gte=10000,vote_average__gte=6.0,)formovieinmovies:print(movie)Get the details of movie for a search.importasynciofromthemoviedbimportaioTMDbasyncdefmain():tmdb=aioTMDb()movies=awaittmdb.search().movies("fight club")movie_id=movies[0].id# get first resultmovie=awaittmdb.movie(movie_id).details(append_to_response="credits,external_ids,images,videos")print(movie.title,movie.year)print(movie.tagline)print(movie.poster_url)print(movie.external_ids.imdb_url)forpersoninmovie.credits.cast:print(person.name,person.character)asyncio.run(main())
Package: themule
The MuleTheMule is an async task runner for python.AboutThe purpose of this library is to run long running, heavy tasks in the background using cloud-native solutions. It's modular design allows you to use different backends for individual background tasks.TheMule vs. CeleryTheMule is not intended to replace Celery. They play well together: Celery used to run small and fast tasks, while TheMule is used to run heavy and slow task.Design principalTheMuleCeleryWorker lifecycleOne docker container per taskLong living worker processApplication codebaseMain application and worker can run from different docker images, but the syntax is simpler when they share the codebaseMain application and worker share codebaseTask assignmentTasks can run on different backends; Tasks assignment is done in backendTasks can be assigned to workers with routingTask queueingBackend-specificExternal queueing service (Redis, RabbitMQ)Available BackendsTheMule comes with pre-made backends and you can write your own.AWS BatchInstallation:pip install themule[aws_batch]Class path:themule.backends.AwsBatchBackendConfiguration:Job parameterEnv variableRequiredDefaultDescriptionaws_batch_queue_nameTHEMULE_AWS_BATCH_QUEUE_NAMEYes-The name of AWS Batch queueaws_batch_job_definitionTHEMULE_AWS_BATCH_JOB_DEFINITIONYes-The name of AWS Batch job definitionLocal DockerInstallation:pip install themule[docker]Class path:themule.backends.LocalDockerBackendConfiguration:Job parameterEnv variableRequiredDefaultDescriptiondocker_imageTHEMULE_DOCKER_IMAGEYes-The name of the Docker imagedocker_entrypointTHEMULE_DOCKER_ENTRYPOINTNoNoneOverride of the container's entrypointdocker_pass_environmentTHEMULE_DOCKER_PASS_ENVIRONMENTNoTruePasses application's env to worker container if truedocker_environmentTHEMULE_DOCKER_ENVIRONMENTNoNoneAdditional container environment variablesdocker_auto_removeTHEMULE_DOCKER_AUTO_REMOVENoTrueRemoves the container after worker exit if truerun_optionsTHEMULE_DOCKER_RUN_OPTIONSNo-Allows to set docker run options
Package: themysto
jcb91’s fork of IPython-contrib-nbextensionsContains a collection of extensions that add functionality to the Jupyter
notebook.
These extensions are mostly written in Javascript, and are loaded locally in
the browser.The IPython-contrib repositoryhttps://github.com/ipython-contrib/IPython-notebook-extensionsis maintained independently by a group of users and developers and is not
officially related to the IPython development team.The maturity of the provided extensions may vary, please create an issue if you
encounter any problems.
Package: thenamelisttool
thenamelisttoolThe main objectives of this package is to provide command line tools useful to
work with namelists or pack of namelists (update them, compare them, ...).Originally, it has been developed as part of theVortexproject. Recently
the code has been extracted from theVortexcode base. It is now presented
as an independent Python package.ContributingPlease reviewCONTRIBUTING.mdfor details on our
development process.
Package: thencon
PyPI:https://pypi.org/project/thenconThis library will help you convert Thai to English / English to Thai(by
Kedmanee keyboard layout)Have you ever type a long phrase and realised you forgot to change the
language on the keyboard? Well, this library can help you out! By
installing this package and run it with python, it can automatically
convert English into Thai or even Thai to English.btw. “thencon” stands for Thai English Converter in case you want to
know :)How to install:Open CMD / Terminal and type this commandpipinstallthenconUsage:[STEP 1] - Open python IDLE and type…fromthenconimporttranslate[STEP 2]thencon.translate(your-method(1or2),yourtext)Methods: - (1): Convert English to Thai - (2): Convert Thai to English[Example]# -*- coding: utf-8 -*-fromthenconimporttranslateentext=("l;ylfu")#Typing Thai with English keyboardthtext=("็ำสสน")#Typing English with Thai keyboardconverted_th=translate(1,entext)#Convert English to thaiconverted_en=translate(2,thtext)#Convert Thai to Englishprint("The Thai text is: "+converted_th)print("The English text is: "+converted_en)Developed by: ADR
Package: thendisnever
The End is NeverA package to make an LLM talk with itself forever.fromthendisnever.thendimportisneverisnever()Parametersmodel_name: The model to generate text with.Thisis the default model.This must be a model compatible withAutoModelForCausalLM.prompt: The initial prompt for the model.Thisis the inspiration for the default prompt.max_memory_ratio: The % of past tokens to remember.This must be a real number between or equal to 0 and 1.NotesWhen runningisnever()for the first time, it will download the model and tokenizer from HuggingFace. This will take a while, but it only needs to be done once.If you want to use the CPU (not recommended because it's slow, but it works), make sure you havePyTorch for CPUinstalled before installing this package.ContributingCheck outthis guidethat describes how to create a package withTyper.Before testing, make sure to update the version:pyproject.toml->tool.poetrysrc/thendisnever/__init__.py->__version__And the dependencies:pyproject.toml->tool.poetry.dependencies
Package: thenewboston
OverviewPython library for thenewboston digital currency.This library contains all of the core logic, shared functionality, and
constants used by both theBankandValidatoron thenewboston network.Project SetupFollow the steps below to set up the project on your environment. If you run into any problems, feel free to leave a
GitHub Issue or reach out to any of our communities above.Install required packages:pip3 install -e .TestingTo run tests:pytestTo run tests with coverage report:pytest --cov-config=.coveragerc --cov=./srcTo run linting:flake8 .BuildingThe building and publishing of this package is automated through GitHub actions. To publish a new release, update the./src/thenewboston/__init__.pyfile with the latest version number. The updated package will be published once the
branch is merged intomaster.To produce a source distribution manually:python3 setup.py sdistCommunityJoin the community to stay updated on the most recent developments, project roadmaps, and random discussions about completely unrelated topics.thenewboston.comDiscordFacebookInstagramLinkedInRedditTwitchTwitterYouTubeDonateAll donations will go to thenewboston to help fund the team to continue to develop the community and create new content.CoinAddressb6e21072b6ba2eae6f78bc3ade17f6a561fa4582d5494a5120617f2027d387973GZYi3w3BXQfyb868K2phHjrS4i8LooaHh0x0E38e2a838F0B20872E5Ff55c82c2EE7509e6d4ALicensethenewboston isMIT licensed.
Package: thenewboston-ml-dev
OverviewPython library for thenewboston digital currency.This library contains all of the core logic, shared functionality, and
constants used by both theBankandValidatoron thenewboston network.Project SetupFollow the steps below to set up the project on your environment. If you run into any problems, feel free to leave a
GitHub Issue or reach out to any of our communities above.Install required packages:pip3 install -e .TestingTo run tests:pytestTo run tests with coverage report:pytest --cov-config=.coveragerc --cov=./srcTo run linting:flake8 .BuildingThe building and publishing of this package is automated through GitHub actions. To publish a new release, update the./src/thenewboston/__init__.pyfile with the latest version number. The updated package will be published once the
branch is merged intomaster.To produce a source distribution manually:python3 setup.py sdistCommunityJoin the community to stay updated on the most recent developments, project roadmaps, and random discussions about completely unrelated topics.thenewboston.comDiscordFacebookInstagramLinkedInRedditTwitchTwitterYouTubeDonateAll donations will go to thenewboston to help fund the team to continue to develop the community and create new content.CoinAddressb6e21072b6ba2eae6f78bc3ade17f6a561fa4582d5494a5120617f2027d387973GZYi3w3BXQfyb868K2phHjrS4i8LooaHh0x0E38e2a838F0B20872E5Ff55c82c2EE7509e6d4ALicensethenewboston isMIT licensed.
Package: thenewboston-python-client
OverviewPython library for thenewboston.Project SetupFollow the steps below to set up the project on your environment. If you run into any problems, feel free to leave a
GitHub Issue or reach out to any of our communities above.Install required packages:pip3 install -r requirements.txtTestingTo run tests:pytestBuildingTo produce a source distribution:python3 setup.py sdistCommunityJoin the community to stay updated on the most recent developments, project roadmaps, and random discussions about
completely unrelated topics.thenewboston.comSlackredditLinkedInFacebookTwitterYouTubeLicensethenewboston isMIT licensed.
Package: the-new-hotness
the-new-hotnessFedora-messagingconsumer that listens torelease-monitoring.organd files bugzilla bugs in response (to
notify packagers that they can update their packages).For additional information seedocumentation.Seeing it in actionTo see recent messages from the-new-hotness:Check Fedora’sdatagrepperOr join #fedora-fedmsg IRC channel onliberaand watch forhotnessmessages.To see recent koji builds started by the-new-hotness:Check Fedora’skoji buildsDevelopmentContributions are welcome, check outcontribution guidelines.
Package: thenmap
A simple wrapper for the Thenmap API.InstallingpipinstallthenmapUsing>>>fromthenmapimportThenmap>>>api=Thenmap()>>>swedish_municipalities=api["se-7"]>>>swedish_municipalities.geojson# defaults to current local date{{u'crs':{u'type':u'name',...}>>>swedish_municipalities.date="1975-05-03">>>swedish_municipalities.geojson{{u'crs':{u'type':u'name',...}>>>swedish_municipalities.in_which("13.46,59.38")'1780'For more fine grained controll over the return geodata use the method get_geodata:>>>swedish_municipalities.get_geodata(date="1975-05-03",format="topojson"){{u'crs':{u'type':u'name',...}Seehttp://thenmap.netfor more info on the API.Changelog1.1.0
- Always get features from only one date. Default to current date
- Add Dataset.info method
- Make Python3.x compatible1.0.1
- Fixed import bug1.0.0
- First working version
Package: the-nordic-pile
The Nordic Pile replication codeThe Nordic Pile is a repository with the aim of providing tools and code to download and
replicate a large nordic language dataset. The dataset consists of many smaller datasets combined together.
With the objective to cover a broad set of language modalities.WorkflowTo propose a new dataset be added to the Nordic Pile,open an issue.
Your issue should include a description of the dataset, its size, what language(s) it is in,
a link to the data, and any other relevant information. If a project manger approves your proposal,
they will change its label toand add it to. Datasets that we elect to not include in the current version of the Pile will receive aorlabel. We will now focus on datasets in the languages of the nordics: Swedish, Danish, Norwegian and Finnish.To claim responsibility for implementing an unclaimed dataset,
leave a comment on one of our unassigned issues. Once a dataset
has been assigned to you, make the necessary changes todatasets.pyandpile.pyin a fork and submit a pull request. If you require, you can also
submit a script for processing the data as shownhere.To raise an issue that is not proposing a new dataset,
open an issue with the tagoras appropriate.Data ready for final implementation should meet the following criteria:The data must be inlm_dataformatformat.The data must be shuffled.AttributionThis initiative is heavily inspired by Eleuther AIs The Pile project.https://www.eleuther.ai/https://pile.eleuther.ai/DatasetsDatasetStatusWikipedia-Swedish🙋‍♀️ Waiting for contributorWikipedia-Danish🙋‍♀️ Waiting for contributorWikipedia-Norwegian🙋‍♀️ Waiting for contributorWikipedia-Finnish🙋‍♀️ Waiting for contributorSwedish Parliament🙋‍♀️ Waiting for contributor
Package: thenumbersofmagic
Module to find files without extensions using Magic Numbers. For Python 3.XMagic Numbers implemented:25504446:PDF Document or Adobe Portable Document Format and Forms Document file424d:Bitmap graphicffd8”:JPEG graphic filecafebabe:Class File0000000c6a5020200D0a: JPEG 200047494638:GIF graphic file4949:TIF graphic file89504e470d0a1a0a:PNG graphic file38425053:Photoshop Graphicsd7cdc69a:Windows Meta File4d546864:MIDI file00000100:Icon file494433:MP3 file with ID3 identity tag52494646:AVI video file465753:Flash Shockwave464c56:Flash Video00000018667479706d703432:Mpeg 4 video file6d6f6f76:MOV video file3026b2758e66cf:Windows Video file3026b2758e66cf:Windows Audio file504b0304:PKZip1f8b08:GZip7573746172:Tar filed0cf11e0a1b11ar1:Microsoft Installer4c01:Object Code File4d5a”:”Dynamic Library4d534346”:CAB Installer file4D5A:Executable file526172211a0700:RAR file4d5a:SYS file3f5f0300:Help file4b444d56:VMWare Disk file2142444e42:Outlook Post Office filed0cf11e0a1b11ae1:Word Document or Excel Document or PowerPoint Document or Visio Document or Outlook Message File7b5c72746631:RTF Document504b0304:DOCX (Office 2010) or XLSX (Office 2010) or PPTX (Office 2010)5374616e64617264204a6574:Microsoft Database2521:Postcript File252150532d41646f62652d332e3020455053462d332030:EPS File504b0304140008000800:Jar File4d6963726f736f66742056697375616c2053747564696f20536f6c7574696f6e2046696c65:SLN FileUsage: –> Import TheMagicOfNumbers –> Magic = TheMagicOfNumbers.octarine(YOURFILE) –> print (Magic)This is my tribute to Terry pratchett
Package: the-octopus-test
The-Octopus-Test Automation Framework.Th-Octopus-Testis aFreeTest Automation Framework for E2E Testing, that built on python programming language. Using Selenium and APPIUM test automation tools.Th-Octopus-Testis aHybridtest automation framework, that combines features of (Modular, Keyword Driven and Data driven).Concepts Included:Data Driven.Keyword Driven.Page Object pattern .POMCommon web page interaction methods.Common Mobile App interaction methods.Objects shared repository.ExtentReport template for reporting.Documentation:Please refer to the online full documentation linkTh-Octopus-Test.InstallationRequired ToolsMicrosoft Access database engine 2010.Access Engine 2010Python.PythonSelenium WebDriver.seleniumhq.orgAPPIUM.appium.ioVS Code or any python editor.Supportive Libraries:Install Microsoft Access database engine 2010.Install Python 3.5 and above.Configure python path and pip tools. in windows , open system variables and edit the path variable and add paths.Install selenium libraries using pip from command line.pip install -U seleniumInstall APPIUM libraries using pip from command line.pip install Appium-Python-ClientDownload Selenium Drivers: Selenium requires a driver to interact with the chosen browser.Chrome:ChromeDriverEdge:EdgeDriverFirefox:FireFoxDriverSafari:SafariDriverThe-Octopus-Test Framework:Install the Octopus Test Frameworkpip install the-octopus-testGetting started :Clone the sample Test projectThe-Octopus-Sample-TestPlease follow the structure and naming of the sample project:<Octopus_Sample_Test>+--------------------------+|                          ||                          ||<reports>                 ||                          ||<resourcses>              ||    <ChromeDriver>        ||    <ChromeDriver>        ||    <ChromeDriver>        ||    <ChromeDriver>        ||    <TestData>            ||       ControlFile.xlsx   ||<test>                    ||    <pages>               ||       loginPage.py       ||       homePage.py        ||       ....               ||       ....               ||    <scenarios>           ||       testScenarios.py   ||                          ||                          ||main.py                   ||                          ||                          ||                          |+--------------------------+Open the project in your prefered IDE, I recommend VS Code editor.Follow the instructions in theREADME.MDfile at the sample project.Enjoy your test automation activities, and increase productivity withthe-octopus-testpython framework.LicenseThe-Octopus-Test Python Framework is licensed under the LICENSE file in the root directory of the project.Please for more details do not hesitate to contact me atLinkedIn
Package: theoddsapi
the-odds-api-clientPython wrapper for The Odds API V4Getting StartedYou can install the package usingpip install theoddsapiOr you can run the followinggit clone git@github.com:MidpriceDog/the-odds-api-client.gitand thenmake installEither way, it is assumed you have Python 3, git, and pip installed.Example UsageInstantiate an instance ofTheOddsAPIby passing in an API key, which you
should receive via email upon signing up for a subscription planhere.client=TheOddsAPI('YOUR_KEY_HERE')Let's say you want to find out what the spread odds were on Fanduel's sportbook for games played on the 1st of January in the year 2023 around 12:00 UTC. Then, you would run the following:self._test_get_historical_odds(sport='basketball_nba',regions='us',markets='spreads',date='2023-01-01T12:00:00Z',bookmakers='fanduel',oddsFormat='american')DocumentationPlease refer to the documentationherefor information on how to use this package.TestingRunmake testNote:As a wrapper for The Odds API which requires the use of an API key,
testing this package requires using part of your the request quota associated
with the API key supplied. The usage quotas for running the tests suites
in thetest.pyfile under thetestsdirectory can be found in the schedule below.Test SuiteUsage Quotaodds_suite3event_odds_suite2historical_odds_suite30usage_suite0scores_suite5
Package: theodias
Theodiastheodiasprovides Python implementations of routines to constructs, and analyze dialectical structures. It
is based on theTHEory ofDIAlecticalStructures (Betz 2013).The package contains classes that provide basic functionalities for using dialectical structures as they are described in Betz (2010) and Betz (2013).Further information can be found underhttps://github.com/re-models/theodias.LiteratureBetz, G., 2010. Theorie dialektischer Strukturen. Klostermann, Frankfurt am Main.https://doi.org/10.5771/9783465136293Betz, G., 2013. Debate Dynamics: How Controversy Improves Our Beliefs, Synthese Library. Springer Netherlands.https://www.springer.com/de/book/9789400745988Claus Beisbart, Gregor Betz, Georg Brun, Sebastian Cacean, Andreas Freivogel, Richard Lohse