Saravanan666/pypi-org huggingface dataset:
Package: pubtools-iib
Set of cli scripts used for operating with IIB service.RequirementsPython 3.7+ or Python 2.7Featurespubtools-iib-add-bundles - script used for running add bundle on IIBpubtools-iib-remove-operator - script used for running remove operator on IIBSetup$ pip install -r requirements.txt
$ pip install .
or
$ python setup.py installUsage$ pubtools-iib-add-bundles \
  --iib-server iibhostname.example.com\
  --binary-image container-registry.example.com/binary/image:latest
  --index-image container-registry.example.com/index/image:latest
  --bundle container-registry.example.com/bundle/image:123
  --arch x86_64
  --deprecation-list container-registry.example.com/index/bundle-image:latest,container-registry.example.com/index/bundle-image:2

$ pubtools-iib-remove-operators \
  --iib-server iibhostname.example.com\
  --binary-image container-registry.example.com/binary/image:latest
  --index-image container-registry.example.com/index/image:latest
  --operator bundle/image:123
  --arch x86_64ChangeLogUnreleased0.24.0 (2023-10-17)Remove Docker Pulp support0.23.0 (2023-09-12)Add check_related_images parameter0.22.0 (2023-05-22)Add Bandit scanning to pipelineFixed broken testsDrop Python2 supportDisplay an IIB error directly in the pub logsPin bandit versionUpgrade iiblib to 7.1.00.21.0 (2022-02-07)Added build_tags supportUse pubtools.iib logger rather than root logger0.20.0 (2021-06-10)Make Pulp-related arguments non-mandatory0.19.0 (2021-04-01)Remove option of pushing to QuayRestore original installation of dependencies0.18.1 (2021-03-31)Change iiblib version to 3.0.0.0.18.0 (2021-03-29)Add deprecation_list and index_image_resolved attributeAdd option of pushing to QuayAdd log links to build detailsRemove duplicated FakeTaskManager0.17.0 (2020-10-19)Change IIBlib imports0.16.0 (2020-09-29)Made –bundle an optional argumentMade –binary-image an optional argument0.15.0 (2020-06-25)Replaced content-delivery-release-bot with tokenAdded support for providing “overwrite-from-index-token” when calling IIB0.14.0 (2020-05-27)Fixed multiple argument passing to use ‘append’ mode0.13.0 (2020-04-29)Added –skip-pulp attribute support0.12.0 (2020-03-30)added –overwrite-index-image param0.11.0 (2020-03-09)Fixed push items handling0.10.0 (2020-03-04)fixed wrong feed attributesync only needed tags0.9.0 (2020-03-04)succesful build dump to output0.8.0 (2020-03-04)fixed repo sync attributes0.7.0 (2020-03-04)added iib-insecure attributedump error build details on outputindex-image attribute optional0.6.0 (2020-03-04)iiblib 0.7.0 compat changes0.5.0 (2020-03-03)fixed invalid argument for IIBClient init0.4.0 (2020-02-27)added legacy registry support0.3.0 (2020-02-27)kerberos support0.2.0 (2020-02-27)Fixediiblib 0.3.0 compatiblity fixesAddedssl_verification option for IIBClient0.1.0 (2020-02-25)Initial release.
Package: pubtools-pulplib
A Python client forPulp 2.x, used byrelease-engineeringpublishing tools.SourceDocumentationPyPIInstallationInstall thepubtools-pulplibpackage from PyPI.pip install pubtools-pulplibUsage Examplefrompubtools.pulplibimportClient# Make a client pointing at this Pulp serverwithClient(url='https://pulp.example.com/',auth=('admin','some-password'))asclient:# Get a particular repo by ID.# All methods return Future instances; .result() blocksrepo=client.get_repository('zoo').result()# Pulp objects have relevant methods, e.g. publish().# Returned future may encapsulate one or more Pulp tasks.publish=repo.publish().result()DevelopmentPatches may be contributed via pull requests tohttps://github.com/release-engineering/pubtools-pulplib.All changes must pass the automated test suite, along with various static
checks.TheBlackcode style is enforced.
Enabling autoformatting via a pre-commit hook is recommended:pip install -r requirements-dev.txt
pre-commit installLicenseThis program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Package: pubweb
PubWeb ClientA Python 3.8+ library for the PubWeb platform.InstallationYou can install PubWeb using pip:pip install pubwebor by cloning the repository and running:python setup.py installSet UpRun a one-time configuration of your login credentials in the command line using:pubweb-cli configureThis will ask you to select an authentication method. If you are a member of Fred Hutch or the University of Washington, select the default method which will give you a link to use to log through the browser. If you are not a member of those institutions, select the non-institutional authentication method and enter your Data Portal username and password into the command line when prompted.Command Line UsageDownloading a dataset:Usage:pubweb-clidownload[OPTIONS]Downloaddatasetfiles

Options:--projectTEXTNameorIDoftheproject--datasetTEXTIDofthedataset--data-directoryTEXTDirectorytostorethefiles--interactiveGatherargumentsinteractively--helpShowthismessageandexit.Uploading a dataset:Usage:pubweb-cliupload[OPTIONS]Uploadandcreateadataset

Options:--nameTEXTNameofthedataset--descriptionTEXTDescriptionofthedataset(optional)--projectTEXTNameorIDoftheproject--processTEXTNameorIDoftheingestprocess--data-directoryTEXTDirectoryyouwishtoupload--interactiveGatherargumentsinteractively--use-third-party-toolUsethirdpartytoolforupload(Generatemanifestandone-timeuploadauthenticationtoken)--helpShowthismessageandexit.Listing datasets:Usage:pubweb-clilist-datasets[OPTIONS]Listavailabledatasets

Options:--projectTEXTIDoftheproject--interactiveGatherargumentsinteractively--helpShowthismessageandexit.Interactive CommandsWhen running a command, you can specify the--interactiveflag to gather the command arguments interactively.Example:$pubweb-cliupload--interactive
?Whatprojectisthisdatasetassociatedwith?Testproject
?Enterthefullpathofthedatadirectory/shared/biodata/test
?Pleaseconfirmthatyouwishtoupload20files(0.630GB)Yes
?Whattypeoffiles?IlluminaSequencingRun
?Whatisthenameofthisdataset?test?Enteradescriptionofthedataset(optional)?Howwouldyouliketouploadordownloadyourdata?PubWebCLIPython UsageSee the following set of Jupyter notebooks that contain examples on the following topics:Jupyter NotebookTopicIntroductionInstalling and authenticatingUploading a datasetUploading dataDownloading a datasetDownloading dataInteracting with a datasetCalling data and reading into tablesAnalyzing a datasetRunning analysis pipelinesUsing referencesManaging reference dataR UsageJupyter NotebookTopicDownloading a dataset in RReading data with RAdvanced UsageSupported environment variablesNameDescriptionDefaultPW_HOMELocal configuration directory~/.pubwebPW_BASE_URLBase URL of the data portaldata-portal.ioConfigurationThepubweb-cli configurecommand creates a file inPW_HOMEcalledconfig.ini.You can set thebase_urlproperty in the config file rather than using the environment variable.[General]base_url=data-portal.io
Package: puccini
PucciniParse and compileTOSCAtoClout.Part of thePucciniproject.This is a work in progress.InstallationAt this time only Linux x86_64 platforms are supported. We will update this page
as more platforms are added. In most cases this should work:pip install pucciniIf you are using Python 3.9 on most Linuxes then you will get our pre-built binaries
when installing.For other environments, Puccini will be built from source. Though Puccini is written
in Go, you do not need Go tooling installed, as it will be downloaded on-demand by
our installer. The only requirement is that your operating system have thecurlandtartools.UsageExample:import sys, puccini.tosca, ard

try:
    clout = puccini.tosca.compile('/path/to/my-tosca-service.csar') # can also be a URL
    ard.write(clout, sys.stdout)
except puccini.tosca.Problems as e:
    print('Problems:', file=sys.stderr)
    for problem in e.problems:
        ard.write(problem, sys.stderr)
Package: puchikarui
PuchikaruiA minimalist SQLite helper library for Python 3 which supports ORM features.Installationpuchikaruiis available onPyPIand can be installed usingpip.pipinstallpuchikarui# or with python -m pippython3-mpipinstallpuchikaruiSample codefrompuchikaruiimportDatabaseINIT_SCRIPT='''CREATE TABLE person (ID INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT,age INTEGER);'''classPeopleDB(Database):def__init__(self,*args,**kwargs):super().__init__(*args,**kwargs)self.add_script(INIT_SCRIPT)self.add_table('person',['ID','name','age'],id_cols=('ID',))db=PeopleDB('test.db')people=db.person.select()# create sample people records in the first runifnotpeople:print("Creating people records ...")forname,ageinzip('ABCDE',range(20,25)):db.person.insert(f'Person{name}',age)people=db.person.select()print("All people")print("----------------------")forpersoninpeople:print(person.ID,person.name,person.age)For more information please seepuchikarui documentation.Why puchikaruipuchikaruiis a tiny, 100% pure-Python library that provides extra functionality to Python 3'ssqlite3module.
It helps working directly withsqlite3easier, with less magic, and more control, rather than hiding sqlite3 module away from the users.Althoughpuchikaruidoes provide some ORM-like features, it isNOTan ORM library.
If you want ORM features, please considerPonyORM,SQLAlchemy, orpeewee.MeaningThe namepuchikaruicame from two Japanese wordsプチ(puchi) which means small, and軽い(karui), which means light, soft, and gentle.It represents the motivation for developing this library: a tiny, lightweight library that makes working withsqlite3simpler.$python3-mjamdictlookup"プチ"========================================Foundentries========================================Entry:1115200|Kj:|Kn:プチ
--------------------1.small((prefix))$python3-mjamdictlookup"軽い"========================================Foundentries========================================Entry:1252560|Kj:軽い|Kn:かるい,かろい
--------------------1.light(i.e.notheavy)/feelinglight(i.e.offeringlittleresistance,movingeasily)((adjective(keiyoushi)))2.light(i.e.offoot)/effortless/nimble/agile((adjective(keiyoushi)))3.non-serious/minor/unimportant/trivial((adjective(keiyoushi)))4.slight/small/gentle/soft/easy/lighthearted(e.g.joke)((adjective(keiyoushi)))5.easy/simple((adjective(keiyoushi)))6.indiscriminate((adjective(keiyoushi)))
Package: puckfetcher
A simple command-line podcatcher.GitHub Project: (https://github.com/lunemercove/puckfetcher)Supports Python 3.6+. Please report any issues on the GitHub project or reach out over email.You’ll need setuptools (https://pypi.python.org/pypi/setuptools) to run this in its currentstate. Go get it, clone this repo, and you can run the below commands. Should work on OSX andLinux, from the command line. You’ll want a default config file, name it config.yaml and look atexample_config.yaml to see how it should be structured.Directory for config file:OSX: /Users/[USERNAME]/Application Support/puckfetcher/config.yamlLinux: /home/[USERNAME]/.config/puckfetcher/config.yamlBuild + Install:python3 setup.py installTest:python3 setup.py testFeaturesDownload any podcast with an RSS URL.Download newest episodes on demand.Download any episode from a podcast’s backlog.Respects podcast authors’ websites - rate limits, checks when feed was last updated when trying
to refresh.Provides progress on downloads.Provides summary of recently-downloaded podcasts per-session, as well as summary of
recently-downloaded episodes per-podcast.Add MP3 tag support to clean up tags based on feed information if it’s messy.Ideas for Future ReleasesText-based progress for other time-consuming actions.Support PyPy (when it supports 3.6+).Allow parallel downloading.
Package: puckluck
AboutNOTE: This package is very much in development and the API will likely change rapidly. I am working through the boundaries of what this library will and will not support, but I intend to support this in 2023 and beyond.A python package to help harvest and build a database of advanced NHL stats from reputable sources. To my knowledge, there isn't a downloadable database likeLahman for baseballin the hockey analytics space. This repo aims to help provide tools to build such a database with an eye towardsSimplify the ETL/data ops task to build a data storeML tasks upstreamSimple webapp dashboards
Package: puc-lpgomes-csvconverter
File ConverterCSV to JSON and JSON to CSV converter.IntroductionStudying how to deploy a lib on PyPi at PUC using Poetry.What this project can doRead acsvorjsonfiles or afolderswith files and convert them toJSONorCSV.
This project is a program running on terminal, preferably install with pipx:pipxinstallpuc_lpgomes_csvconverterTo use, just type in:csv_converter--helpThis will list all available options.
Package: pud
PudPud is a mini command-line tool to navigate directories.InstallationPIP:pip install pudGIT (Dev Version):git clone https://github.com/Jedddy/pud.git

python setup.py installUsagepud [arguments]OptionsCurrently there are 2 options:cursor: The cursor you want to use.pud --cursor=">>>"no-keep-state: Whether not to keep the state of your cursor after entering/leaving a directorypud --no-keep-state
Package: pudb
Its goal is to provide all the niceties of modern GUI-based debuggers in a
more lightweight and keyboard-friendly package. PuDB allows you to debug code
right where you write and test it–in a terminal.Here are some screenshots:Light themeDark themeYou may watch screencasts too:Meet Pudb, a debugger for Python code (2020)PuDB Intro Screencast (2009)FeaturesSyntax-highlighted source, the stack, breakpoints and variables are all
visible at once and continuously updated. This helps you be more aware of
what’s going on in your program. Variable displays can be expanded, collapsed
and have various customization options.Pre-bundled themes, including dark themes via “Ctrl-P”. Could set a custom theme also.Simple, keyboard-based navigation using single keystrokes makes debugging
quick and easy. PuDB understands cursor-keys and Vi shortcuts for navigation.
Other keys are inspired by the corresponding pdb commands.Use search to find relevant source code, or use “m” to invoke the module
browser that shows loaded modules, lets you load new ones and reload existing
ones.Breakpoints can be set just by pointing at a source line and hitting “b” and
then edited visually in the breakpoints window.  Or hit “t” to run to the line
under the cursor.Drop to a Python shell in the current environment by pressing “!”.
Or open a command prompt alongside the source-code via “Ctrl-X”.PuDB places special emphasis on exception handling. A post-mortem mode makes
it easy to retrace a crashing program’s last steps.Ability to control the debugger from a separate terminal.IPython integration (seewiki)Should work with Python 3.6 and newer. (Versions 2019.2 and older continue
to support Python 2.7.)LinksPuDB documentationPuDB also has amailing listthat
you may use to submit patches and requests for help.  You can also send a pull
request to theGitHub repositoryDevelopment VersionYou may obtain the development version using theGitversion control tool.:git clone https://github.com/inducer/pudb.gitYou may alsobrowse the codeonline.
Package: puddl
PrerequisitesPython 3.9 (a virtual environment is recommended)PostgreSQLUsageEasily create PostgreSQL databases! The following example creates a database
calledfooand a role (also calledfoo). We then usepsqlto run a simple
select statement.url=$(puddl-db url foo)
psql $url -c 'SELECT 42 as answer'List databases and delete a database:puddl-db ls
puddl-db rm fooInstallationpip install --upgrade puddlIf you want to use extended packages likepuddl.exif, you may install extra
dependencies likepandas:pip install --upgrade puddl[full]Shell CompletionThe following installs completion for Bash. For other shells please refer tothe click documentation:mkdir -p ~/.bash/
_PUDDL_DB_COMPLETE=bash_source puddl-db > ~/.bash/puddl-db

cat <<'EOF' >> ~/.bashrc
[[ -f ~/.bash/puddl-db ]] && source ~/.bash/puddl-db
EOF

exec $SHELLConfigurationPrepare your environment and let puddl write a config file to~/.puddlrc.
You will need a PostgreSQL connection that provides super user privileges for
puddl to work in.set -o allexport  # makes bash export all variables that get declared
PGHOST=127.0.0.1
PGPORT=5432
PGDATABASE=puddl
PGUSER=puddl
PGPASSWORD=puddl-pw
set +o allexport  # back to default behaviour

puddl-config init

# check database connection
puddl-db health

# initialized the `puddl` database with sql functions like `puddl_upsert_role`
puddl-db initDevelopment Setupinstall -d ~/hacks
cd ~/hacks

git clone https://gitlab.com/puddl/puddl.git
cd puddl/
pip install -e .[full,dev]Run code style checks before committingln -s $(readlink -m env/dev/git-hooks/pre-commit) .git/hooks/pre-commitLower the log level to INFO to see what's happening.export LOGLEVEL=infoInitialize the database. The commandpuddl-config initwill consume the.envfile if present in the current working directory.cd ~/hacks/puddl/

# generate environment variables suitable for development
./env/dev/generate_env_file.sh > .env

# write initdb script and start postgres
./env/dev/create_database.sh

# based on the environment, write ~/.puddlrc
puddl-config init

# make sure initialization was successful
puddl-db health

# apply library sql functions as "puddl" user in "public" schema
puddl-db initBasic development workflow:# hack, hack
makeGotpsqlinstalled?source <(puddl-db env)
psql -c '\df'Try it:cd puddl/felix/exif/
cat README.md

puddl-db shell exifUsing Puddl Databases in Pythonfrom puddl.pg import DB
db = DB('foo')
db.engineRsync Servicecat ~/.ssh/id_*.pub > $PUDDL_HOME/rsync_authorized_keys
ln -s env/dev/docker-compose.override.yml
docker-compose build && docker-compose up -d
Package: puddletag
puddletagpuddletag is an audio tag editor (primarily created) for GNU/Linux similar to the Windows program, Mp3tag. Unlike most taggers for GNU/Linux, it uses a spreadsheet-like layout so that all the tags you want to edit by hand are visible and easily editable.The usual tag editor features are supported like extracting tag information from filenames, renaming files based on their tags by using patterns and basic tag editing.Then there’reFunctions, which can do things like replace text, trim it, do case conversions, etc.Actionscan automate repetitive tasks. Doing web lookups using Amazon (including cover art), Discogs (does cover art too!), FreeDB and MusicBrainz is also supported. There’s quite a bit more, but I’ve reached my comma quota.Supported formats: ID3v1, ID3v2 (mp3), MP4 (mp4, m4a, etc.), VorbisComments (ogg, flac), Musepack (mpc), Monkey’s Audio (.ape) and WavPack (wv).Dependenciespuddletag uses several third-party modules to performs its tasks:Python3PyQt5, for the GUI.configobjpyparsing, takes care of the parsingMutagen, used as the tagging libChromaprint(recommended), for AcoustID supportInstallationHere below is a list of the distributions and platforms where puddletag is available, and how to install it:Debianapt install puddletagContact: @sandrotosiGentoooverlay:https://github.com/istitov/stuff/add overlay:sudo layman -a stuffinstall:sudo emerge -av puddletagContact: @DolphinStKomArch Linuxpuddletag is currently part of theAUR:git clone https://aur.archlinux.org/puddletag.git
cd puddletag
makepkg -siFedoraAvailable since Fedora 32.dnf install puddletagBrew/MacOSsupport needed, open an issue if interested in working on itSource codeFirst, you need to install the dependencies; this step is different depending on the distribution; on Debian you can run:apt install python3 python3-mutagen python3-configobj python3-pyparsing python3-pyqt5 python3-pyqt5.qtsvgThen:git clone https://github.com/puddletag/puddletag
cd puddletag
./puddletagAlternatively you can use avirtual environment, which only requires python and pip to be installed:gitclone'https://github.com/puddletag/puddletag.git'cd'puddletag'python3-m'venv''.'bin/pip3install-r'requirements.txt'bin/python3'puddletag'Licensepuddletagis licensed under the GPLv3, which you can find in its entirety athttp://www.gnu.org/licenses/gpl-3.0.html
Package: pudl
pudlis a python package (with an included CLI) that wraps python-ldap and provides a somewhat-oo interface to Active Directory user, group and computer objects, retreived via LDAP with TLS. While not necessarily a replacement for existing client libraries and the ldapsearch binary, the api and bundled cli are perhaps simpler to work with than alternatives, for many
common queries.DocumentationFor the full API reference and CLI usage with examples, please see the [full project documentation](http://pudl.readthedocs.org/en/latest/).PrerequisitesTo get up and running, the following must be installed:python 2.7.xpython-devlibsasl2-devlibldap2-devlibyaml-devInstallation### The Easy Way`bash pip install pudl `### Manual Installation
+ Create a virtual environment and activate
+ Clone this git repository
+ pip install .Optionally for sphinx document generation, pip install the followingsphinxpygmentssphinx_rtd_themesphinx-argparsemockOptionally, it may be desirable to set a few envrionment variables, e.g.:PUDL_BASE_DN- This is an important one to set, such as ‘OU=Departments,DC=example,DC=com’.PUDL_DOMAIN- Also a key setting, the AD domain is prepended to the user name for authentication.PUDL_PAGE_SIZE- Adjusting the page size may result in faster queries, defaults to 300 results per page.PUDL_TLS_NO_VERIFY- Provides an encrypted communication channel with TLS, but does not verify the server’s identity.  Use with caution.Example CLI UsageRetrieve JSON representations of two users`bash pudl user bhodges jdupont `Retrieve three groups, serialized to yaml`bash pudl group HR Finance Technology--output-format=yaml`LicenseApache License, version 2.0.  Please see LICENSE
Package: pudo
Pudo PackageThis is an Python Package for running Linux commands with root permission.
We can see this as an alternative to Linux sudo command without password prompt.
This is very handy when you are writing python automation scripts and need to deal with root privileges.
You can use this as an python module or an Linux command.Before using the pudo, please accept the Disclaimer:user$ sudo /usr/local/bin/pudo --accept-disclamer
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

	#1) Respect the privacy of others.
	#2) Think before you type.
	#3) With great power comes great responsibility.

PLEASE NOTE:
	Pudo Developers are not responsible for any misuse of Root Privileges

Thank You for Accepting the Disclaimer:
    It is great quality of you to respect other's privacyBelow is the code snippet for using in python automation for running commands under root privilege:user$ python3 # or python2
>>> from pudo import pudo
>>> (ret, out) = pudo.run(('ls', '/root')) # or pudo.run('ls /root')
>>> print(ret)
0
>>> print(out)
b'Desktop\nDownloads\nPictures\nMusic\n'Below is the cmd example for running commands under root privilege:user$ pudo ls /root
Desktop  Downloads  Pictures  Music