Saravanan666/pypi-org huggingface dataset:
Package: trellobug
trellobug is a script that files a bug based on a Trello card.  It
also updates the card’s description, inserting the URL of the new bug
as the first line.The script has one mandatory argument:  the short id or URL of a Trello
card.It uses a config file named .trellobug in the current working directory
or the user’s home directory.  A config file of any name can also be passed
in via the–configoption.If the config file is not found, it will be created on first run.  The user
will be queried for mandatory config variables.  There are also several optional
config variables.Here are all the options:[bugzilla]
api_key: a Bugzilla API key
url: optional URL to a Bugzilla instance; defaults to bugzilla.mozilla.org
product: Product bugs will be filed in; currently defaults to “Conduit”
component: Component bugs will be filed in; currently defaults to “General”
version: Version new bugs will be set to; defaults to “unspecified”[trello]
api_key: Trello API key
api_secret: Trello API secret
oauth_token: Trello OAuth token
oauth_token_secret: Trello OAuth token secretThe–product,–component, and–versioncommand-line options
can be used to specify the Bugzilla product, component, and version,
respectively.  They override the corresponding[bugzilla]config-file options, if set.If provided, the–assigncommand-line option will assign the bug to
the current user (as identified by the provided Bugzilla API key) and
set the status toASSIGNED.  Otherwise, the bug will be unassigned
and set to the default status.
Package: trello-cli-kit
OverviewTrello board management program via the command lineGetting StartedInstall the package:pip install trello-cli-kitRetrieve yourTrello API KeyandTrello API Secret(How to get API key and secret from Trello:Guide) and store them as environment variables as such:# .env

TRELLO_API_KEY=<your_api_key>
TRELLO_API_SECRET=<your_api_secret>UsageGeneral Usagetrellocli GROUP | COMMAND

FLAGS
    --help: display help text for commandCommandsconfigtrellocli config

COMMANDS
    access: authorize program to trello account
    board: configure board to uselisttrellocli list

FLAGS
    --is-detailed: display in detailed view

OPTIONS
    --board-name: provide name of trello board to execute on (required if board not previously set)createtrellocli create

COMMANDS
    card: create a trello card

OPTIONS
    --board-name: provide name of trello board to execute on (required if board not previously set)Use CasesConfigure a trello board to execute ontrellocli config boardAdd a new trello cardtrellocli create cardDisplay trello board data in a detailed viewtrellocli list --is-detailedReferencesPyPI ReleaseHow to Create a Python CLI Program for Trello Board Management (Part 1)
