Saravanan666/pypi-org huggingface dataset:
Package: jirainfo
# jira-infojira-info## Overview`jira-info` is an application that helps you to create changelogs from Jira issues and to get some information for Jira issues.## Features* Prints summary information for issues* Creates a simple changelog in HTML (e.g. can be used in HTML mails)* Creates a detailed changelog in Markdown## InstallationFirst, get the latest source code:$ git clone https://github.com/hypebeast/jira-info.gitInstall it:$ cd jira-info$ python setup.py install## UsageTo list all available commands:$ jira-info --help### Env VariablesTODO### ExamplesTODO## Available Commands### summaryTODO### emailreleaselogTODO### changelogTODO##  Setup a development environmentFirst, get the latest source code:$ git clone https://github.com/hypebeast/jira-info.gitInstall dependencies:$ cd jira-info$ make envRun it:$ python bin/jira-info --help## Contributions* Fork repository* Create feature- or bugfix-branch* Create pull request* Use Github Issues## Contact* Sebastian Ruml, <sebastian@sebastianruml.name>* Twitter: https://twitter.com/dar4_schneider## License```The MIT License (MIT)Copyright (c) 2015 Sebastian RumlPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, 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 THESOFTWARE.```
Package: jira-insight
API client for Jira InsightThis is a API client to access data in the Jira appInsight.Usagefromjira_insightimport*# Initialize the main Insight object with the URL and credentials for Basic Authinsight=Insight("https://jira.example.com",("USERNAME","PASSWORD"))# Get a specific object schema by IDobject_schema=InsightObjectSchema(insight,1)# Search for objects by IQLobjects=object_schema.search_iql("SerialNumber = DEADBEEF")CaveatsFirst and foremost: This is alpha software. I use it for a specific use case,
but for everything else, there be dragons.This is probably very slow with complex object schemas, as many things are
loaded preemptively when the Insight object is first instanciated.You can not yet edit objects after they have been created.
Package: jira-issue
jira-issueThis script allows users to quickly create Jira issues from the command line.  The script is python3 based and uses thejira-python. The goal is to minimize the effor needed to put in simple Jira issues.If prerequisites are not automatically installed, run:sudo pip3 install jira python-editorConfigurationThe configuration is stored in ~/.jira_config.  This file usesiniformat with a DEFAULT section for items like the Jira credentials and custom sections that can be used to create templates that can be easily called.  When a custom section is called, the DEFAULT is merged with the custom section and custom section items override DEFAULT. Here are the common fields for the configuration file:username, token, server = Data needed to connect to github.  Go tohttps://id.atlassian.com/manage/api-tokensto create a token.assignee = github assignee IDboard = Board name to add this issue to ( or use board_id ).board_id = Scrum board to add this issue to ( or use board).issue = issue key to process ( leave blank to create a new issue).key = the key for the project that issues will be created in.type = Issue type to create.labels = labels to assign.  Labels can be in comma or space separated format.  Labels can not contain spaces or commas.close = Close the issue?work = Time Spent string for the amount of work done (Examples: 30m, 1h ).Custom FieldsCustom fields can be mapped to an alias name for more readable configuration.  The following examples maps customfile_11135 to the aliassquadand then assigns it the value ofAlpha.customfield_11135 = {"alias":"squad","type":"list"}
squad = AlphaCustom Field NotesCustom fields can only be configured in the DEFAULT section.An alias can be specified in any sectionA custom field can be configured but not used ( i.e. an the alias field not specified).  In this case, the custom field will not be setBy default custom fields are of type text.  Currently the only other option is a list. Use comma or space separation between list itemsUsageThese examples are based on the jira_config.example file.  The title field does not need to be quoted.  This means that if you update an existing ticket that the title field has to be sent, but will be ignored.Create anOps Requestand close it with 1.5 hours workedjira-issue -u opsc -w 1.5h More evidence needed for soc2Create aSupportrequest with the tag ProdSupport and 30 minutes workedjira-issue -u ps -w 30m Investigate deploy failure on core-api-prod-1aUpdate the issue DC-1788 with hoursjira-issue -w 30m -i DC-1788 xUpdate the issue DC-1788 with hours and closejira-issue -w 30m -c -i DC-1788 x
Package: jirajumper
jeeves-jiraYet another JIRA issue manager CLI with emphasis on task chains.FeaturesFully typed with annotations and checked with mypy,PEP561 compatibleAdd yours!InstallationpipinstalljirajumperLicenseMITCreditsThis project was generated withwemake-python-package. Current template version is:86ec1f15472f7c9f634cdbaa0d33eddf166888b2. See what isupdatedsince then.
Package: jirakosaar
JirakosaarJirakosaar is a command line tool to get summary of jira issues.Installation and Setuppython3-mpipinstall--userjirakosaarAfter installing, we need to configure basic authentication. Before setting up, we need to createAPI Tokenfrom Jira.Guide for Cloud:https://confluence.atlassian.com/cloud/api-tokens-938839638.htmlWe will set email and token as password for basic authentication.In terminal run below command to configure credential:jirakosaar configureOutput SampleEmail: test@example.com
API_TOKEN: 123456

Configuring credential completedThis will createconfig.jsonfile in$HOME/.jirakosaardirectory.LinuxMight need to export path for some Linux distribution. To set it permanently, export in~/.bash_profile.export PATH=$PATH:~/Library/Python/3.*/binMacOSNeed to export path. To set it permanently, export in~/.bash_profile.export PATH=$PATH:~/Library/Python/3.*/binUsagejirakosaar [args]

Available arguments

active      List Completed and Incomplete issues of active sprint
backlog     List all issues of backlog
configure   Prompt for setting up credentials of Jira APIPackage File Structurejirakosaar
├── __init__.py
├── config
│   ├── __init__.py
│   └── configure.py
└── issues
    ├── __init__.py
    ├── auth
    │   ├── __init__.py
    │   └── auth.py
    └── main.pyReason to create this toolWhenever I had to go through sprint review, I have to manually copy issue summary and paste in presentation document. I felt pretty boring to do that everytime. If I get summary in cli then the thing left to do is just copy and paste from the stdout.With this package, don't expect to get big but pretty helpful to lazy people like me.ContributionsAny kind of contribution and issue reporting is heartily welcome. However, it should pass pylint linting tool rating. Aim should be 10/10. There might be exception which can be considered if admin accept. TODO comment are exceptional case.
Package: jiralogreporter
jiralogreporterPrint all JIRA worklog entries updated in the last monthRequirements:Python3.6+Install from this repositorypip3install--userjiralogreporterInstall the stable  releasepip3install--userjiralogreporter## How to use# Create a JIRA env filecat>jira_env<< _EOF_export JIRA_USERNAME=your_jira_usernameexport JIRA_SERVER=your_jira_server_EOF_# Load your envsourcejira_env# Run the report tooljiralogreporter
Package: jiramenu
jiramenuinstallationpippip install jiramenuauryou can use your favourite aur helper to installpython-jiramenu-git. for exampleyay -S python-jiramenu-gitusagejiramenu expects a config file in your home directory called.jiramenu. To generate one just run:jiramenu copy-configafter editing the file to fit your needs you can the following command to show the frontendjiramenu show
Package: jira-oauth
jira-oauthPython library for Jira OAuthRSA private and public key creationsCreate RSA private key and store it in fileoauth.pem$opensslgenrsa-outoauth.pem1024Create RSA public key and store it in fileoauth.pub$ openssl rsa -in oauth.pem -pubout -out oauth.pubShare RSA public keyoauth.pubwith your Jira Admin, as they need it duringJira Application Linkcreation.Jira Application Link Creation StepsLogin as a Jira administratorGo toApplication linkssection underApplicationareaEnter dummy url (as oauth token used for API access and not web access)https://jira-oauth1-rest-api-accessClick onCreate new linkbuttonClickContinueon next screenEnter something likeJira OAuth1 REST API accessas aApplication NameCheckCreate incomindg linkcheckbox.Don't need to fill any other information. Click onContinueNow you should able to see new Application link with nameJira OAuth1 REST API accesscreated and available under sectionConfigure Application LinkssectionClick onpencilicon to configureIncoming AuthenticationEnterjira-oauth1-rest-api-access(or any other appropriate string) asConsumer keyEnter same stringjira-oauth1-rest-api-access(or any other appropriate string) asConsumer NameEnter content of RSA public key (stored in fileoauth.pub) aspublic keyClick onSavePrepare for OAuth DanceCreatestarter_oauth.configin~/.oauthconfigfolder:[oauth_config]jira_url=https://jira.example.comconsumer_key=jira-oauth1-rest-api-accesstest_jira_issue=IDEV-1Perform Jira OAuth DancePython Virtual Environment that we create earlier is active.Runjira-oauth.Authenticate in browser as directed below.After successful OAuth generation, you will get another set of values foroauth_tokenandoauth_token_secret. These are you tokens that you need to use access Jira without passing credentials.$ jira-oauth
Request Token: oauth_token=6AOSSREyS9HaACqEcHjcD6RJVms2NjEr, oauth_token_secret=gnpJMfbgUyG8W4dKzFW4PKFbGttV2CWm

Go to the following link in your browser: https://jira.example.com/plugins/servlet/oauth/authorize?oauth_token=6AOSSREyS9HaACqEcHjcD6RJVms2NjEr
Have you authorized me? (y/n) y

Access Token: oauth_token=lmOh7LEdvZ2yxKIm5rdQY2ZfZqNdvUV4, oauth_token_secret=gnpJMfbgUyG8W4dKzFW4PKFbGttV2CWm
You may now access protected resources using the access tokens above.

Accessing IDEV-1 using generated OAuth tokens:
Success!
Issue key: IDEV-1, Summary: Internal Devepment Issue #1Run with Dockercp -R ~/.oauthconfig ./
docker build -t jira-oauth .
docker run -p 8080:8080 -it --rm jira-oauthCreditsThank you, Raju Kadam, for implementinghttps://github.com/rkadam/jira-oauth-generator
Package: jiraone
jiraoneA REST API Implementation to Jira Cloud APIs for creating reports and for performing other Jira queries.ConfigurationsInstall usingpip. You have to be on Python >= 3.6.x to utilize this script. From version 0.7.9 will require Python 3.8.x and above.Download Python and install it on your device by visitingpython.orgRun the below command either using a virtual environment or from your Python aliaspipinstalljiraoneORpython3-mpipinstalljiraoneClasses, functions and methodsjiraone comes with various classes, functions and methods. Aliases as well, are used to represent links to classes and functions. The major ones to take note of are the ones shown on the directory link below.If you would like more information on how to use the classes, methods or functions. Open the jiraone package and read the docstring on the aforementioned methods or functions to get further information.If you're connecting to a Jira server or data centre, you must change the API endpoint to point to server instances. To do that, change the attributeLOGIN.api = Falsethis helps to use the endpoint/rest/api/latestwhich is compatible with Jira server or datacenter.fromjiraoneimportLOGINdata="username","password","https://server.jiraserver.com"LOGIN.api=FalseLOGIN(*data)The above login method applies only when you need to access a Jira server or datacenter type instances. The above has little or no effect on cloud instances and will work normally.DirectoryUsing the APIendpointLOGINechoadd_logfile_writerfile_readerpath_builderForreplacement_placeholderfieldcommentmanageOther VariablesBasic report usageUSER APIPROJECT APIModule APISupport
Package: jira-power-tools
jira power toolsA collection of tools to make it easier to work with thePython Jira API.UsagesLazy Pagination of Jira IssuesIf you are querying a lot of jira issues. Paginating the results can lighten the memory usage
on the Jira server. But needing to keep track of the pagination is painful. Using lazy pagination
gives you an iterable that can track pagination for you:importjiraptjira=# jira server instance.jql="JQL query"issues=jirapt.search_issues(jira,jql,...)# you can include any parameters you might pass to search_issues.forissueinissues:# perform work on issueNote: You gather results in parallel by specifyingn_threads=N. This will gather all the results
before starting iteration. So there will be a delay before the first iteration starts and all the
results will need to fit into memory.
Package: jiraprinter
Jira does not provide a nice printable layout for tickets and nicer
printing options are costly. This script just wraps the jira-api to
allow formatting using jinja2 templates. This way, tickets can easily be
formatted in a printer friendly way.Getting startedThe jiraprinter works on python3 only.Jiraprinter is on pypi, so you can simply runpip install jiraprinterTo install it. This will also create the two commandsjira.pyandprepare_tokenused below.You can run the command line tool by calling$ jira.py export <Ticket-Id> [<Ticket-Id> ...]Here, angle brackets (<>) denote variable parameters and square
brackets ([]) denote optional parameters. This is similar to unixmanpages. You can start the web-interface for selecting tickets and
printing them by calling$ jira.py selectThe web-interface will then be available atlocalhost:8080.Setting your credentialsIt is recommended that you put the URL of your jira server as well as
your credentials into separate environment variables. Your user
credentials need to be passed in base 64 encoding, which can be done
using theprepare_token.pyscript:$ prepare_token.py
Please enter your jira user name: myname
Please enter your jira password:
fowkeofoakjdfolaiThat last name is your jira credentials in base 64 encoding. It is
recommended that you set your jira credentials and the url of the server
in your bashrc (if you use bash). To do so, add the following lines to
your~/.bashrcfile.export JIRAURL=https://jira.mycompany/rest/api/2
export JIRACREDENTIALS=fowkeofoakjdfolaiObviously, both the URL and the credentials are completely made up.Authentication errorError messages are typically rather long and complex. If you see a 401
status code somewhere at the end of the stacktrace, that means that
you’re not correctly authenticated. In that case, you might want to
check your user name and password.TravisTest status on current master:
Package: jira-python
jira-pythonjira-python is an API wrapper for Jira Software written in Python.This library uses API version 2 and Basic Authentication for requests.If you are looking for Jira Software Cloud using OAuth 2.0 (3LO) and the latest API version:https://github.com/ingmferrer/jira-cloud-pythonInstallingpip install jira-pythonUsagefrom jira.client import Client

client = Client('HOST', 'USER', 'PASSWORD') # Host must have trailing slashGet user permissionsresponse = client.get_permissions()Get all projectsresponse = client.get_all_projects()Get an issueresponse = client.get_issue('ISSUE_ID)Create an issuedata = {'fields':
             {'description': 'Issue description',
              'reporter': {'name': 'ingmferrer'},
              'assignee': {'name': 'ingmferrer'},
              'project': {'id': '10400'},
              'issuetype': {'id': '10002'},
              'summary': 'Issue summary'}}

response = client.create_issue(data)Delete an issueresponse = client.delete_issue('ISSUE_ID')Get metadata for issuesresponse = client.get_create_issue_meta()Get metadata for issuesresponse = client.get_create_issue_meta()WebhooksGet a webhookresponse = client.get_webhook('WEBHOOK_ID')Get all webhooksresponse = client.get_all_webhooks()Get all webhooksdata = {
    "name": "Webhook",
    "url": "https://mywebsite.com/notification_url/",
    "events": [
        "jira:issue_created"
    ],
    "jqlFilter": "Project = KEY", #Change KEY to your project key. Project key != project id
    "excludeIssueDetails": False
}
response = client.create_webhook(data)Delete a webhookresponse = client.delete_webhook()ContributingWe are always grateful for any kind of contribution including but not limited to bug reports, code enhancements, bug fixes, and even functionality suggestions.You can report any bug you find or suggest new functionality with a newissue.If you want to add yourself some functionality to the wrapper:Fork it (https://github.com/GearPlug/jira-python)Create your feature branch (git checkout -b my-new-feature)Commit your changes (git commit -am 'Adds my new feature')Push to the branch (git push origin my-new-feature)Create a new Pull Request
Package: jira-python-utils
JIRA Python UtilsCollection of Python utils for interacting with JIRAFree software: GNU General Public License v3Documentation:https://jai-python3.github.io/jira-python-utils/FeaturesThe following exported scripts are available:annotate-readmebitbucket-reformat-merge-commentjira-add-change-control-commentjira-add-commentjira-add-componentjira-add-labeljira-assign-issuejira-convert-task-session-script-to-readmejira-create-issuejira-create-release-software-issuesjira-epics-to-confluence-tablesjira-get-issue-detailsjira-initiate-workspacejira-link-issuesjira-remove-watcherjira-search-issuesjira-start-taskjira-sync-workspacejira-to-confluence-weekly-progress-reportsearch-readmeCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-11-29)First release on PyPI.
Package: jira-rabbitmq-webhook
This service works as a bridge between a Jira and a RabbitMQ instances:receives HTTP requests from the Jira server;sends them to the MQ server via AMQP protocol.InstallationThe service requires Python 3.5 or newer.
Install and update usingpip.Gunicornis also required:pip install jira_rabbitmq_webhook gunicornConfigurationYou need to create a configuration file for the service.
Sample file can be found inconfigdirectory (it is copied to theconfigdirectory of your python environment after installation). Available settings:weburl - URL used for receiving HTTP requests from the Jira instanceamqphost - RabbitMQ hostport - RabbitMQ portlogin - RabbitMQ loginpassword - RabbitMQ loginvirtualhost - RabbitMQ virtual host to usetimeout - How many seconds the service tries to connect to the RabbitMQ serverssl - Whether to use SSL for AMQP connectiondefault_queue - Queue to send messages tocustom_queues - Queues to send messages for specific eventsYou also need to configure Jira webhook to send requests to your jira_rabbitmq_webhook instance.
For example if your jira_rabbitmq_webhook instance is launched on the host jrw.test.com
and you configured “web”->”url” as “/webhook/” then you should set webhook address in your Jira instance
as “http://jrw.test.com/webhook/” (or “https://jrw.test.com/webhook/” if you configured SSL for it).RunningThe jira_rabbitmq_webhook service can be launched with the Gunicorn:gunicorn "jira_rabbitmq_webhook.application:get_application('path/to/the/jira_rabbitmq_webhook.json')" --worker-class aiohttp.GunicornWebWorker
Package: jirareport
Jiradump uses python-jira, so it can use the.netrcfile too.The easiest setup is:Get an api token. If you are using Jira Cloud, you can get it athttps://id.atlassian.com/manage/api-tokensEdit the~/.netrcfile with an entry like:machine <uri to your jira instance>
  login <your username>
  password <the jira token>example:machine example.atlassian.net
  login fubar@example.org
  password ASDFHUdflasfj867uaAfter this easy initialization, just download the repository and run:python -m jiradump -s example.atlassian.netAnd it will dump the issues that were modified in the selected period or are
currently open. The default period is “today”, but you can change it with the
options-fand-t.
Package: jira-reviews-reminder
Slack Bot Jira Review ReminderNotifies in Slack channel with a list of jira tickets that have pending review from x days. Adds the reviewer and PR details if exists.Reviewer's names will be tagged in Slack notifications only if Jira email and slack email are same for all usersInstallationpip install jira-reviews-reminderUsageAfter installing the package run below command:SLACK_TOKEN=XXXXXXXX SLACK_CHANNEL=catalog-team JIRA_PROJECT=catalog-proj JIRA_USER=abc@org.com JIRA_TOKEN=XXXXXX JIRA_SERVER=https://org.atlassian.net JIRA_REVIEWER_FIELD=customfield_10200 jira-reviews-reminderThis script will run and exit. So, preferably schedule a cron job.Example:To run every day 11 AM and 5 PM0 11,17 * * *  SLACK_TOKEN=XXXXXXXX SLACK_CHANNEL=catalog-team JIRA_PROJECT=catalog-proj JIRA_USER=abc@org.com JIRA_TOKEN=XXXXXX JIRA_SERVER=https://org.atlassian.net JIRA_REVIEWER_FIELD=customfield_10200 jira-reviews-reminderEnvironment VariablesSLACK_TOKENCreate a slack bot app and get the Bot User OAuth Token. Use it as Env variable.Instructions to create Slack BotMake sure your bot has all necessary permissions/scopes:users:read.email,chat:write.public,channels:read,channels:joinSLACK_CHANNELSlack channel of your team/jira project. No need to prefix with#JIRA_PROJECTThe jira project key of your team. Tickets belonging to these projects will be processed.TODO: Pass comma separated projects, if multiple projects need to be assessed.JIRA_USER and JIRA_TOKENJira user ID/email and user/app token - need this to authorize the jira client.IGNORE_JIRA (Optional)Comma separated Jira IDs. Any jira ID passed in this env variable will not be processed.ISSUE_CHANGED_BEFORE (Optional)This variable is used to trigger reminder if the ticket is in review state from x unti of time.Example:
If the variable value is-1d. Only those jira will be processed which are inIn Reviewstate for more than 1 day.default to-1dJIRA_SERVERJira hosted server - to establish connection.Example:https://something.atlassian.netISSUE_PAGE_SIZE (Optional)Maximum number of issues to assess that areIn review.defaults to 20SLACK_USERS_GROUP (Optional)This is your team's slack user group. If a ticket doesn't have any reviewer, this user group is tagged in Slack notification.JIRA_REVIEWER_FIELDA few of the attributes in jira ticket are placed in dynamic fields/custom fields. This could be different for different projects.Find out which field in the API response corresponds to theReviewersfield.Example:customfield_10200API Details:GET /rest/api/2/issue/your_jira_ID