Saravanan666/pypi-org huggingface dataset:
Package: third-party-imports
python-third-party-importsThis is aPythonCLItool built withRustthat finds all third-party packages imported into your Python project.InstallYou can install this package via pip.pip install third-party-importsUsageRun:Check a directory:third-party-imports path/to/project/dirCheck a directory with extra files:third-party-imports --extra-file-paths path/to/project/dir/foo.sh path/to/project/dirNote:You can use--extra-file-pathsoption to include files that do not contain.pyor.pyiextension.Check a file:third-party-imports --project-root path/to/project/dir/ path/to/project/dir/foo/main.pyNote:If the file is not located in the project root directory,
then you need to use--project-rootoption to specify where the project root directory is located.Help:Find all third-party packages imported into your python project.Usage: third-party-imports [OPTIONS] <PATH>Arguments:<PATH>  Path to a file or directory to checkOptions:-p, --project-root <PROJECT_ROOT>          Path to the project's root directory-e, --extra-file-paths <EXTRA_FILE_PATHS>  Extra file paths to check-h, --help                                 Print help-V, --version                              Print versionExamplethird-party-imports examples/Output:Found '4' third-party package imports in '5' files. (Took 920.50µs)celerydjangopandasrequestsDevelopmentRun using Cargocargo +nightly run -- path/to/project/dirCode Formatcargo +nightly fmtRun Testscargo +nightly testInstall Package in currentvirtualenvmaturin developLicenseThe code in this project is released under theMIT License.
Package: thirdparty-yaml
thirdparty.yamlYAML Processing Extensions (e.g. Overlays, Recursive Merging, Includes)Usage Synopsisfrom thirdparty.yaml.overlay import YamlOverlay

yaml_overlay = YamlOverlay()
obj = yaml_overlay.load(yaml_string)
print(yaml_overlay.dump(obj))Overviewthirdparty.yamlenables yaml content creators to add include and recursive merge directives within the yaml itself.Example YAML with recursive_merge and include:---
thing:
  value: 4

<<<:
  thing:
    additional: 6

!recursive_merge :
  thing:
    yet_another_recursive_merge: true

<<<: !include test_simple_mapping.yamlThe result of the above is:---
thing:
  value: 4
  additional: 6
  yet_another_recursive_merge: true

otherthings:
  myval: 45Installpython3 -m pip install --upgrade thirdparty-yamlContributingAny contributions and feature requests are welcome! Please submit all contributions forthirdparty.yamlas an issue or pull-request (PR) onthirdparty.yaml's Github Page.AuthorsPaul KohoutVincent AgriestiLicenseMIT License

Copyright (c) 2020 third-party-dev