Package: trellogd
### Trello + GlassDoor job search toolI have been using Trello to organize my job search.  I wanted a quick command line tool that would allow me to populate a list on my job search board automatically with the action items I find relevant.  A strong caveat before you use this:  I haven’t polished this up too much, so it’s kinda hacky.#### Setup:
Before you begin you’ll need several things:
* A Trello [account](https://trello.com/)
* Your Trello [API key](https://trello.com/app-key)
* An authorization token which can be generated below where you find your key`bash pip install trellogd `####Usage:
Usage is relatively simple,  You should now have a command line tool called tgd. To add a job to your board you’ll need a direct link to that job listing on glassdoor.  You are after the flavor that doesn’t have a bunch of other job listings in a navbar on the left, you want just the listing you are interested in.  You’ll probably need to right click and open a job link in a new tab.  You should see the path “glassdoor.com/job-listing/…”`bash tgd [url for glassdoor job] `Is the basic usage of the tool.  The first time you use it you will be prompted to input your API key and token.
This will generate a config.json file in your directory, and you’ll get an empty board within trello where your lists will populate.  Starting with the first url you input.You should now have a new list with three cards on your board.  Those cards will have everything that I find relevant when applying for that particular job.  Add more if the spirit so moves you.Some further options are available:
If you need to add to a diffrent board than the one specified in your config the options -t or –target are available.`bash tgd [url for job]-t[board ID you would like to add to] `if you would like to update your config file so that all future posts go directly there the options -u or –update can be used:`bash tgd [url for job]-t[board ID to change to]-u`That’s all I’ve got so far.####Caveate
Glassdoor doesn’t like web scrapers. This obviously isn’t aimed at pulling down their data en mass, however, if you fire it off on too many posts too quickly you will get an error and need to cool off for a bit, maybe try applying for some of those jobs.  This will happen to you from a web browser as well, so no surprises.I hope you find this useful!####To Do:
* Expand function to work with ‘jobs/jobs.htm’ path on GD
* Add other job search sites, control via options flags
* Automator app
Package: trello-importer
Trello importerThe package help to get waypoint name of your mission fromhttps://f4.intek.edu.vn/and import to trelloRequirements:Os:Macos, Linux
You should have install geckodriver
Macos : brew install geckodriver
Linux :Install:$pip install trello-importer==1.0.2
$python3

>>> from trello_importer.Waypoint_Parser import Parser
>>> geckgodriver = '/usr/bin/geckodriver'
>>> driver = webdriver.Firefox(executable_path = geckgodriver)

>>> find_data = Parser("https://f4.intek.edu.vn/login/index.php", "QR Code Reader")
>>> driver,list_waypoint = find_data.find_html_text(driver,"email_name","email_password")

>>> #find_data.read_data_index() -- use to check data in list
>>> #find_data.remove_line(3) -- rm data in list at line number with info read_data_index()
find_data.add_to_trello("https://trello.com/login",driver,list_waypoint)ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.LicenseThis project is licensed under the MIT License - see the LICENSE.md file for details
Package: trellopy
TrellopyA Python mockup of Trello with CLI. Trello is a very popular (and powerful) todo-list / task board.Free software: BSD licenseDocumentation:https://trellopy.readthedocs.org.RequirementsPyMongo (and of course, MongoDB)Nose (for testing)Example>>> import trellopy
>>> controller = trellopy.Controller()
>>> board = controller.add_board('Board')
>>> list1 = board.add_list('List One')
>>> list2 = board.add_list('List Two')
>>> list3 = board.add_list('List Three')
>>> list4 = board.add_list('List Four')
>>> carda = list1.add_card('Card A')
>>> cardb = list1.add_card('Card B')
>>> cardc = list1.add_card('Card C')
>>> list2.add_card(carda)
>>> list3.rename('List 3')
>>> list4.archive()
>>> board.get_order()
>>> board.reorder([2,0,3,1])
>>> list1.get_order()
>>> list2.reorder([2,0,1])
>>> person = controller.new_member('Person')History0.0.0 (9999-31-12)First release on PyPI.
Package: trello-release-notes
Trello Release NotesTake your weekly done cards and turn them into a bulleted list in another column, just likeAlice Goldfussdoes.Free software: MIT licenseDocumentation:https://trello-release-notes.readthedocs.io.Latest version on PyPi:https://pypi.org/project/trello-release-notes/Source code:https://github.com/mattkatz/trello_release_notesFeaturescustom formatting for card summariesindicate who did what for shared boardscreate comments on release cards with more detail so you can look at the archived cardsskip releases where you didn’t put anything in the done columnCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.
It was inspired byAlice Goldfusstaking the time to write about a little lifehack of hers.InstallationStable releaseTo install Trello Release Notes, run this command in your terminal:$pipinstalltrello_release_notesThis is the preferred method to install Trello Release Notes, as it will always install the most recent stable release.If you don’t havepipinstalled, thisPython installation guidecan guide
you through the process.From sourcesThe sources for Trello Release Notes can be downloaded from theGithub repo.You can either clone the public repository:$gitclonegit://github.com/mattkatz/trello_release_notesOr download thetarball:$curl-OLhttps://github.com/mattkatz/trello_release_notes/tarball/masterOnce you have a copy of the source, you can install it with:$pythonsetup.pyinstallHistoryv0.3.1 / 2019-12-01Fixed twine / pypi integration checkv0.3.0 / 2019-12-01Bump version: 0.2.5 → 0.3.0Document and formatCard Summary for release card includes card Membersuse extras for testing instead of requirements fileserve docs for easy devupdate virtualenv advice in contributinginclude installationRemove prints from setup.pyv0.2.5 / 2019-11-08fix bug where archived cards weren’t commentedBump version: 0.2.4 → 0.2.5fix comment per item problemImproved error message for bad board and list namescreate dev extras for pip install local devadding docs instrux from attrsinstall on tox docs so autodoc worksskip installing pkg for linting and docsblack format the filesgive credit where due, link code, docs, pypiv0.2.4 / 2019-09-30Bump version: 0.2.3 → 0.2.4fixing twine complaint about headingsv0.2.0 / 2019-09-30First release to pypiDocs on readthedocsv0.1.0 / 2019-05-31Development begun
Package: trelloscheduler-cli
trelloscheduler-cliBot for automating schedule management in Trello.  Intended use is to place the bot skeleton on a cloud server, set up commands with cron, and let it do
its thing.Primarily a personal project, but if you can use it by all means do.Pypi location:https://pypi.org/project/trelloscheduler-cli/1.0.0/Supported features:buildweek - Builds the infrastructure (a "Weekly Schedule" board and "Recycle Bin" board) for the bot.startweek - Starts the week by adding empty lists with the day names and dates to the "Weekly Schedule" board.endweek - Archives the lists in "Weekly Schedule" by moving them to the "Recycle Bin" (AFAIK you can't delete boards through the API)loadweek - Loads a schedule file to add to the "Weekly Schedule" board.  Currently supports named days and numerical days.Usage:[Usage]trelloschedulercli [command : startweek OR buildweek OR endweek OR loadweek] [schedule file IF loadweek]Trello scheduler CLI is a command line interface used to automate tasks related to creating a weekly schedule in Trello.
All you need is a valid Trello account to access the various commands.[Commands]buildweekEX:trelloschedulercli buildweekCreate a new weekly schedule board and recycle bin board.  They will show up as "Weekly Schedule"
and "Recycle Bin" in Trello.
Does not need to be executed more than once.startweekEX:trelloschedulercli startweekStarts a week by adding empty lists to the "Weekly Schedule" board.endweekEX:trelloschedulercli endweekArchives all of the lists in the "Weekly Schedule" board.loadweekEX:trelloschedulercli loadweek "filename"Loads a schedule file in JSON format into the "Weekly Schedule" board.
Currently supports named days and numerical days.Installation:Install the Trello Scheduler CLI through pip as shown above.Runnano ~/.bashrcto open up bash, then add the enivornment variables "TRELLO_API_KEY", "TRELLO_API_SECRET", and "TRELLO_TOKEN".  For more information on getting them, please see:http://www.trello.org/help.htmlRunpython3 trellobotrunner.py buildweekto create the necessary infrastructure.Schedule.json FileThe schedule file follows the following format in JSON:"tasks": [
     {
          "name": "task name",    
          "description": "task description",
          "day": Either shorthand day names "MoTuWeThFrSaSu" or day numbers (for now)
     }
]Please see schedule.json for an example.TODO:Add more options for day parsing, ie multiple days for the same event both comma delimited and day ranges.Add due dates for tasks.** These are not planned though, currently I don't need these features. **
Package: trellostats
***This is not really complete yet - I’ll be finishing in the next two weeks****Trello Stats for WinnersFree software: BSD licenseDocumentation:http://trellostats.readthedocs.org.FeaturesReporting in general (templates)Email reportingBurndown (points using the [] standard)Revenue burn and projected completion costsHistory0.4 (2014-01-11)First release on PyPI.0.8 (2014-08-11)Increased test coverageAdded web api command
Package: trello-todoist
Trello's email reminder system is broken (in my view); it sends email remindersthe day before you specify a due date. I can imagine scenarios where this isnice, but it is very counterintuitive to me. Trello also doesn't have webhooksassociated with due dates, so services like IFTTT or Zapier are unable toaccomplish the functionality I want: add todoist tasks from Trello on the daythey are due.`trello-todoist` is a hack to add trello cards to todoist on the day that theyare due. It is intended to be set up as a cronjob with a crontab entry like:```53 3 * * * trello-todoist 'trello board' 'trello username' 'todoist project'```which runs `trello-todoist` every morning at 3:53 a.m. By default, this addsall trello cards that are due today from board `trello board` of which `trellousername` is a member as a task to the corresponding `todoist project`.Depending on the version of `requests` that is installed via pythondependencies, you may also want to use `PYTHONWARNINGS=ignore` somewhere inyour crontab to avoid being sent warnings every time the script is run.## quick start1. install `trello-todoist` from pypi:```shpip install trello-todoist```1. get your trello api key and secret [from here](https://trello.com/app-key)and get your oauth tokens:```shexport TRELLO_API_KEY=your-keyexport TRELLO_API_SECRET=your-secretexport TRELLO_EXPIRATION=neverpython -m trello.util# follow instructions```1. get your todoist api token from the todoist `Settings` > `Account` > `APItoken`.1. place your trello credentials in a `trello.json` file in the repository rootthat looks like this:```json{"api_key": "your-key","api_secret": "your-secret","token": "your-oauth-token-key","token_secret": "your-oauth-token-secret"}```1. place your todoist api token in a `todoist.json` file in the repository rootthat looks like this:```json{"token": "your-token"}```1. :boom: For usage instructions, see```shtrello-todoist -h```## development1. instantiate virtual environment```shmkvirtualenv trello-todoistpip install -r requirements/python-dev```1. follow the quick start instructions above to get your trello and todoistcredentials.
Package: trello-track
trello-trackTrack running processes on Trello.Why?Let's say you're running experiments on several machines. Wouldn't it be nice to have an easy way
to see when everything is done and if anything has encountered an error?trello-trackaddresses this issue by adding checklist items to a Trello card that are updated
to reflect the progress of a process. You can quickly see at a glance where all your experiments
are at!Features:Command line and python interfacesTask status indicators:⚪ ready⌛ in progress🔵 success🔴 failedError loggingHow?There's two interfaces: a command line interface and a Python interface.They both take the Trello Card ID. This is easy to pluck out of the URL.CLIFormat:trello-track [card-id] [command...]Example:trello-track 9ngUrIZ2 bash train_eval.sh A X 0.1Pythonimporttrello_trackwithtrello_track.track('do something',card_id='9ngUrIZ2'):foo()But you probably don't want to hard-code a card ID, do you? You can instead skip the optional parameter
and provide it via an environment variable:TRELLO_CARD=9ngUrIZ2 python ...You can also queue up a bunch of tasks to run usingtrello_track.TaskManager:importtrello_trackwithtrello_track.TaskManager()astasks:tasks.add('foo',foo)tasks.add('bar',bar)tasks.add('baz',baz)AuthenticationAuthentication is done via the Trello API key and token.You can access your key and generate a token athttps://trello.com/app-key.You then can provide them to your application via theTRELLO_KEYandTRELLO_TOKENenvironment
variables, or encoded as json in~/.trelloor./.trello:{"key":"XXX","token":"XXX"}
Package: trellozilla
TrelloZilla is a small set of boilerplate code to speed up automations
in/between both Bugzilla and Trello.Free software: Apache Software License 2.0Documentation:https://trellozilla.readthedocs.io.FeaturesConfigurable via oslo.config;Generates Trello access tokens;Creates Trello API objects based on provided config;Creates Bugzilla API objects based on provided config.
Package: tremendous
# tremendousPowered by [libfab](https://github.com/rossdylan/libfab)`tremendous` is a Python wrapper around `libfab`, a C library that acts likefabulous. It makes dealing with terminal coloring easy for standard 16-colorterminals and extended 256-color environments.```from tremendous import green, red, bold# every color is a function that wraps a string with terminal escape codesprint green("Hello, and welcome to computers")# colors, backgrounds, and modifiers can be stackedprint bold(red("Bad things happened!"))# 256 colors are available from tremendous.extfrom tremendous.ext import darkgreenprint darkgreen("Crisis averted"))```
Package: tremetrics
TremetricsTremendous Metrics.InstallationYou can install Tremetrics fromPyPiusingpip.pip install tremetricsUsageConfusionMatrixfromtremetricsimportConfusionMatrixy_true,y_pred=...# Generate predictionscm=ConfusionMatrix.from_pred(y_true,y_pred)# Create a new confusion matrix objectprint(cm)# Print the confusion matrixarray_for_further_use=cm.array# Get the matrix as a numpy arrayprint(cm.tp,cm.fn,cm.fp,cm.tn)# Get the individual quadrant valuesprint(cm.get_latex_table(multirow=True))# Get the matrix as code for a Latex tableprint(cm.recall_score(average='micro'))# Call any sklearn.metrics function using the data in the matrixROCCurvefromtremetricsimportROCCurveimportmatplotlib.pyplotasplty_true,y_pred_prob=...# Generate prediction probabilitiescurve=ROCCurve.from_pred_prob(y_true,y_pred_prob)# Create a new roc curve objectprint(curve.roc_auc)# Print the area under the roc curvecurve.plot()# plot the roc curveplt.show()# show the curve plot# generating convex roc curvescurve=ROCCurve.from_pred_prob(y_true,y_pred_prob,convex=True)# Create a convex roc curve objectprint(curve.roc_auc)# Print the area under the roc curvecurve.plot()# plot the roc curveplt.show()# show the curve plot# static methods meant as sklearn drop-in replacementfpr,tpr,thresholds=ROCCurve.roc_curve(y_true,y_pred_prob)fpr,tpr,thresholds=ROCCurve.convex_roc_curve(y_true,y_pred_prob)# exploiting pyplot state to draw both standard and convex roc curvescurve=ROCCurve.from_pred_prob(y_true,y_pred_prob)curve.plot()curve=ROCCurve.from_pred_prob(y_true,y_pred_prob,convex=True)curve.plot()plt.show()Why should I make my ROC curve convex?A nice explanation is given inthis paper.In essence, ROC points below the convex hull are suboptimal classifiers,
which can be outperformed by interpolating nearby classifiers that are on the convex hull.
Practically, this interpolation is a random choice
(i.e. without considering input data or predictions made)
between such better classifiers,
where the probability of picking one over the other
determines the position on the line segment between their ROC points.
Package: tremo
Table of ContentsAbout the ProjectGetting StartedPrerequisitesInstallationUsageContributingLicenseContactAbout The ProjectDashboard that can analyze/monitor the trends of entertainment characteristics occurring in complex situationsGetting StartedThis is an example of how you may give instructions on setting up your project locally.
To get a local copy up and running follow these simple example steps.PrerequisitesThis is an example of how to list things you need to use the software and how to install them.PythonPython>3.7InstallationHomebrew/usr/bin/ruby-e"$(curl-fsSLhttps://raw.githubusercontent.com/Homebrew/install/master/install)"ElasticSearchbrewinstallelasticsearchKibanabrewinstallkibanaInstall packages via piphttps://pypi.org/project/tremo/pipinstalltremoUsageRun with/without ElasticSearchfromtremo.runimportrunresult=run(elastic_search=False)The run function collects trends, news data, and keywords from the top 10.
The data type of result is list of 10 lengths of the dictionary.Example of result datafromtremo.runimportrunresult=run(elastic_search=False)print(result[0]){"ranking":1,"word":"걸캅스","category":["영화"],"related_search_word":["영화 걸캅스","걸캅스 주우재","라미란 이성경","이성경","이성경 라미란","위하준","라미란","걸캅스 이레","걸캅스 하정우","정직한 후보"],"related_keyword":["사건","라미란","스타트렉","콤비","다크니스","기록","이성","수사","성범죄","검사"],"news_title":"[집에서 볼만한 영화추천] 걸캅스, 검사외전, 스타트렉 다크니스&비욘드","timestamp":"2020-08-17T03:35:28.942994"}Repeat with/without ElasticSearchfromtremo.runimportrepeat
repeat(elastic_search=True,interval_second=600)The repeat function executes the run function by thread timer every interval_secondelastic_search and interval_second default value is True and 600If you set elastic_search to True, You can use the dashboard visualized in Kibana for the data stored in ElasticSearch.import kibana dash boardYou can import our JSON file from Kibana UI under Management > Saved Objects > Import.1. Click Import.
2. Navigate to the JSON file that represents the objects to import.
3. Import ./kibana_import/{version}.ndjson file
4. Indicate whether to overwrite objects already in Kibana.
5. Click Import.If you import json file, you can use dash board likethisContributingContributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make aregreatly appreciated.Fork the ProjectCreate your Feature Branch (git checkout -b feature/contribution)Commit your Changes (git commit -m 'Add some contribution')Push to the Branch (git push origin feature/contribution)Open a Pull RequestLicenseDistributed under the MIT License. SeeLICENSEfor more information.ContactJihoon Kang -jihoon522@sk.comProject Link:https://github.com/thisishoon/trend-monitoringLinkedin:
Package: tremolo-login
tremolo-logintremolo-login is basically an extension oftremolo-session.You can use it just like tremolo-session but with additional methods likelogin(),logout(), andis_logged_in().Usage#!/usr/bin/env python3fromhmacimportcompare_digestfromtremoloimportTremolofromtremolo_loginimportSessionapp=Tremolo()# this is a session middleware# that enables you to use context.session or request.context.sessionSession(app,expires=1800)@app.route('/')asyncdefindex(request=None,**server):session=request.context.sessionifsessionisNoneornotsession.is_logged_in():returnb'You are not logged in. <a href="/login">Login</a>.'returnb'Welcome to Dashboard. <a href="/logout">Logout</a>.'@app.route('/login')asyncdeflogin(request=None,**server):session=request.context.sessionifrequest.method==b'POST':form_data=awaitrequest.form()if('password'inform_dataandcompare_digest(form_data['password'][0],'mypass')):# password match! set current session as logged insession.login()returnb'Login success! Go to <a href="/">Dashboard</a>.'return(b'<form action="/login" method="post"><div>'b'<label for="password">Password:</label> 'b'<input type="text" name="password" placeholder="mypass" /> 'b'<input type="submit" value="Login" /></div>'b'</form>')@app.route('/logout')asyncdeflogout(request=None,response=None,**server):session=request.context.sessionsession.logout()response.set_status(302,b'Found')response.set_header(b'Location',b'/')returnb''if__name__=='__main__':app.run('0.0.0.0',8000,debug=True,reload=True)Installingpython3 -m pip install --upgrade tremolo_loginTestingJust runpython3 alltests.py.Or if you also want measurements withcoverage:coverage run alltests.py
coverage combine
coverage report
coverage html # to generate html reportsLicenseMIT