Saravanan666/pypi-org huggingface dataset:
Package: jembewf
Jembe Workflow ManagementLibrary with simple Workflow implementation for use in Flask with Sqlalchemy.
JembeWF can be used without Jembe Framework it only depends on Flask and Flask-SqlAlchemy.Workflow is defined in Python by extending and combining Flow, State and Transition classes.
Workflow is executed by Process and Step SqlAlchemy persistet instaces that saves information
of process instances (defined by Flow), Step instances (defined by State).Project stateIn developmentUsagefromflask_sqlalchemyimportSQLAlchemyimportflaskimportjembewfapp=flask.Flask(__name__)app.config["SQLALCHEMY_DATABASE_URI"]="postgresql+psycopg2://@/demo"db=SQLAlchemy(app=app)classProcess(jembewf.ProcessMixin,db.Model):"""Process"""classStep(jembewf.StepMixin,db.Model):"""Step"""jwf=JembeWF()# Flow definitionclassStateCallback(jembewf.StateCallback):defcallback(self):print(self.step)jwf.add(Flow("flow1").add(State("state1",StateCallback).add(Transition("state2"),),State("state2",StateCallback).add(Transition("state3"),),State("state3",StateCallback),).start_with("state1"))jwf.init_app(app,db,Process,Step)# starting processprocess=jwf.start("flow1")# steping thought processwhileprocess.is_running:process.proceed()Output:<Step#1: 'state1' from process #1: 'flow1'><Step#2: 'state2' from process #1: 'flow1'><Step#3: 'state3' from process #1: 'flow1'>LicenseJembe Workflow Management
Copyright (C) 2021 BlokKodinfo@blokkod.meThis program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.You should have received a copy of the GNU Lesser General Public License
along with this program.  If not, seehttps://www.gnu.org/licenses/.
Package: jen20-pulumi-aws-vpc
AWS VPC Component for PulumiThis is a project containing components for use withPulumi, a tool for provisioning cloud infrastructure
based on a description written with general purpose programming languages.This project provides a Pulumi component namedVpc, which can be used to create anAWS VPCbased on some of the
good practices described by the AWS documentation, posts made by AWS solutions engineers, and the experience of the
package author, contributors and reviewers.For example, address space is assigned in an asymetric manner between public and private subnets, as described in the
articlePractical VPC Design. VPC Endpoints for S3 and DynamoDB can optionally be configured, and
flow logging can be enabled if desired.TheVpccomponent is implemented in both Node.js (using TypeScript) and Python 3, with identical functionality and a
very similar API between the two languages. Both support Pulumi v2.1.0 and above.This package does not currently support entirely private VPCs (i.e. those without an internet gateway attached), though
it is intended to support such designs in future.ACHANGELOGis maintained for this project.InstallationNode.js$npminstall--save'@jen20/pulumi-aws-vpc'Python$pip3install'jen20_pulumi_aws_vpc'ExamplesAn example of the usage in a Pulumi program of each component is available:Node.js example[Python][example-python]LicenseThis package is licensed under theMozilla Public License, v2.0.ContributingPlease feel free to open issues or pull requests on GitHub!
Package: jencrypt
jencryptFile and directory encryption application with auto-mount volume for macOS.Installation$pipinstalljencryptUsage$jencryptFunctions0. Exit.
1. Mount encrypted volume.
2. Wipe all encrypted data.
3. Show status.ExampleAfter successfully installedjencrypt, you should execute thejencryptcommand in Terminal
or 3rd party terminal, eg: iTerm2.It'll show function list.Select 1.Input your password for encryption. It's not allowed to change password in current version.
Please input carefully.After typing password, pressEnter. OpenFinder.app. You will see a new volume namedjencrypt-xxx, open it and put files or folders into it.When you don't need edit or view these private files anymore, pressctrl-Cto exitjencrypt.
The encrypted volume will be ejected automatically. Or, you can eject the private volume manually, after that
,jencryptwill also exit automatically.DependenciesPython 3WatchdogopenssltardiskutilLicensingJencrypt is licensed under the terms of theApache License, version 2.0.Copyright 2021JamesZBL.Why jencrypt?Reliable encryptionFully automated encrypted volumeAutomatically detect changes and re-encryptPassword secondary verificationFast RAM disk, private data isn't kept on diskEasy to use
Package: jendobson.greenbutton
jendobson.greenbuttonPython tools for working withGreen Buttondata.To Use:# Import the script greenbutton.pyimportgreenbutton.greenbuttonasgb# View the dataframegb.dfSee also:https://github.com/GreenButtonAlliance/hpxmlhttps://github.com/asciiphil/greenbutton-python/tree/master/dochttps://github.com/teeterc/gbapi
Package: jenfi-pipeline-data-app
Jenfi Pipeline Data AppDesigned to allow teams to access Jenfi's data sources in a Jupyter Notebook.DocsView public API docfor using in Jupyter notebook.Basic Usagefromjenfi_pipeline_data_appimportPipelineDataAppasJenfiJenfi.ROOT_DIR# => /Your/app/root/dirSetup a.envfile in the folder ofJenfi.ROOT_DIRMaintaining this repoBuild pdoc -pdoc --html --force --output-dir ./docs jenfi_pipeline_data_app
Package: jenkins-autojobs
Jenkins Autojobsare a set of scripts that automatically createJenkinsjobs
using a template job and the branches/refs in your scm repository.Documentation:http://jenkins-autojobs.readthedocs.org/en/latest/Development:https://github.com/gvalkov/jenkins-autojobsPackage:http://pypi.python.org/pypi/jenkins-autojobsChangelog:http://jenkins-autojobs.readthedocs.org/en/latest/changelog.html
Package: jenkins-backup-s3
jenkins-backup-s3A collection of scripts to backup Jenkins configuration to S3, as well as manage and restore those backups. By default
runs silently (no output) with proper exit codes. Log Level option enables output.Setuppip install jenkins-backup-s3Configure S3 and IAMCreate an S3 bucket to store backups.Create an IAM role with STS:AssumeRole and a trust Service ec2.amazonaws.com.  The IAM role must have theGetObject,DeleteObject,PutObjectandListBucketS3 permissions for that bucket.UsageSetup with cron for ideal usage.backup-jenkins {OPTIONS} {COMMAND} {COMMAND_OPTIONS}Options can be set directly or via and environment variable.The only required option is your S3 bucket:backup-jenkins --bucket={BUCKET_NAME}Other available options are:Bucket prefix (defaults to "jenkins-backups"):backup-jenkins --bucket-prefix={BUCKET_PREFIX}Bucket region (defaults to "us-east-1"):backup-jenkins --bucket-region={BUCKET_REGION}Available commands:createrestorelistdeletepruneRunbackup-jenkins {COMMAND} --helpfor command-specific options.Running a daily backup on JenkinsCreate a new item in Jenkins and configure a build of this repository.Set the shell / virtualenv builder (if you have it installed) to runbackup-jenkins create.Set the build on a daily CRON schedule.
Package: jenkinsc
Python Jenkins clientjenkinsc is a client library for Jenkins API that is made to handle all the possible connectivity and Jenkins API issuesInstallationpip install jenkinscHow to useHere an example of usage:jenkins = Jenkins('environ['JENKINS_URL']', username=environ['JENKINS_USR'], password=environ['JENKINS_PWD'])
jenkins['JOBNAME'].build(build_params={'SRC': 'myscr/folder', 'VERSION': '111'})  # Non blocking jenkins job call
queue_item = jenkins['JOBNAME2'].build(build_params={'REDEPLOY': 'true', 'VERSION': '111'}, block=True)  # will wait till the job is finished 

if not queue_item.get_build().successful():
    raise Exception('JOB2 failed')How to deployjenkinsc is deployed automatically on adding new tag.
To make a new release just add a tag on master after upgrading package version insetup.py.How to add a tagExample:git tag -a v0.0.37 -m "Version 0.0.37"
git push --tag
Package: jenkins-cffi
This python module provides Bob Jenkin’s hash functions in python (via
a ctypes wrapper calling the original C implementation).A description of the algorithm can be found here:http://www.burtleburtle.net/bob/hash/doobs.htmlThe C code implementing the actual hash algorithm can be found here:http://www.burtleburtle.net/bob/c/lookup3.cThis code was released into the public domain.Everything else is made available under the MIT license:The MIT LicenseCopyright (c) 2009 Milo.comPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Package: jenkinscfg
Update Jenkins jobs configuration declaratively from a Git repository.Example$exportJENKINS_HOST=http://localhost:8080$treejobsjobs└──HelloWorldJobFolder├──config.xml└──HelloWorldJob└──config.xml$jenkinscfgupdatejobsCreatingHelloWorldJobFolderCreatingHelloWorldJobFolder/HelloWorldJob$mvjobs/HelloWorldJobFolderjobs/NewJobFolder$jenkinscfgdiffjobsRemovedHelloWorldJobFolderRemovedHelloWorldJobFolder/HelloWorldJobAddedNewJobFolderAddedNewJobFolder/HelloWorldJob$jenkinscfgupdatejobsDeletingHelloWorldJobFolder/HelloWorldJobDeletingHelloWorldJobFolderCreatingNewJobFolderCreatingNewJobFolder/HelloWorldJob$sed-i's/false/true/'jobs/NewJobFolder/HelloWorldJob/config.xml$jenkinscfgdiffjobsChangedNewJobFolder/HelloWorldJob---+++@@-1,12+1,12@@<?xmlversion="1.0"encoding="UTF-8"?><project>-<keepDependencies>false</keepDependencies>+<keepDependencies>true</keepDependencies><properties/><scmclass="jenkins.scm.NullSCM"/><canRoam>true</canRoam>-<disabled>false</disabled>-<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>+<disabled>true</disabled>+<blockBuildWhenUpstreamBuilding>true</blockBuildWhenUpstreamBuilding><triggersclass="vector"/>-<concurrentBuild>false</concurrentBuild>+<concurrentBuild>true</concurrentBuild><builders/><publishers/><buildWrappers/>UnchangedNewJobFolder$jenkinscfgupdatejobsUpdatingNewJobFolder/HelloWorldJob
Package: jenkins-cli
Based onpython-jenkins:https://github.com/openstack/python-jenkinsTested onJenkins ver: 1.565, 1.655Python ver: 2.7, 3.4, 3.5Documentation and examples:https://github.com/LD250/jenkins-cli-pythonInstallation:Please check the documentation for installation optionsCommands overview:jobs:Show all jobs and their statusesqueue:Show builds queuebuilding:Build executor statusstart:Start jobinfo:Job infosetbranch:Set VCS branch (Mercurial or Git)stop:Stop jobconfigxml:Get the xml of job configurationconsole:Show console for the buildbuilds:Show builds for the jobchanges:Show build’s changes
Package: jenkinsclient
中文说明JenkinsClientA powerful cross-platform Jenkins command line client which supports multiple instances of Jenkins.FeaturesGet global infoget Jenkins server infoget whoami infoget plugins infoget nodes infoget jobs infoget queues infoOperating Jenkins objectsPluginlist, search, install, uninstall plugin, and many more operationsNodelist, get node info and many more operationsExecutorget the number of node's executors, and many more operationsJoblist, build, copy, create, delete, disable, enable, rename job, and many more operationsQueuelist and cancel queue itemBuildget env_vars, information, log and test report of buildInstallYou can use pip to install jenkinsclient on PyPI, just execute following command:pip3 install jenkinsclientor manually download the source code and use setuptools:python setup.py installUpgradepip3 install -U jenkinsclientReleaseshttps://pypi.org/project/jenkinsclient/UsageAfter install jenkinsclient, you can use commandjenkinsorjksto perform many operations on Jenkins server.QUICK STARTUsejenkins config generateto config jenkins servers.This command will generate a config file, you can modify it by yourself.Do what you want.tryjenkins jobsto see all jobs on your jenkins server.tryjenkins pluginsto see all plugins on your jenkins server.Tips: in all commands, you can replacejenkinswithjksto simplify input.Help informationTypejenkinsto show jenkinsclient help information, orjenkins GROUPto view group command help information, such asjenkins config,jenkins job.like this:NAME
    jenkins - A powerful cross-platform Jenkins command line client

SYNOPSIS
    jenkins GROUP | COMMAND

DESCRIPTION
    A powerful cross-platform Jenkins command line client

GROUPS
    GROUP is one of the following:

     build
       Manage builds

     config
       Configure Jenkins server information

     cred
       Manage Jenkins credentials

     executor
       Manage Jenkins executors

     job
       Manage Jenkins jobs

     node
       Manage Jenkins nodes

     plugin
       Manage Jenkins plugins

     queue
       Manage Jenkins queue

COMMANDS
    COMMAND is one of the following:

     app
       app mode, operating jenkins in a window

     creds
       List Credentials

     jobs
       List jobs

     nodes
       List nodes

     plugins
       List plugins

     queues
       List queues

     version
       Display Jenkins server version

     whoami
       Display who am i
Package: jenkinsctl
jenkinsctlBuild Jenkins jobs effortlessly using a single command. 🚀Installation 📦pipinstalljenkinsctlJenkins Configuration 🛠️Before using jenkinsctl, configure your Jenkins server details in your shell profile.
Add these lines in your ~/.bashrc or ~/.zshrc file:exportJENKINS_SERVER_URL=http://localhost:8080exportJENKINS_USERNAME=amanshaw4511exportJENKINS_API_KEY=21df49caf41726094323b803a6de363eaeAdjust the values to match your Jenkins server's URL, your username, and the corresponding API key. This configuration is essential for jenkinsctl to interact with Jenkins and execute tasks efficiently.How to Get the API Token:https://www.baeldung.com/ops/jenkins-api-tokenUsage 🤖$jenkinsctl--help
usage:jenkinsctl[-h]{build,config}...

options:-h,--helpshowthishelpmessageandexitSubcommand:{build,config}buildrunnewbuildconfiggetconfigofabuildRun a Jenkins Job$jenkinsctlbuild--help
usage:jenkinsctlbuild[-h][-fFILE][-v][-sSUPPRESS_LOGS][--paramPARAM]options:-h,--helpshowthishelpmessageandexit-fFILE,--fileFILEYamlconfigurationfile-v,--verbose-sSUPPRESS_LOGS,--suppress-logsSUPPRESS_LOGS--paramPARAMGet Config of a Jenkin Build in YAML Format$jenkinsctlconfig--help
usage:jenkinsctlconfig[-h]job_namebuild_no

positionalarguments:job_namebuild_no

options:-h,--helpshowthishelpmessageandexitExamples 🎭Runing a Jenkins JobCreate a YAML configuration file, let's saymy_job.yaml, with job parameters like this:job:my_jobparams:param1:some valueparam2:10param3:trueInitiate the job build using the following command:jenkinsctlbuild-fmy_job.yamlThis command executes the job based on the specified YAML configuration.Overriding Specific Parameter from Configurationjenkinsctlbuild-fmy_job.yaml--paramparam2=11--paramparam3=falseThis command will override the value ofparam2andparam3from original configuration filemy_job.yaml, passing an effective configuration as follows to run jenkin job :job:my_jobparams:param1:some valueparam2:11param3:false.. |PyPI-Downloads| image::https://img.shields.io/pypi/dm/shtab.svg?label=pypi%20downloads&logo=PyPI&logoColor=white:target:https://pepy.tech/project/shtab:alt: DownloadsGenerating Config from Existing BuildsCapture and reproduce configurations from previous Jenkins builds.
To generate a YAML configuration file from a specific build (e.g. 2nd build) of a job (e.g.,my_job), use the following command:jenkinsctlconfigmy_job2>my_job.yaml
Package: jenkins-epo
Time for kickass CI !Jenkins EPOImplements extended CI features on top of Jenkins and GitHub for in-house CI.FeaturesDefine jobs from repository injenkins.yml.Jobs pipeline façon GitLab CI.Query GitHub API to poll open PR instead of polling git repository.Read instructions from PR comments.Cancel running jobs when pushing new commits.Report issue on broken protected branches.Auto-merge PR.Works with webhook and/or behind firewall.Extensible through entry-point.QuickstartOn your poller host:pip3 install jenkins-epo
# Setup env vars
export JENKINS_URL=http://myjenkins.lan JOBS_CREDENTIALS=clone-creds
export GITHUB_TOKEN=YOUR_SECRET_TOKEN REPOSITORIES=owner/repo
# Check repository is manageable
jenkins-epo list-heads
# Trigger a dry run
DRY_RUN=1 jenkins-epo process https://github.com/owner/repo/tree/master
# Run it for real
jenkins-epo botNow write ajenkins.ymlfile and open a PR:myjob: |
    tox -rMany instructions are available. Just ask the bot by commentingjenkins: helpin an open PR!
Package: jenkins-external
jenkins-externaljenkins-externalis a Python script that spawns a command, records
its output and exit code, and then logs this information to Jenkins
in an external job.Currently, SSH is the only supported method to send output to Jenkins.
Therefore, you must go toConfigure Global Security→ SSH Server, and
enable the SSH server on a fixed port.Installationpip install jenkins-externalUsageusage: jenkins-external [-h] [-d DISPLAY_NAME] [-s SSH_COMMAND]
                        [-x EXECUTABLE] [-q]
                        host port job command [args [args ...]]

Runs a command, and passes its output to Jenkins as an external job.

positional arguments:
  host                  Jenkins hostname (for Jenkins SSH server)
  port                  Jenkins SSH server port
  job                   Jenkins job name
  command               command to be run under this script
  args                  arguments to pass to the command

optional arguments:
  -h, --help            show this help message and exit
  -u USER, --user USER  Jenkins user to login as (using public key
                        authentication, default: your username)
  -d DISPLAY_NAME, --display-name DISPLAY_NAME
                        display name of the build
  -s SSH_COMMAND, --ssh-command SSH_COMMAND
                        ssh command
  -x EXECUTABLE, --executable EXECUTABLE
                        the executable to actually use
  -q, --no-job-id       do not print the job ID in the endExample# Sends 'Hello, World!' to a job called `my-job` on a Jenkins instance
# running on `jenkins.example.com`, whose SSH port is 12345.
jenkins-external jenkins.example.com 12345 my-job echo 'Hello, World!'
Package: jenkins-fire-cli
jenkins-fire-cliA Jenkins command line tool built with python-fire that wraps the jenkins-cli and job-dsl-core.PrerequisiteYou need to ensureJavaandPython>=3.8are in the PATH to use this tool.InstallIt can be installed by the following command.pipinstalljenkins-fire-cliGet StartedProvisionYou need to set Jenkins site url and user credential for the first timejenkins-fire-cliconfigsetjenkins.urlhttp://your-jenkins-site
jenkins-fire-cliconfigsetuser.namejohn.doe# user.token is optional, but you will be asked to type it when it is missing# either api token or user's password will be OK, but it's recommneded to use token for the sake of securityjenkins-fire-cliconfigsetuser.tokenpassw0rdBefore you start to run Jenkins commands, don't forget to run theinitcommand for the first time, which will downloadjenkins-cli.jarandjob-dsl-core-standalone.jarautomatically.jenkins-fire-cliinitRun jenkins-cli commnadsAsjenkins-fire-cliis a wrapper ofjenkins-cliandjob-dsl-coreto make them easier to use,
you can find the document ofjenkins-cliin your Jenkins site or run the following command to open in browser.jenkins-fire-clidoc--openYou can use therunsub-command to executejenkins-clicommand, for examplejenkins-fire-clirunlist-jobs# It is equivalent to "java -jar jenkins-cli.jar -s http://localhost:9090/ -webSocket list-jobs"# For command with multiple arguments you need to quote them with ""jenkins-fire-clirun"get-job my-job"Run job-dsl commandsYou can also run thejob-dslcommand. For example you have ajob-dslscript with the following content.// file: /tmp/sample.dslpipelineJob('job-dsl-plugin'){definition{cpsScm{scm{git{remote{url('https://github.com/jenkinsci/job-dsl-plugin.git')}branch('*/master')}}lightweight()}}}Then you can run the following command to generate the job XML configuration.jenkins-fire-clidsl/tmp/sample-dsl.groovyThen you will find a file namedjob-dsl-plugin.xmlis generated.
Now you can run anthor command to create this job in jenkins:jenkins-file-clirun'create-job job-dsl-plugin'<job-dsl-plugin.xmlThen you will find a new job namedjob-dsl-pluginhas been created in jenkins.Environment VariablesIf you want to use this tool in CI system, you may use the following environment variable instead of global setting.JENKINS_USER_ID: equivalent touser.nameJENKINS_API_TOKEN: equvalent touser.tokenJENKINS_URL: equvalent tojenkins.urlJENKINS_JOB_DSL_PATH: path to the job-dsl jar package, you may skipinitwhen this is setJNEKINS_CLI_PATH: path to the jenkins-cli jar package, you may skipinitwhen this is set
Package: jenkinsflow
jenkinsflowPython API with high level build flow constructs (parallel/serial) for
Jenkins (and Hudson). Allows full scriptable control over the execution
of Jenkins jobs. Also allows running ‘jobs’ without using Jenkins (for
testing without reloading Jenkins jobs).See INSTALL.md for installation and test setup. See demo/… for some
usage examples. I don’t test continuously on Hudson, but patches are
welcome.Thanks to Aleksey Maksimov for contributing various bits, including the
graph visualization.