Saravanan666/pypi-org huggingface dataset:
Package: thefuckingweather
Python module for thefuckingweather.com, version 1.0.2Copyright (C) 2013  Red Hat, Inc., and others.https://github.com/ianweller/python-thefuckingweatherThis program is free software. It comes without any warranty, tothe extent permitted by applicable law. You can redistribute itand/or modify it under the terms of the Do What The Fuck You WantTo Public License, Version 2, as published by Sam Hocevar. Seehttp://sam.zoy.org/wtfpl/COPYING for more details.Credits:- Colin Rice for fixing the (no-longer used) regexps to allow fornegative temperatures----The code is self-documenting so you shouldn't have any problem using it.The basic way to use it, if you're including it in a program, is:>>> import thefuckingweather>>> thefuckingweather.get_weather("Hell, MI")and you'll get lots of return data. The data format is documented underget_weather(). You can also run it from a shell: this output is prettyto the average user but can also be parsed by the likes of sed.The Git repository is located on GitHub:https://github.com/ianweller/python-thefuckingweatherThis program comes without any warranty (as stated in the copyrightdisclaimer), so please don't treat it as an actual weather reportingsystem or as trustworthy.Enjoy!
Package: thefuzz
TheFuzzFuzzy string matching like a boss. It usesLevenshtein Distanceto calculate the differences between sequences in a simple-to-use package.RequirementsPython 3.8 or higherrapidfuzzFor testingpycodestylehypothesispytestInstallationUsing pip via PyPIpipinstallthefuzzUsing pip via GitHubpipinstallgit+git://github.com/seatgeek/thefuzz.git@0.19.0#egg=thefuzzAdding to yourrequirements.txtfile (runpip install-rrequirements.txtafterwards)git+ssh://git@github.com/seatgeek/thefuzz.git@0.19.0#egg=thefuzzManually via GITgitclonegit://github.com/seatgeek/thefuzz.gitthefuzzcdthefuzzpythonsetup.pyinstallUsage>>>fromthefuzzimportfuzz>>>fromthefuzzimportprocessSimple Ratio>>>fuzz.ratio("this is a test","this is a test!")97Partial Ratio>>>fuzz.partial_ratio("this is a test","this is a test!")100Token Sort Ratio>>>fuzz.ratio("fuzzy wuzzy was a bear","wuzzy fuzzy was a bear")91>>>fuzz.token_sort_ratio("fuzzy wuzzy was a bear","wuzzy fuzzy was a bear")100Token Set Ratio>>>fuzz.token_sort_ratio("fuzzy was a bear","fuzzy fuzzy was a bear")84>>>fuzz.token_set_ratio("fuzzy was a bear","fuzzy fuzzy was a bear")100Partial Token Sort Ratio>>>fuzz.token_sort_ratio("fuzzy was a bear","wuzzy fuzzy was a bear")84>>>fuzz.partial_token_sort_ratio("fuzzy was a bear","wuzzy fuzzy was a bear")100Process>>>choices=["Atlanta Falcons","New York Jets","New York Giants","Dallas Cowboys"]>>>process.extract("new york jets",choices,limit=2)[('New York Jets',100),('New York Giants',78)]>>>process.extractOne("cowboys",choices)("Dallas Cowboys",90)You can also pass additional parameters toextractOnemethod to make it use a specific scorer. A typical use case is to match file paths:>>>process.extractOne("System of a down - Hypnotize - Heroin",songs)('/music/library/good/System of a Down/2005 - Hypnotize/01 - Attack.mp3',86)>>>process.extractOne("System of a down - Hypnotize - Heroin",songs,scorer=fuzz.token_sort_ratio)("/music/library/good/System of a Down/2005 - Hypnotize/10 - She's Like Heroin.mp3",61)
Package: thegamesdb
# The Games DB API wrapper for Python[![Build Status](https://travis-ci.org/rogerhil/thegamesdb.svg?branch=master)](https://travis-ci.org/rogerhil/thegamesdb)Based on the The Games DB API:http://wiki.thegamesdb.net/index.php/Main_Page## Installation$ python setup.py install## Usage examples`python >>> from thegamesdb import TheGamesDb >>> api = TheGamesDb() `## Platform Resource`python >>> api.platform <PlatformResource get,list,games> >>> platforms = api.platform.list() >>> len(platforms) 59 >>>platforms[:5][<Platform: 3DO>, <Platform: Amiga>, <Platform: Amstrad CPC>, \ <Platform: Android>, <Platform: Arcade>] >>> p = platforms[0] >>> p <Platform: 3DO> >>> p.id, p.name, p.manufacturer ('25', '3DO', 'Panasonic') >>>p.overview[:69]+ '(...)''The 3DO Interactive Multiplayer (often called simply 3DO) is a video(...)'>>> p = api.platform.get(id=p.id) >>> p <Platform: 3DO> >>> threedo_games = p.games() >>> len(threedo_games) 148 >>>threedo_games[:5][<Game: Mad Dog McCree(3DO)>,<Game: AD&D: Slayer(3DO)>,\ <Game: Blade Force(3DO)>,<Game: Battle Chess(3DO)>,\ <Game: Brain Dead 13(3DO)>]`## Game Resource`python >>> api.game <GameResource get,list> >>> games =api.game.list(name='x-men')>>> len(games) 100 >>>games[:5][<Game:X-Men(Sega32X)>,<Game:X-Men(Arcade)>,\ <Game:X-Men(SegaGenesis)>,<Game:X-Men(Sega MegaDrive)>,\ <Game:X-Men(Sega GameGear)>]>>>games[30].id'2468' >>> game = api.game.get(2468) >>> game <Game:X-Men:Children Of The Atom (Arcade)> >>> game.name, game.platform, game.publisher, game.developer('X-Men:Children Of The Atom', 'Arcade', 'Capcom', 'Capcom') `
Package: theGekko
Installation$ sudo apt-get update && sudo apt-get install -y python3 python3-pip
$ sudo pip3 install thegekkoEnable tab-completeAdd the content ofthisto ~/.bashrc. Then,$ source ~/.bashrcQuick StartAdd files or directories you don’t want to sync.$ gekko camo venv/
Checking for venv/... Exist.
/home/me/gekkotest/.gekkoign saved.Set up SFTP connection.$ gekko grip root@myserver.com:/root/gekkotest-remote -s MyServer
Host:             myserver.com
SSH Port:         22
User:             root
Upload Directory: /root/gekkotest-remote
Remark:           MyServer