Permission 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: thirdwatch_api
The first version of the Thirdwatch API is an exciting step forward towards making it easier for developers to pass data to Thirdwatch.   # Introduction Once you've [registered your website/app](https://thirdwatch.ai) it's easy to start sending data to Thirdwatch.  All endpoints are only accessible via https and are located at &#x60;api.thirdwatch.ai&#x60;. For instance: you can send event at the moment by &#x60;&#x60;&#x60;HTTP POST&#x60;&#x60;&#x60; Request to the following URL with your API key in &#x60;&#x60;&#x60;Header&#x60;&#x60;&#x60; and &#x60;&#x60;&#x60;JSON&#x60;&#x60;&#x60; data in request body. &#x60;&#x60;&#x60;https://api.thirdwatch.ai/event/v1&#x60;&#x60;&#x60; Every API request must contain &#x60;&#x60;&#x60;API Key&#x60;&#x60;&#x60; in header value &#x60;&#x60;&#x60;X-THIRDWATCH-API-KEY&#x60;&#x60;&#x60;  Every event must contain your &#x60;&#x60;&#x60;_userId&#x60;&#x60;&#x60; (if this is not available, you can alternatively provide a &#x60;&#x60;&#x60;_sessionId&#x60;&#x60;&#x60; value also in &#x60;&#x60;&#x60;_userId&#x60;&#x60;&#x60;).  # Score API The Score API is use to get an up to date cutomer trust score after you have sent transaction event and order successful. This API will provide the riskiness score of the order with reasons. Some examples of when you may want to check the score are before:    - Before Shippement of a package   - Finalizing a money transfer   - Giving access to a prearranged vacation rental   - Sending voucher on mail    &#x60;&#x60;&#x60;https://api.thirdwatch.ai/neo/v1/score?api_key&#x3D;&lt;your api key&gt;&amp;order_id&#x3D;&lt;Order id&gt; &#x60;&#x60;&#x60;  According to Score you can decide to take action Approve or Reject. Orders with score more than 70 will consider as Riskey orders. We'll provide some reasons also in rules section.  ## Response score API  &#x60;&#x60;&#x60; {   &quot;order_id&quot;: &quot;OCT45671&quot;,   &quot;user_id&quot;: &quot;ajay_245&quot;,   &quot;order_timestamp&quot;: &quot;2017-05-09T09:40:45.717Z&quot;,   &quot;score&quot;: 82,   &quot;flag&quot;: &quot;red&quot;,     -&quot;reasons&quot;: [     {         &quot;name&quot;: &quot;_numOfFailedTransactions&quot;,         &quot;display_name&quot;: &quot;Number of failed transactions&quot;,         &quot;flag&quot;: &quot;green&quot;,         &quot;value&quot;: &quot;0&quot;,         &quot;is_display&quot;: true       },       {         &quot;name&quot;: &quot;_accountAge&quot;,         &quot;display_name&quot;: &quot;Account age&quot;,         &quot;flag&quot;: &quot;red&quot;,         &quot;value&quot;: &quot;0&quot;,         &quot;is_display&quot;: true       },        {         &quot;name&quot;: &quot;_numOfOrderSameIp&quot;,         &quot;display_name&quot;: &quot;Number of orders from same IP&quot;,         &quot;flag&quot;: &quot;red&quot;,         &quot;value&quot;: &quot;11&quot;,         &quot;is_display&quot;: true       }     ] } &#x60;&#x60;&#x60;
Package: thirdweb-contract-wrappers
0x-contract-wrappers0x contract wrappers for those developing on top of 0x protocol.Read thedocumentationInstallingpipinstall0x-contract-wrappersContributingWe welcome improvements and fixes from the wider community! To report bugs within this package, please create an issue in this repository.Please read ourcontribution guidelinesbefore getting started.Install Code and DependenciesThis package contains code generated via npm package @0x/abi-gen. Preparing this package for development or installation requires running./setup.py pre_install, which will invoke abi-gen to write the files to the src hierarchy. It expects to find abi-gen and the contract artifacts at the relative directory locations in the monorepo.After code generation, ensure that you have installed Python >=3.6 and Docker, and then:pipinstall-e.[dev]TestTests depend on a running ganache instance and with the 0x contracts deployed in it. For convenience, a docker container is provided that has ganache-cli and a snapshot containing the necessary contracts. A shortcut is provided to run that docker container:./setup.py ganache. With that running, the tests can be run with./setup.py test.Clean./setup.py clean --allLint./setup.py lintBuild Documentation./setup.py build_sphinxMoreSee./setup.py --help-commandsfor more info.
Package: thirdweb-eth-account
eth-accountSign Ethereum transactions and messages with local private keysRead more in thedocumentation on ReadTheDocs.View the change log.Quickstartpipinstalleth-accountDeveloper SetupIf you would like to hack on eth-account, please check out theSnake Charmers
Tactical Manualfor information on how we do:TestingPull RequestsCode StyleDocumentationDevelopment Environment SetupYou can set up your dev environment with:gitclonegit@github.com:ethereum/eth-account.gitcdeth-account
virtualenv-ppython3venv
.venv/bin/activate
pipinstall-e.[dev]To run the integration test cases, you need to install node and the custom cli tool as follows:apt-getinstall-ynodejs# As sudo./tests/integration/ethers-cli/setup_node_v12.sh# As sudocdtests/integration/ethers-cli
npminstall-g.# As sudoTesting SetupDuring development, you might like to have tests run on every file save.Show flake8 errors on file change:# Test flake8when-changed-v-s-r-1eth_account/tests/-c"clear; flake8 eth_account tests && echo 'flake8 success' || echo 'error'"Run multi-process tests in one command, but without color:# in the project root:pytest--numprocesses=4--looponfail--maxfail=1# the same thing, succinctly:pytest-n4-f--maxfail=1Run in one thread, with color and desktop notifications:cdvenv
ptw--onfail"notify-send -t 5000 'Test failure ⚠⚠⚠⚠⚠' 'python 3 test on eth-account failed'"../tests../eth_accountRelease setupFor Debian-like systems:apt install pandocTo release a new version:makereleasebump=$$VERSION_PART_TO_BUMP$$How to bumpversionThe version format for this repo is{major}.{minor}.{patch}for stable, and{major}.{minor}.{patch}-{stage}.{devnum}for unstable (stagecan be alpha or beta).To issue the next version in line, specify which part to bump,
likemake release bump=minorormake release bump=devnum. This is typically done from the
master branch, except when releasing a beta (in which case the beta is released from master,
and the previous stable branch is released from said branch).If you are in a beta version,make release bump=stagewill switch to a stable.To issue an unstable version when the current version is stable, specify the
new version explicitly, likemake release bump="--new-version 4.0.0-alpha.1 devnum"
Package: thirdweb-web3
Web3.pyA Python library for interacting with Ethereum, inspired byweb3.js.Python 3.6+ supportQuickstartGet started in 5 minutesortake a tourof the library.DocumentationFor additional guides, examples, and APIs, see thedocumentation.Want to help?Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our
guidelines forcontributing,
then check out issues that are labeledGood First Issue.Questions on implementation or usage? Join the conversation ondiscord.
Package: this-american-life
this american clientTheThis American Lifeclient library.Get structured data on transcripts, episodes, et c without worrying about all of the web scraping details. Intermediate
results are cached to keep it snappy.Installpipinstallthis-american-lifeUsing the clientEverything starts with the importfromthisamericanlifeimportThisAmericanLifetal=ThisAmericanLife()Get the episode and act summariesep_one=tal.episodes.get(episode_number=1)print('Title       : '+ep_one.title)print('Date on air : '+ep_one.date_on_air)print('Description : '+ep_one.description)# the name and short description of each actprint(ep_one.act_summaries)Get the transcript of an episodeep_one_transcript=tal.transcripts.get(episode_number=1)print(ep_one_transcript.transcript[0])# result ...# {#   "act_id": "prologue", "act_number": 1, "act_title": "Prologue",#   "begin": "00:00:00.17",#   "line": "Joe Franklin?",#   "speaker": "interviewer",#   "speaker_name": "Ira Glass"# }
Package: thisapidoesnotexist
Copyright (c) 2019 Miguel Lopes da Silva FilhoPermission 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.Description: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Package: this-cli
# This - Standardized project tool[![Travis branch](https://img.shields.io/travis/iBelieve/this/master.svg?style=for-the-badge)](https://travis-ci.org/iBelieve/this)
[![PyPI](https://img.shields.io/pypi/v/this-cli.svg?style=for-the-badge)](https://pypi.org/project/this-cli/)
[![PyPI - License](https://img.shields.io/pypi/l/this-cli.svg?style=for-the-badge)](https://opensource.org/licenses/MIT)
[![Maintenance](https://img.shields.io/maintenance/yes/2018.svg?style=for-the-badge)]()thisprovides a standardized and simplified interface for running
many common project tasks, such as building, running, testing, and
deploying. It supports many project types, including Node.js, Python,
Autotools, Meson, and CMake.By providing a standard set of commands, the goal is to ease the
burden of having to remember or look up the exact commands to run for
specific projects. In addition,thiswill run multiple commands as
necessary to accomplish a given task. For example, building an
autotools-based project will run./autogen.sh,./configure, thenmake, while a meson-based project will runmesonand thenninjain the build directory.The goal ofthisis not to provide every possible feature or
command, but only to wrap a subset of commands common to most
projects. For more advanced commands, use the actual commands thatthiswraps.### Installation and Usagethisis currently available via pip3 (Python 3-only):pip3 install this-cliTo use on a project, you can directly invokethiswith one of the commands
listed below, or runthiswith no arguments to see what project type
is detected and what subset of the commands are available:> thisNode.js project using Yarn (deployed using Ansible)Available commands:build
lint
test
check
run
deployTo see what stepsthiswill run for a given command, use the–dry-runflag:> this –dry-run deploy$ ansible-galaxy install -r ansible/requirements.yml
$ ansible-playbook -i ansible/inventory ansible/playbook.yml### Supported Project FormatsAutotoolsCargo (Rust)CMakeMakefileMesonNode.jsPython### Supported Commandsbuildlinttestcheck (usually lint + test combined)rundeploy### LicenseLicensed under the [MIT license](https://opensource.org/licenses/MIT).
Package: thisday
thisdaythisdayis a command line tool that accesses onthisday.com to give the user events that occurred for that day.How to use the packageIt is recommended to install the package in a virtual environment, though one can install globally by usingpipinstead ofpipenvwhere it appears should they please.Note that this package is intended for command line use only.installthisdayviapipenv$ pipenv install thisdayenter virtual environment$ pipenv shellnow that you are in the virtual environment, install package dependenciesbs4andrequests(andpytestif you want to run tests)$ pipenv install beautifulsoup4 requests pytestuse the terminal to type the commandthisday [option], valid options include: history, film-tv, sport, music$ thisday history

$ thisday film-tv

$ thisday sport

$ thisday musicLearn about what happened on this day!To exit the virtual environment, run theexitcommand within the shell (skip if not using a virtual environment)$ exitTest programWe have provided ashell scriptdemonstrating the functionality of our package.Package functionsrunParams:args(argument for the function)Returns:content retrieved from website if runs correctly, or an error message if something went wrongDescription:Main driver function of the packageprocess_inputParams:inputString(a string for input)Returns:the input string if it is valid, or an error message if it is notDescription:Function to check if the argument is valid for the packageconnectParams:option(a string returned from process_input)Returns:A BeautifulSoup object generated from the website if option is valid, or 0 if option is invalidDescription:Function to connect to the respective URL for each input optionget_eventsParams:soup(a BeautifulSoup object returned from connect)Returns:a list of strings retrieved from the website, or 0 if failed to retrieveDescription:Function to retrieve data from the URLshowParams:my_data(a list of strings returned from get_events)Returns:a string if the list is valid, or 0 if notDescription:Function that displays data to the userTesting locallyIf you would like to test the package, download the package files to your machine. Then, within the directory of the download, follow the steps 1 and 2 inhow to use the packageto create and enter the virtual environment, then run the following command to run the test file:$ pytest
OR 
$ python3 -m pytestTip: When working on the package, it might be helpful to install the package in editable mode, so that changes to the package are immediately updated in the virtual environment. To do this, runpipenv install -e .from the main directory of the projectAuthorsAnvi AgarwalDanilo MontesLeo XuOtis LuPyPI PagePackage on PyPI
Package: this-is
this-is-pythonHow to install?pipinstallthis-isHow to use?# First command
>>> from this_is import en_us

# Second command
>>> en_us()

The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one– and preferably only one –obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea – let's do more of those!Languagespt-BR - Portugueseen-US - Englishes - Spanishfr - FrenchContributingContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make aregreatly appreciated.Fork the ProjectCreate your Feature Branch (git checkout -b feature/AmazingFeature)Commit your Changes (git commit -m 'Add some AmazingFeature')Push to the Branch (git push origin feature/AmazingFeature)Open a Pull RequestContributorsCommit Style⚙️ NO-TASK📝 PEP8📌 ISSUE🪲 BUG📘 DOCS📦 PyPI❤️️ TESTLicenseDistributed under the MIT License. SeeLICENSEfor more information.ContactFernando Celmer-email@fernandocelmer.comProject Link:https://github.com/fernandocelmer/this-is-python
Package: this-is-my-package-called-password
passwordPassword validator and generatorUsage:command line:pip3 install passwordpython3:from password import mainandmain()output:Generate password? 
>>> yep
Website name? 
>>> numberbasher.onuniverse.com (PLZ visit)
Generated password for numberbasher.onuniverse.com (PLZ visit): "nUmBeRb@$HeR"
Check generated password? 
>>> yes, do that

Your password "nUmBeRb@$HeR" passed EASYTEST. 

Your password "nUmBeRb@$HeR" passed SHORTTEST. 

Your password "nUmBeRb@$HeR" passed COMMONTEST. 
Check your own password? 
>>> yippee!!!
Password? 
>>> Password
Sorry, common phrase #27: "pass" is in password "Password". Password is too easy. 
Sorry, common phrase #28: "word" is in password "Password". Password is too easy. 

Your password "Password" failed EASYTEST. 

Your password "Password" passed SHORTTEST. 
Sorry, password "Password" is the #1 common password. Password is too common. 
Sorry, password "Password" is the #275 common password. Password is too common. 
--snip--
Sorry, password "Password" is in the #958659 common password: "viswaspassword". Password is too common. 
Sorry, password "Password" is in the #969773 common password: "vgpassword". Password is too common. 

Your password "Password" failed COMMONTEST. 
Generate password? 
>>> quit
Package: thispersondoesnotexist
ThisPersonDoesNotExistAPITo install:pip install thispersondoesnotexistUnofficial "API" for theThisPersonDoesNotExistwebsite.What is ThisPersonDoesNotExist?A page that returns a JPEG picture of a person that does not exist, because it has been generated using an AI.
When opening the webpage, a image is returned directly, and refreshing the page will return a new image (although they can be repeated because the repository is limited and images are not generated on real time).Some articles about it:This Person Does Not Exist - Computer generated people Refresh to get a new one | Product HuntThispersondoesnotexist.com is face-generating AI at its creepiestWhy creating/using an "API"?Why not? Use your imagination!RequirementsPython 3.6requests libraryfree timeUsageGet a person using functionfromthispersondoesnotexistimportget_online_personpicture=awaitget_online_person()# bytes representation of the image# Save to a filefromthispersondoesnotexistimportsave_pictureawaitsave_picture(picture,"a_beautiful_person.jpeg")# If no filename is provided, one will be generated using the checksum of the pictureawaitsave_picture(picture)Get a person using classfromthispersondoesnotexistimportPerson# Initialize with True to automatically get a person from the webpageperson=Person(fetch_online=True)# Save to a fileawaitperson.save("a_beautiful_person.jpeg")# If no filename is provided, one will be generated using the checksum of the pictureawaitperson.save()Generate checksumsThis can be useful if you want to create a scraper of fictional persons. You would be calling the methods to get random pictures, and to avoid repeating them, you can use their checksum - or just save with the auto-generated filename.fromthispersondoesnotexistimportget_online_person,get_checksum_from_picture,Person# Using objectperson=Person(fetch_online=True)checksum=person.get_checksum("md5")# Using functionpicture=awaitget_online_person()checksum2=get_checksum_from_picture(picture)# Method is optional, defaults to "md5"
Package: this-person-does-not-exist-but-has-age-and-gender
This Person Does Not Exist But Has Age And GenderPython package for getting the person with requested gender and age fromThis Person Does Not Existwebsite.It's getting right person, by downloading image of a randomly generated person fromThis Person Does Not Existand then checking gender and age of that person,
with use of OpenCV library.InstallationUse the package managerpipto install.pipinstallthis_person_does_not_exist_but_has_age_and_genderUsagefromthis_person_does_not_exist_but_has_age_and_genderimportget_personget_person("male",30)# returns filename of downloaded picture of a personIt can be also used from command linepythonthis_person_does_not_exist_but_has_age_and_gender.pymale30ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT