Saravanan666/pypi-org huggingface dataset:
Package: jira-rpc
Python client for the JIRA SOAP API.
Tested with JIRA 4.1 - 5.1 and Python 2.6 / 2.7.ConfigurationFirst, you need to set up the configuration.
Either create aconfig.inifile in thejirafolder, or if you’re using this in a Django project, you can put the settings in yoursettings.py, for example:JIRA_RPC_USER = 'abc'
JIRA_RPC_PASS = '123'
JIRA_WSDL_URL = 'http://jira.example.com/rpc/soap/jirasoapservice-v2?wsdl'
JIRA_TESTING = True
JIRA_TEST_PROJECT = 'TEST'WARNINGIfTESTINGis set toTrue, the client connects to a project namedTEST(which is assumed to exist on the server).
This is useful for testing functionality on a test project before pushing into production (maintaining an entire JIRA server just for testing seems excessive).
If you have arealproject calledTEST, you should change this by overriding the test project name in the settings (seeconfig.example.ini).InstallationThe only requirement isSuds:pip install -r requirements.txt
Package: jira-select
Jira-Select: Get the data you want to see out of JiraJira-select is a command-line tool and library that lets you run SQL-like
queries against your Jira instance that are far beyond what Jira's built-in
query language can provide.Jira has its own query language
but there are many limitations around what JQL is capable of.
Some data is returned in arcane formats
(e.g. sprint names are returned as a string looking something likecom.atlassian.greenhopper.service.sprint.Sprint@14b1c359[id=436...),
data cannot be grouped (there's nothing like SQL'sGROUP BYstatement),
and because of that lack of grouping, there are no aggregation functions --
noSUM-ing story points or estimates per-assignee for you.
And if you want to write a custom function for processing a field,
well, I'm not even sure where you'd begin.
Jira-select makes those things easy.If you've ever found yourself held back by the limitations of Jira's
built-in query language, this tool may make your life easier.
Using Jira-select you can perform a wide variety of SQL-like query
operations including grouping, aggregation, custom functions, and more.Supported PlatformsLinuxWindowsOSXInstallationYou can either install from pip:pip install jira-selectoryou can download the latest packaged release here:https://github.com/coddingtonbear/jira-select/releasesoryou can build from source:git clone https://github.com/coddingtonbear/jira-select.git
cd jira-select
pip install -e .QuickstartFirst, you need to configurejira-selectto connect to your jira instance:jira-select configureThen, you can open up your shell:jira-select shellNow, you can type out your query -- the below will find issues assigned
to you:select:Issue Key:keyIssue Summary:summaryfrom:issueswhere:-assignee = "your-email@somecompany.com"-resolution is nullThe editor usesvibindings by default; so once you're ready to submit
your query, pressEscfollowed byEnterand after a short wait (watch the progressbars), you'll be shown your results. Pressqto exit your results.Documentation for Jira-select is available onReadTheDocs.Please post issues onGithub.Questions? Ask them onGitter.
Package: jira-simple-cli
A Command Line Interface for JiraInstallpip install jira-simple-cliUsage$ jira –helpPurposeAvoid using a browser to intereact with Jira.
This project helps create tickets quickly.The idea is to expand this project to be able to manage your workload with it:
- Query tickets
- Assign tickets
- Change Status
- Comment a ticket
- …
- ProfitDevelopInstall Requirements$ pip install -r requirements.txtThis project is tested using Popen to call the cli and assert its results, you would run the following command:$ pytest testsLastly, if you’d like to cut a new release of this CLI tool, and publish it to
the Python Package Index (PyPI), you can do so
by running:$ python setup.py sdist bdist_wheel
$ twine upload dist/*This will build both a source tarball of your CLI tool, as well as a newer wheel
build (and this will, by default, run on all platforms).Thetwine uploadcommand (which requires you to install thetwinetool) will then securely upload your
new package to PyPI so everyone in the world can use it!Resources(Python Cli Programming)(Python Cli Packaging)To doPlan other commandsCreate command
- Add Assign to someone
- Add Status
- Output useful information when ticket is created
Package: jira-sro-etl
Jira_sro_etlGeneral InformationSoftware:jira_sro_etlAuthor:Leonardo Khoury Picoli, Lucas Moraes Soares de Souza, Paulo Sérgio dos Santos JúniorAuthor's e-mail:leonardokhoury@hotmail.com,lucasmoraesplay@gmail.com,paulossjunior@gmail.comSource Repository:https://gitlab.com/integration_seon/libs/etl/jira_sro_etlGoalLibrary responsible for extracting data from Jira to SRO databaseDocumentationThe Documentation can be found in thislinkRequirementsThe code need the following programs to run, versions were listed just for guidance, you can try with different ones by your own risk, we tested with these.ProgramVersionPostgres13.3MongoDB Community4.4.5Python3.8.5Pip21.1.1InstallationIf you have already made the initial fill, just install jira_sro_etl running:pipinstalljira_sro_etlIf you wanna do the initial fill, clone this repo and follow the steps listed on USAGE sectionUsageSince it uses SRO_DB lib you must export the following environment variables:USERDB = Postgres's usernamePASSWORDDB = Postgres's passwordHOST = Postgres's host (usually localhost)DBNAME = Your database's name (must be already created) on PostgresAnd if your mongo db is not on your localhost you can export:MongoDB = Mongo host addressCreate a virtual environment and activate itpython3-mvenvenv&&sourceenv/bin/activateInstall the requirementspipinstall-rrequirements.txtFill the fields on dump_db/create_org.py and runpythondump_db/create_db.py&&pythondump_db/create_org.pyGrab the data that was printed on terminal after last command and paste it on initial_fill.py (before themanager = Manager(data)), then runpythoninitial_fill.pyAfter the initial fill you can run new creations, updates or deletes on any classes. If you've installed jira_sro_etl with pip you can run the following code for example:fromjira_sro_etlimportfactoriesu=factories.userFactory()u.create({'content':{'all':{'user':{'accountId':'ACCOUNT_ID_FROM_JIRA'}}}})CI/CD configurationConfigure the following variables in CI/CD:VAR_SONAR_CLOUD_TOKEN = Token from SonarCloudVAR_GITLAB_USER_NAME = username of GitlabVAR_GITLAB_USER_EMAIL = user's email of GitlabVAR_PYPI_USER_NAME = pypi's usernameVAR_PYPI_PASSWORD = pypi's passwordCopyrightThis lib was PowerRight bySEON Application Lib Generator
Package: jirate
Python JIRA & Trello CLIThis Python CLI is a high-level wrapper around the JIRA and Trollo modules.Getting Started:To use the CLI, install the package either by downloading the source and running$ pip install -r requirements.txt
$ pip install .or by using pip$ pip install jirateDocumentation:You can find documentation for the Python API at:http://pypi.org/project/jira/http://pypi.org/project/trollo/Documentation for the JIRA API is at:https://docs.atlassian.com/software/jira/docs/api/REST/latest/Documentation for the Trello API at:https://developers.trello.com/reference/
Package: jirathumper
Update JIRA tickets moved on a JimFlow Kanban board. Seehttp://jimflow.jimdo.com.This replaces the PHP cron job in JimFlowWall that is designed to run after
JimFlowKlopfer. It uses the outputs of JimFlowKlopfer.Usage:$ jirathumper --url=<JIRA URL> --username=<username> --password=<password> --config=config.ini klopfer-output.jsonThe configuration file (e.g.config.ini) contains:[columns]
0 = todo
1 = in-progress
2 = doneThis maps column indexes (0 is the first one) to the titles of JIRA statuses.The input file is produced by JimFlowKlopfer. It maps the current position
(column index) of each item on the board, as identified by JIRA ticket ids.jirathumper will then look up each ticket in JIRA and identify its current
status. If this is diffent from the one indicated by the columns on the wall,
it will look for possible transitions to take it into that state. If such a
transition exists, it will be executed.
Package: jira-ticket-migrate
jira-ticket-migrateThis is a program to help migrate tickets between Jira servers.Ifyou
have the appropriate privileges, there are better ways of doing this! If
you don't, all you have available are messy solutions (including this).So what's this, then? This migrates tickets belonging to projects from
one Jira server to Jira another server. If the project is fresh on the
destination server, then ticket numbers will be preserved.To see what's done, a set of before and after pictures tells the best
story:Source ticketMigrated ticketNotice that the following are preserved:titledescriptionprioritystatusresolutionAnd possibly add the ticket number to that list (see above paragraph).
Everything else is not preserved.Note that this program assumes that you're migrating to a new-ish Jira
(2018-ish), since there are some key differences between old and new
Jiras.InstallationUsing pip,pip install jira-ticket-migrateAlternatively, you can run jira-ticket-migrate directly from source
using the scriptrun_jira_ticket_migrate.py.UsageCopy the example config fileconfig.yaml.exampletoconfig.yamlcp config.yaml.example config.yamland fill it in.Then run withjira-ticket-migrateYou can specify a config file explicitly with the-coption:jira-ticket-migrate -c /path/to/config.yamlOtherwise it will look for it at the root of the repository.
Package: jira-timesheet-cli
jira-timetracking-cliThis tool can be used to book times into JIRA issues. This tool uses the internal rest api (v3) of JIRA and therefore can be subject to change. Use it on your own risk!InstallationCreate new virtualenvvirtualenv ./venv, activate itsource venv/bin/activateinstall all requirementspip install -r requirements.txt. Then build the project usingpyinstaller book-time.spec. Adddist/book-timeto your$PATHand use it.UsageBefore using the tool you need to specify the following environment variables:JIRA_URL: The jira base url. Eg.https://jira.test.com/JIRA_USER: Your JIRA user (eg. email address)JIRA_TOKEN: Your API access tokenSee help for more information about the arguments:book-time -help. Examples:book-time -yesterday -ticket ABC-1234 -duration 3h15m -at 12:45
book-time -today -ticket ABC-1234 -duration 3h15m -at 12:45
book-time -ticket ABC-1234 -duration 3h15m -date 28-10-22 -now
book-time -ticket ABC-1234 -duration 3h15m -date 28-10-22 -at 12:45If you don't want to set a specific time and instead always book at the same time, you can just use an alias:alias book-time='book-time -at 10:00'Completionsource <(book-time completion)
Package: jirator
Configurationjirator will look in~/.jirator/configfor a configuration file, which will specify server to use, credentials for the server and what issue statuses jirator should consider as "open" issues (i.e. the ones that will be shown for you).Example config{"server":"http://localhost:2990/jira","username":"fredsusername","password":"fredspassword","status":["TO DO","IN PROGRESS","ON HOLD","IN REVIEW","OPEN"]}ContributingContributions are welcome. Note that all contributions are subject to the license of this project.Setup up dev environmentInstall the atlassian-plugin-sdk to get a local instance of the Jira REST API to test against. Follow the instructions athttps://developer.atlassian.com/server/framework/atlassian-sdk/downloads/https://developer.atlassian.com/server/framework/atlassian-sdk/create-a-helloworld-plugin-project/Run Jira by being in the plugin directory and runningatlas-runWhen you've created your plugin and the server is running, login and create a project and a few issues to  test onCreate a releaseRun the following command in the root path:python setup.py sdistinstall locally:pip install (--user) /path/to/tarfile
Package: jirawiki2docx
JiraWiki2DocxJiraWiki2Docx is a Python 3 library that converts Jira wiki text to Microsoft Word (docx) format. It provides a convenient way to migrate Jira wiki content to Word documents, allowing users to preserve the formatting and structure of their Jira wiki pages.InstallationYou can install jirawiki2docx using pip:pip install jirawiki2docxUsageTo use jirawiki2docx, follow these steps:Import the JiraWiki2Docx class:from jirawiki2docx import JiraWiki2DocxCreate an instance of the JiraWiki2Docx class, providing the Jira wiki text as input:jira_text = "Your Jira wiki text here..."
converter = JiraWiki2Docx(jira_text)Parse the Jira wiki text and generate the Word document:document = converter.parseJira2Docx()Optionally, save the resulting document to a file:converter.parseJira2Docx(save_to_file=True, output_filename="output.docx")Alternatively, you can use an existingdocx.Documentobject and append the converted Jira wiki text to it's content:existing_document = docx.Document()
jira_converter.parseJira2Docx(existing_document)ExampleHere's a complete example that demonstrates the usage of JiraWiki2Docx:from docx import Document
from jirawiki2docx import JiraWiki2Docx

# Jira wiki text
jira_text = """
h1. Heading 1

This is a paragraph.

h2. Heading 2

* Item 1
* Item 2

h3. Heading 3

||Heading 1||Heading 2||
|Cell 1|Cell 2|

This is another paragraph.
"""

# Create a Document object
document = Document()

# Create an instance of JiraWiki2Docx and parse the Jira wiki text
converter = JiraWiki2Docx(jira_text, document)

# Parse Jira markup and convert to Word document with optional arguments to save created/modified document to file or just return as object
converter.parseJira2Docx(save_to_file=True, output_filename="output.docx")The resulting Word document will contain the converted Jira wiki content with appropriate headings, lists, and tables.Supported Jira Wiki SyntaxJiraWiki2Docx supports the following Jira wiki syntax:Headings (h1 to h6)Unordered lists (*, -, #)Tables (||)Text effects (bold, italics, deleted, inserted, superscript, subscript, and color)Please note that JiraWiki2Docx may not support all Jira wiki syntax and rendering options.LicenseJiraWiki2Docx is released under the MIT License. See theLICENSEfile for more details.ConclusionJiraWiki2Docx simplifies the process of converting Jira wiki markup to Word documents. Whether you need to share Jira content with stakeholders or generate printable reports, this library provides an easy-to-use solution. Give it a try and streamline your Jira content management and distribution process.
Package: jiraX
JiraXGeneral InformationSoftware:JiraAuthor:Paulo Sérgio dos Santos JúniorAuthor's e-mail:paulossjunior@gmail.comSource Repository:https://gitlab.com/integration_seon/libs/application/jiraGoalLib created based on documentaionhttps://docs.atlassian.com/DAC/rest/jira/6.1.htmlDocumentationThe Documentation can be found in thislinkGenerate documentationTo create the code documentation:pdoc--html--forcejiraX/--outputdocsAcess code documentationTo accesss the documenation, go to folder docs/jiraX and open index.htmlTo run documentation server: pdoc jiraX --http localhost:8000InstalationTo install jiraX, run this command in your terminal:pipinstalljiraXUsagefromjiraimportJIRAfrompprintimportpprintfromjiraXimportfactoriesasfactoryuser="x@x.com"apikey="Apikey"server='https://xyz.atlassian.net/'project_apl=factory.ProjectFactory(user=user,apikey=apikey,server=server)issue_apl=factory.IssueFactory(user=user,apikey=apikey,server=server)comment_apl=factory.CommentFactory(user=user,apikey=apikey,server=server)projects=project_apl.find_all()forprojectinprojects:pprint("Project Data:"+project.name)issues_in_proj=project_apl.find_issue(project.key)forissueinissues_in_proj:pprint("x")pprint("Project Issue:")issueX=issue_apl.find_by_id(issue.id)pprint(issueX.fields.summary)pprint(issueX.fields.issuetype.name)pprint(issueX.fields.creator.accountId)pprint(issueX.fields.creator.displayName)pprint(issueX.fields.creator.emailAddress)comments=comment_apl.find_by_issue(issueX)pprint("Comments:")forcommentincomments:pprint("Comment: "+str(comment.id))pprint(comment.body)pprint(comment.created)pprint(comment.author.displayName)pprint(comment.author.emailAddress)CopyrightThis lib was PowerRight bySEON Application Lib Generator
Package: jirazephyrupdate
What is it?This is a plugin to update test results in Jira in Zephyr plugin. It supports any automation framework.Why should I make it?This plugin helps to fater update of test results.Who should make it?Any one who is using Zephyr Plugin in Jira can use this plugin to update test results.When should I make it?This plugin we should use along with our automation script. We can also use to update test resultsWhere should I put it?Any automation farmework can use this. We can also use this plugin to update standaloneHow should I make it?[if testcases inside folder]zephyr = ZephyrTestUpdate(, , , <JIRA_PROJECT>, , <CYCLE_NAME>, <FOLDER_NAME>)[if testcases inside cycle]
zephyr = ZephyrTestUpdate(, , , <JIRA_PROJECT>, , <CYCLE_NAME>)
zephyr.createTestCycle(<CYCLE_NAME>, , ) [dates should be in mm/dd/yy]
zephyr.Create_Folder_under_cycle(<CYCLE_NAME>, <FOLDER_NAME>)
zephyr.AddTestCasesToCycle(, <CYCLE_NAME>, <FOLDER_NAME>)
zephyr.updateExecution(, , )
zephyr.bulkUpdateCompleteFolder() [this will update whole folder/cycle]
zephyr.bulkUpdateExecution(, ,  ,  ) [this will upadte status of multiple keys]
Package: jiren
jirenjiren is an application that generates text from a template. The format of the template is based on jinja2.Read this in Japanese:日本語InstallationpipinstalljirenUsageGenerate textGenerate text from a template using thejirencommand. This command can read a template from stdin or files.An example of reading a template from stdin:Command:echo"hello, {{ name }}"|jiren-----name=worldOutputs:hello, worldAn example of reading a template from a file:Command:cat<<EOF >template.j2hello, {{ name }}EOFjirentemplate.j2----name=worldOutputs:hello, worldIn this example, the template contains a variable calledname. You can set values for variables in a template using program arguments passed to thejirencommand. Note that the arguments for the variables must be located after--.If you want to know more about template format, please refer to jinja2 document (http://jinja.pocoo.org/).Variables in a templateYou can use the help to check the variables defined in a template.Command:echo"{{ message }}, {{ name }}"|jiren--help-Outputs:... (omitted)

variables:
  --name NAME
  --message MESSAGEDefault valuesYou can set default values for variables for which no values was specified. This is based on the jinja2 specification.Command:echo"{{ message }}, {{ name | default('world') }}"|jiren-----message=helloOutputs:hello, worldOption: dataYou can pass a file with variables defined structurally using the--dataoption.Command:cat<<EOF >data.yamlgreeting:message: helloname: worldEOFecho"{{ greeting.message }}, {{ greeting.name }}"|jiren--data=data.yaml-Outputs:hello, worldOption: strictIf the--strictoption is used with the--dataoption, all variables in the data file must be used in the template.Command:cat<<EOF >data.yamlmessage: helloinvalid_key: invalidEOFecho"{{ message }}"|jiren--data=data.yaml--strict-Outputs:jiren: error: the data file contains unknown variables: invalid_keyOption: requiredWhen using the--requiredoption, you must specify values for all variables.Command:echo"{{ message }}, {{ name }}"|jiren--required-----message=helloOutputs:jiren: error: the following variables are required: name
Package: jiri-gitlab
jiri-gitlabThis is a small utility that creates ajiri manifest filefrom Gitlab projects.Use this if you want a complete and updated set of repositories from your private gitlab instance
on your machine.Installpip3 install --user jiri-gitlabInstructionsEnsure you've followedthe Jiri bootstrapping guide.Then, create a file called~/.python-gitlab.cfgin your home directory and add:[company-name-here]url=https://your-gitlab-url/private_token=your-private-tokenYou need to create a private token with read access to your repositories.Once you've done that, run:cd $MY_ROOT # Or wherever you've defined your project directory to be
jiri-gitlab --auth company-name-here "*" > .jiri_manifestThis will produce an XML file that Jiri can consume to pull all your projects:jiri update -gc=trueThere is also a utility tool to list projects:jiri-list ~/projects/.jiri_manifestYou can combine this withfzffor quick project navigation:jiri-list ~/projects/.jiri_manifest | fzf --ansi --preview "mdcat {}/README.md"
Package: jirit
JiritA simple module and scripts for transitioning Jira tickets based on Github commit messages.UsageExport environment settings for:JIRA_EMAIL <Jira login email>
JIRA_PASSWORD <Jira login password>
JIRA_URL <Jira url, eg “https://org_name.atlassian.net” >
JIRA_ID <The Jira id added before ticket numbers, eg TT for TT-1234>
GIT_USERNAME=<Github username>
GIT_PASSWORD=<Github password>
GIT_ORG=<organization or username for the Github project, eg l33tnom forhttps://github.com/l33tnom/foobar>
GIT_REPO=<project name, eg foobar in the GIT_ORG example above>Show Jira tickets based on git changejirit show <commit_hash_from> <commit_hash_to>Transition Jira tickets based on git changejirit deploy <commit_hash_from> <commit_hash_to> <transition name> <match tag> <dry run>This will trigger the <transition name> for Jira ticket if there is a git commit referenced in the git commit range, and the commit includes the tag #<match tag>. If the <dry run> flag is true then it will only display the possible transitioned issues without doing the Jira transition.
Package: jisho
The Sample Programs Docs GeneratorThe Sample Programs Wiki tool  houses thewiki.pyscript which we use in the
Sample Programs repository to generate our documentation. The script is automated
by a GitHub Actions build in the Sample Programs repo.If you would like to propose a change, feel free to leverage the issues tab or make
a pull request.How It WorksThewiki.pyscript works by analyzing the information in the Sample Programs
repository and storing that information in objects. These objects are then used to
generate various documentation pages in Markdown.What is AutomatedCurrently, the script maintains our entireSample Programs wiki.During wiki automation, it generates 27 pages: 1 alphabet catalog and 26 alphabet pages.The alphabet catalog contains a table with links to each alphabet page as well as
metadata like the number of scripts and languages per letter. In addition, the
alphabet catalog contains the total number of scripts and languages for the entire repo.Each alphabet page contains a table which lists each language for that particular letter
as well as metadata like the number of scripts per language as well as linking to articles
and issues.How to RunAt this time, the wiki generator is hardcoded for the Sample Programs repo. In order to
run it, you can install it as a package usingpip:pip install jishoAfter that, you'll need a copy of the Sample Programs repo:git clone https://github.com/TheRenegadeCoder/sample-programs.gitFinally, you can build the wiki using the following command:jisho /path/to/sample-programs/repo/archiveAlternatively, you can clone this repo to run thewiki.pyscript directly:python wiki.py /path/to/sample-programs/repo/archiveBoth solutions are designed to handle repo exploration from the/archive/directory.
If successful, you should begin to see print statements for the various links under test
for The Renegade Coder. When finished, you'll have a/wiki/directory next to your script
which contains the wiki. Likewise, all the READMEs should be updated.At this point, you can push the wiki directly to the Sample Programs wiki. That's it!