Connection Saved.Set up SFTP connection using a rsa key and specify the ssh port.$ gekko grip root@myserver.com:/root/gekkotest-remote -s MyServer -p 1080 -k ~/.ssh/id_rsa
Host:             myserver.com
SSH Port:         1080
User:             root
Upload Directory: /root/gekkotest-remote
Remark:           MyServer
Private key:      /home/ice/.ssh/id_rsaCheck for changes.$ gekko sense MyServer -p P@ssw0rd
Connecting to myserver.com... Connected.
Checking for /root/gekkotest-remote... Exist.
Changes will be taken:
* /root/gekkotest-remote/app.py
+ /root/gekkotest-remote/assets/logo.png
Disconnecting... Done.

0.102 MB need to upload.Sync using password. Add “-f” if you want to a full sync.
Full sync will erase remote folder and re-upload local files.$ gekko run MyServer -p P@ssw0rd -r
Connecting to myserver.com... Connected.
Make directory at /root/gekkotest-remote... Skipped.
Change directory to /root/gekkotest-remote... Done.
Ignored:   .gekkoign
Uploading: app/main/views.py... Done.
Uploading: app/templates/index.html... Done.
Skipped:   app/templates/old.html
Ignored:   venv/lib/python3.5/site.py
......
Ignored:   venv/pip-selfcheck.json
Skipped:   oldone.txt
Uploading: requirements.txt... Done.
Uploading: manager.py... Done.
Reserved:  db.py
Disconnecting... Done.Commandscamouflage (camo) : Define a file or a directory which will be ignored when uploading. This will generate ‘.gekkoign’ file.grip (gp) : Create a host which files will be uploaded to. You can also save the host or remove it.list (ls) : Show all the connections.remove (rm) : Remove a connecion.sense (ss) : Check for the changes which will taken in uploading.run (rn) : Start the upload sequence.version (ver) : Show Gekko version.
Package: thegmu-nextcloud-tools
thegmu-nextcloud-tools.. image::https://www.thegmu.com/jaz/static/img/birdie_logo_64x96.pngthegmu-nextcloud-toolsis a collection of Python tools for providing additional features to NextCloud (https://nextcloud.com). The NextCloud software is a Dropbox like file sharing service that you host yourself. Our first nextCloud tool is to mirror a GIT repo as an NextCloud folder.:Authors: Mybrid Wonderful, Gregg Yearwood
:Date: 09/23/2020
:Support:mybrid@thegmu.com:Version: # -- coding: utf-8 -- """ The GMU version for every Python project that is compliant to push to PyPi. """version= "0.2.0"
:Docs:http://the-gmu-nextcloud-tools.readthedocs.io/:Source:https://bitbucket.org/thegmu/thegmu-nextcloud-tools:Dnextload:http://pypi.python.org/pypi/thegmu-nextcloud-tools
Package: the-great-suspender-restore-urls
Restore the broken URLs of the Great Suspender browser (Google Chrome, Firefox)
extension.BackgroundIf you used to use The Great Suspender Chrome extension, you would notice (as
of 2021-02-04) that it has been banned by Google Chrome for being a malware.The last-known-good-version on GitHub, releasev7.1.6,
works well for me, if installed from source. However, your saved
tabs won’t reload as something has changed in between thegoodand thebadreleases.What to do? Would you just loose all precious URLs and saved sessions? If you
are OK with that, just pass by. Otherwise, read further.How to fix the broken tabsLocally (using this package)Use theFreshStart - Cross Browser Session Managerextension to export all your tabs into a JSON and save it into a file (for
instance, name ittabs.json).Installthe-great-suspender-restore-urls(this) package:pipinstallthe-great-suspender-restore-urlsFix your broken tabs:restore-the-great-suspender-urls--in-file=tabs.json--out-file=tabs-restored.jsonUse theFreshStart - Cross Browser Session Managerto import the tabs back (paste the contents of thetabs-restored.jsonin the import session window).OnlineBuild with FastAPI, VueJS and thethe-great-suspender-restore-urls(this)
package.Check theserviceRead theinstructionsSource code isavailable.Usage options–session-name-suffixBy default, your existing session names will get a “ - cleaned” suffix.
In order to tweak that, use the--session-name-suffixargument.restore-the-great-suspender-urls\--in-file=tabs.json\--out-file=tabs-restored.json\--session-name-suffix=' - FIXED'\--verbose–extension-idThe URL prefix used to identify tabs suspended byThe Great Suspenderextension looks as follows:chrome-extension://klbibkeccnjlkjkiokjodocebajanakg/suspended.html,
where theklbibkeccnjlkjkiokjodocebajanakgis the extension ID.
If you leave this argument out, regular expression match will be used.restore-the-great-suspender-urls\--in-file=tabs.json\--out-file=tabs-restored.json\--extension-id='klbibkeccnjlkjkiokjodocebajanakg'\--verbose–verboseTo have a verbose output, add the--verboseargument.restore-the-great-suspender-urls\--in-file=tabs.json\--out-file=tabs-restored.json\--verbosePrerequisitesPython 3.6, 3.7, 3.8 or 3.9.LicenseMITSupportFor any issues contact me at the e-mail given in theAuthorsection.AuthorArtur Barseghyan <artur.barseghyan@gmail.com>
Package: the-guide
Grai Server (aka The Guide)There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable. There is another theory which states that this has already happened.Douglas Adams, The Hitchhiker's Guide To the GalaxyThe guide is the core server library exposed as part of Grai.IntroductionGrai consists of multiple different independent services includingServerPostgres + DjangoRedisCelery + Celery BeatflowerFor more information about the server seeGrai Server.Web AppFor more information about the web app seeGrai Web AppContainer RegistryWe maintain up to date docker images for all of the Grai services on GitHub's Container RegistryghcrServiceImageTagsServerghcr.io/grai-io/grai-core/grai-serverlatest, semverWeb Appghcr.io/grai-io/grai-core/grai-frontendlatest, semver
Package: thehive4py
TheHive4pyTheHive4py is a Python API client forTheHive, a scalable 3-in-1 open source and free security incident response platform designed to make life easier for SOCs, CSIRTs, CERTs and any information security practitioner dealing with security incidents that need to be investigated and acted upon swiftly.TheHive4py allows analysts to send alerts to TheHive out of different sources. Those alerts can then be previewed and imported into cases using pre-defined templates.For example, a SOC may ask its constituency to send suspicious email reports to a specific mailbox that a script polls at regular intervals. When a new email is received, the script parses it then calls TheHive4py to create a corresponding alert in TheHive. Once the alert is raised, SOC analysts will get a notification thanks to TheHive's live stream so they can preview it and import it if deemed worth investigating using a specific template.DocumentationHere is the link to theThe official documentationLicenseTheHive4py is an open source and free software released under theAGPL(Affero General Public License). We, TheHive Project, are committed to ensure that TheHive4py will remain a free and open source project on the long-run.UpdatesInformation, news and updates are regularly posted onTheHive Project Twitter accountand onthe blog.ContributingWe welcome your contributions. Please feel free to fork the code, play with it, make some patches and send us pull requests usingissues.We do have aCode of conduct. Make sure to check it out before contributing.SupportPleaseopen an issue on GitHubif you'd like to report a bug or request a feature. We are also available onDiscordto help you out.If you need to contact the project team, send an email tosupport@thehive-project.org.Community DiscussionsWe have set up a Google forum athttps://groups.google.com/a/thehive-project.org/d/forum/users. To request access, you need a Google account. You may create oneusing a Gmail addressorwithout one.Websitehttps://thehive-project.org/
Package: thehivebackup
Backup and Restore TheHiveThis tool can be used to back up and restoreTheHivevia its API.It can also be used to migrate TheHive.Installpip install thehivebackupUsage# Backup a single day remotelythehivebackupbackup--host="thehive3.mycompany.com"--key="1234567890ABCDEF"--year2020--month8--day1# Migrate a backup from 3 to 4thehivebackupmigrate3to4backup-2020-8-1-1608320637# Clear the local TheHive# THIS WILL REMOVE ALL CASES AND ALERTS, USE WITH CAUTION!# thehivebackup clear --host="localhost:8080" --key="FEDCBA0987654321"# Recover a backup locallythehivebackuprecover--host="localhost:8080"--key="FEDCBA0987654321"backup-2020-8-1-1608320637For larger setups you might want to run this in the background:nohup thehivebackup backup --host="thehive3.mycompany.com" --key="1234567890ABCDEF" &
tail -f nohup.out
nohup thehivebackup recover --host="localhost:8080" --key="FEDCBA0987654321" --no-ssl backup-full-1608335519 &
Package: th-eh-models
th-eh-modelsThis Repo Contains The Object Models For The Transform Health Event Hub Operations.To Publish ChangesMake changes to the modelsUpdate the version number insetup.pyInstall dist tools by usingpython -m pip install --user --upgrade setuptools wheelRunpython setup.py sdist bdist_wheelTest locally by runningpip install -e .Install twine bypython -m pip install --user --upgrade twineAfter creating an account in testPy upload it in testPy bypython -m twine upload - repository testpypi dist/*Test if it works as expected by uninstalling the local version and installing the testPy version bypip uninstall th-eh-models --yes-i-know-what-i-am-doingand thenpip install -i https://test.pypi.org/th-eh-models/th-eh-models==<version-number>Upload to PyPI Repository by runningtwine upload dist/*Install in any repository of your choice by usingpip install th-eh-modelsand import by usingfrom transformHealthEventHubModels.insertOne import DSEventHubInsertOneObject
Package: thehouse
the houseA text-based game written in pythonInstall or DownloadYou can install the game with pip by typingpip install thehouseor you can download this repositoryPlayIf you have installedthehousevia pip you can call the game and run it by typingthehouse.If you downloaded the repository, on the root of the repo runpython -m thehouseand the game will start!Play with dockerdocker pull ctrlmaniac/thehouse
docker run --rm -it ctrlmaniac/thehouse
Package: theia
theiaSimple and lightweight log aggregatorIntroductionTheia is a log aggregator that collects logs from multiple log files usually on multiple machines and provides the log entries on a single endpoint.
Each recorded entry comes from a single source (log file) and can be tagged with multiple tags. This way you can query an filter by the source (for example /var/log/apache or /var/log/reds) and tags (for example "production1", "cache-server", "testing" etc), or you can just simply match a pattern against the content of the entry.Theia has three parts:watcher - this is the agent process running on the machine where you have your logs. You will have multiple watchers, but usually a single watcher per nodecollector - this is the master process, usually running on a sperate node where you're going to collect the logs. Provides the interface for pushing the log events and an interface for querying the aggregated logs.client - client for querying and watching live events. This connects to the collector via websocket and
queries the collected events or registers a filter for live events.InstallationTheia comes as a single python package (only python3 is supported).Withpip:pipinstalltheiaRunning the collectorThis process collects and stores the events. The built-in database uses text files to store the events.Create a directory where you want to keep the events, and run the collector server:mkdirdata

python-mtheia.clicollect-d./dataThis will run the server listening on port6433.Running a watcherMake sure you have the collector running.Then, run the watcher:python-mtheia.cliwatch-clocalhost-f/var/log/httpd/access.log-tweb-accessThis would watch for changes inaccess.logand send events to the collector
tagged withweb-accessRun a queryTo query for all log events with tagweb-access:python-mtheia.cliquery-clocalhost-tweb-accessRun a live filterTo watch the events with tagweb-accessas they arrive in real-time:python-mtheia.cliquery-l-clocalhost-tweb-accessNoteThis is still  work in progress and is far from production ready
Package: theia-open
Command line utility to open file from theia, part oftheia-openextension.Needs the following environment variables set:THEIA_URLthe base URL of the theia instance.THEIA_OPEN_EDITOR_TOKENthe token to authenticated with theia. Theia server also needs this same token, so the easiest is to set this environment variable when starting theia and it will be inherited in the terminal processes.This is intended to be set asEDITORenvironment variable, using the--waitflag so that programs wait for the editor to be closed.
Package: the-jira-cli
The Jira CLI - Manage Jira from the TerminalThe Jira CLI allows you to configure and manage your Jira instance using simple commands from your terminal.InstallationYou can install the Jira CLI using pip.Check us out on PyPI.pipinstallthe-jira-cliTODO: Explain how to manage environment variables when installedUsageThe Jira CLI comes with built-in help to explain how you can use each command.jira--helpTo get an overview of the commands that are available, you can use the tree command.jiratreeThis will output a tree of the commands available to you.All output to stdout will be in json format, so that the cli can be consumed easily by other systems. A powerful command line tool for dealing with json isjq. The Jira CLI and jq go hand-in-hand together.For instance, you can pass a user from the Jira CLI to jq to extract and transform information after you've retrieved it from Jira. Here's a simple transformation you might do before passing the user on to another command.jirauserget--usernamemproust|jq'{"email": .emailAddress, "displayName": .displayName, "isActive": .active}'DevelopmentWe strongly recommend that you use either a docker container or a python virtual environment to separate your configuration from your host.To use a virtual environment, you can follow the steps below.Where possible, we're going to usemake, which wraps up some standard commands for us and helps us run through the same steps every time. Standardization comes in handy.First, we need to set up and activate the virtual environment.makesetupsource.venv/bin/activateAfter this, we are going to install our dependencies.Note: You have to have your virtual environment activated before running this command.makeinstallThere is a file called .example.env that contains a template for environment variables that are going to be used by the CLI. Using make, we're going to copy it, and then you should fill it in with values for your instance of Jira.makeenvironment
Package: thejoker
A custom Monte Carlo sampler for the two-body problem.AuthorsAdrian Price-Whelan(Flatiron Institute)David W. Hogg(NYU, MPIA, & Flatiron Institute)Dan Foreman-Mackey(Flatiron Institute)InstallationTo install the latest stable release, usepip:pip install thejokerTo install the development version:pip install git+https://github.com/adrn/thejokerAttributionIf you make use of this code, please cite the paper describing the method:Price-Whelan et al. 2017DocumentationSeethe documentationfor information on how
to install and use The Joker.License
Package: thelatinlibrary
thelatinlibraryUsethelatinlibraryto search all you want. The best database of latin texts has landed onPython.InstallViaPyPi.orgUse this piece of code:pip install thelatinlibraryVia GitHubUse this piece of code:pip install git+https://github.com/hearot/thelatinlibrary.gitDownloading filesIn primis(from Latin, “firstable”),clonethe repository:git clone https://github.com/hearot/thelatinlibrary.gitThen, change directory:cd thelatinlibraryAnd finally, install thepackage:sudo python setup.py installExampleimportthelatinlibraryauthors=thelatinlibrary.get_authors()forauthorinauthors:print(author,author.works())caesar=thelatinlibrary.get_author_by_name("caesar")print(caesar.works())LicenseThis library is licensed by theGNU General Public License v3.The Latin Libraryis not affiliated with this project. Thelogoused in the title has been created byundevicesimus.
Package: thelemic-date
Thelemic Date Class for PythonDo what thou wilt shall be the whole of the Law.Welcome to Thelemic Date Class for Python! This Python package allows you to work with Thelemic dates, providing methods to obtain the current Thelemic date or calculate a specific Thelemic date based on a given Gregorian date and time.FeaturesGet the current Thelemic date for a specific location.Calculate a specific Thelemic date and time based on a given Gregorian date and time.Easy to use and integrate into your Python projects.Easy Installationpip install thelemic-dateUsageTo use the Thelemic Date Class, follow the examples below:from thelemic_date import ThelemicDate

## Get the current Thelemic date for a specific location
date_data = ThelemicDate()
location = "Las Vegas, NV"
current_date = date_data.now(location)
print(current_date)

## Calculate a specific Thelemic date and time based on a given Gregorian date and time
location = "Las Vegas, NV"
year, month, day, hour, minute = 1976, 1, 13, 8, 25
specific_day = date_data.in_day(year, month, day, hour, minute, location)
print(specific_day)LicenseThis project is licensed under the MIT License. For more information, please refer to the LICENSE file.IssuesIf you encounter any issues or have suggestions for improvements, please feel free to open an issue. Your feedback is highly appreciated.ContributingContributions are welcome! If you would like to contribute to this project, please follow the guidelines in CONTRIBUTING.md.AcknowledgmentsThis project was inspired by the principles and practices of Thelema. I also want to personally thank all of thoe on my discord server,http://discord.gg/agapethelemaContactFor any inquiries or questions, please contact the project maintainer, Lilith Vala Xara,lvx@dream.amLove is the law, love under will.Lilith