Saravanan666/pypi-org huggingface dataset:
Package: podiant-notifications
Podiant notificationsA set of models, views and templates for creating and managing user notificationsQuickstartInstall Notifications:pipinstallpodiant-notificationsAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'notifications',...)Add Notifications' URL patterns:fromnotificationsimporturlsasnotifications_urlsurlpatterns=[...url(r'^',include(notifications_urls)),...]Running testsDoes the code actually work?coverage run --source notifications runtests.pyCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackage
Package: podiant-oembed
Podiant oEmbedA simple, flexible oEmbed provider and consumerQuickstartInstall oEmbed:pipinstallpodiant-oembedAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'oembed',...)Running testsTo test the app with Django:pip install Django
coverage run --source oembed test_django.pyTo test the app with Flask:pip install Flask
coverage run --source oembed test_flask.pyCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackage
Package: podiant-pubsub
Podiant PubSubA simpler, more flexible form of Django signalsQuickstartInstall PubSub:pipinstallpodiant-pubsubAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'pubsub',...)Running testsDoes the code actually work?coverage run --source pubsub runtests.pyCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackage
Package: podiant-template-mail
Podiant template mailA helper library for asynchronously sending HTML emails written in MarkdownQuickstartInstall Template Mail:pipinstallpodiant-template-mailAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'template_mail',...)Add Template Mail's URL patterns:fromtemplate_mailimporturlsastemplate_mail_urlsurlpatterns=[...url(r'^',include(template_mail_urls)),...]Running testsDoes the code actually work?coverage run --source template_mail runtests.pyCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackage
Package: podiant-tours
Podiant toursA simple model to keep track of Bootstrap Tours delivered to new usersQuickstartInstall Tours:pipinstallpodiant-toursAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'tours',...)Add Tours' URL patterns:fromtoursimporturlsastours_urlsurlpatterns=[...url(r'^',include(tours_urls)),...]Running testsDoes the code actually work?coverage run --source tours runtests.pyCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackage
Package: podiant-webhooks
Podiant webhooksA super-simple, arbitrary webhook clientQuickstartInstall Webhooks:pipinstallpodiant-webhooksAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'webhooks',...)Running testsDoes the code actually work?coverage run --source webhooks runtests.pyCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackage
Package: podiff2
podiff.pycompare two .po/gettext files for differencesThis program can be used to see added, deleted, changed, header messages.
It also has an option to display statistics, to show only the number of differences.How to use:podiff.py first.po second.po -sIt only displays statisticspodiff.py first.po second.po -aIt only displays added messagespodiff.py first.po second.po -dIt only displays deleted messagespodiff.py first.po second.po -adgsDisplays these messages added, deleted, changed, and statisticsEnter the commandpodiff.py -hto see all optionsThis app is based onhttps://github.com/amandasaurus/podiff
Package: podigeeconnector
Podigee ConnectorThis is a simple library for connecting to the Podigee API.It can be used to export data from your dashboard athttps://app.podigee.com/analyticsSupported Endpoints/podcasts/{podcast_id}/analytics/podcasts/{podcast_id}/analytics/episodes/episodes/{episode_id}/analyticsSee__main.py__for all endpoints.CredentialsBefore you can use the library, you must extract your Podigee session cookie;
they arenotexposed through your Podigee settings.Alternatively, you can call the login endpoint with your username and password
to get a new session cookie:frompodigeeconnectorimportPodigeeConnectorconnector=PodigeeConnector.from_credentials(base_url=BASE_URL,podcast_id=PODCAST_ID,username=USERNAME,password=PASSWORD,)Installationpip install podigeeconnectorUsage as a libraryfrompodigeeconnectorimportPodigeeConnectorconnector=PodigeeConnector(base_url=BASE_URL,podcast_id=PODCAST_ID,podigee_session_v5=PODIGEE_SESSION_V5,)end=datetime.now()start=end-timedelta(days=30)podcast_analytics=connector.podcast_analytics(start,end)logger.info("Podcast Analytics ={}",json.dumps(podcast_analytics,indent=4))See__main.py__for all endpoints.DevelopmentWe usePipenvfor virtualenv and dev dependency management. With Pipenv
installed:Install your locally checked out code indevelopment mode, including its
dependencies, and all dev dependencies into a virtual environment:pipenvsync--devCreate an environment file and fill in the required values:cp.env.sample.envRun the script in the virtual environment, which willautomatically load
your.env:pipenvrunpodigeeconnectorTo add a new dependency for use during the development of this library:pipenvinstall--dev$packageTo add a new dependency necessary for the correct operation of this library, add
the package to theinstall_requiressection of./setup.py, then:pipenvinstallTo publish the package:pythonsetup.pysdistbdist_wheel
twineuploaddist/*ormakepublish
Package: podio-python
podio-pythonpodio-pythonis an API wrapper for Podio, written in Python.This library uses Oauth2 for authentication.Installingpip install podio-pythonUsage# if you have an access token:frompodio.clientimportClientclient=Client(access_token=access_token)# if you are using Oauth2 to get an access_token:frompodio.clientimportClientclient=Client(client_id=client_id,client_secret=client_secret,redirect_uri=redirect_uri)To obtain and set an access token:Get authorization URLurl=client.authorization_url(state=None)Get access token using coderesponse=client.get_access_token(code)Set access tokenclient.set_token(access_token)Check more information about Podio Oauth:https://developers.podio.com/authentication/server_sideRefresh tokenIf your access token expired you can use your refresh token to obtain a new one:token=client.refresh_token(refresh_token)# And then set your token again:client.set_token(token["access_token"])Get user statususer=client.get_user_status()OrganizationsList organizationsorgs=client.list_organizations()List organization spacesspaces=client.get_organization_spaces(org_id)Get spacespaces=client.get_space(space_id)List space membersmembers=client.get_space_members(space_id)ApplicationsList applicationsapps=client.list_applications()Get applicationapp=client.get_application(app_id)Get itemitem=client.get_item(item_id)Create itembody={"fields":{"title":"Juan Assignment","status":1}}item=client.create_item(app_id,body)Get tasktask=client.get_task(task_id)Create taskbody={"text":"Text of the task","description":"desc"}task=client.create_task(body)Get task labelslabels=client.get_task_labels()WebhooksList webhookshooks=client.list_webhooks(ref_type,ref_id)Create webhookhook=client.create_webhook(ref_type,ref_id,url,hook_type)Validate hook verificationclient.validate_hook_verification(webhook_id,code)Delete webhookclient.delete_webhook(webhook_id)
Package: podload
IntroductionPodloadis a radically simple Python tool to manage podcasts with no fuzz.
It includes the following features:Addnew podcasts via their URLAutomaticallydownloadthe latest episodesAutomaticallycleanup old episodesDefining theretentiontime for each podcastPutting podcasts intosubdirectories, even nested onesI'm using this tool to always have the latest podcasts on myAftershokz Xtrainers.InstallationInstall the package via PyPi:pip3 install podloadInstall the package from source:pip3 install podload@git+https://git.confirm.ch/confirm/podload.gitUsageThe usage ofpodloadis quite simple:usage: podload [-h] [-d] [-b BASEDIR] {info,clean,add,download,update,set-retention} ...

The simple podcast loader.

positional arguments:
  {info,clean,add,download,update,set-retention}
    info                                display the podcast infos
    clean                               clean old episodes
    add                                 add a new podcast
    download                            download the latest episodes
    update                              shortcut for download, followed by clean
    set-retention                       set a new retention

options:
  -h, --help                            show this help message and exit
  -d, --debug                           enable debug mode
  -b BASEDIR, --basedir BASEDIR         base directoryFor example, to add the "Wired UK" Podcast to/Volumes/XTRAINERZyou can run this:podload/Volumes/XTRAINERZaddhttps://www.wired.co.uk/rss/podcast/wired-podcastThe podcast is added to a sub directory, together with a metadata file which holds all the
important bits for the podload manager.From now on you candownload the latest episodesby executing:podload/Volumes/XTRAINERZdownloadToclean up old episodes, run this:podload/Volumes/XTRAINERZcleanTodownload and clean up, run this:podload/Volumes/XTRAINERZupdateTo display all the infos run this:podload /Volumes/XTRAINERZ info

The WIRED Podcast (14 days retention):
    2021-08-20 14:15 - Afghans are racing to erase their online lives
    2021-08-27 11:00 - Is your name ruining your life?
    2021-08-26 09:00 - Introducing Food PeopleBy default aretention time of 7 daysis used.
However, you can set another podcast default whenadding the podcast by using the-rargument, or by callingset-retentionafterwards. You can also override the retention temporarily whencleaning ordownloading podcasts by using the-rargument.# Permanent:podload/Volumes/XTRAINERZadd-r14https://www.wired.co.uk/rss/podcast/wired-podcast
podload/Volumes/XTRAINERZset-retention"The WIRED Podcast"14# Temporarily:podload/Volumes/XTRAINERZclean-r14podload/Volumes/XTRAINERZdownload-r14
Package: podlocalsync
Pod Local SyncThis utility allows you to manage a podcast RSS feed locally and spin up a small
server to sync it with podcast applications like macOS' Podcast.app.I wrote this since in macOS Catalina (10.15), it is no longer possible to
manually add local files to the app.How toPython 3.8 is required.pipinstallpodlocalsyncpodlocalsyncworks in the current directory and will automatically pick up
files.To start, you need an image for the feed in the current directory:$podlocalsyncinitFeed title: My FeedUsing image myimage.png.This will createfeed.toml, which stores the information about the feed.Next, you can add episodes.podlocalsyncwill look for*.m4aand.mp3files. The publication date is also filled in from the file time.$podlocalsyncaddEpisode audio: [episode-1.m4a]:[0] episode-1.m4a[1] episode-2.mp3[2] episode-3.m4a>Episode title: My Episode about CatsEpisode publication date: [Fri, 31 Jul 2020 06:26:31 +0000]If you've added an episode, it will be excluded from the nextadd.Finally, you can serve the feed locally. This will create or overwritefeed.rssand spin up a server:$podlocalsyncservehttp://localhost:8000/feed.rss^CKeyboard interrupt received, exiting.You can subscribe to this URL in a podcasting application, although the server
isn't intended to be run for a long time, and certainlydon't expose it to the
internet.If you want to subscribe from e.g. an iPhone, use your computer's IP address
as the hostname (and make sure the firewall allows connections):$podlocalsyncserve--host192.168.1.136http://192.168.1.136:8000/feed.rssLicenseThis program is licensed under the GNU General Public License 3.0. For more information, seeLICENSE.
Package: podloot
PodlootPodloot is a podcast downloader and manager using RSS feeds. It provides a command-line interface for downloading and managing podcast episodes from RSS feeds.FeaturesDownload episodes from a single RSS feed or a file containing multiple feeds.Get information about a specific podcast episode.Get the artwork URL for a podcast.Check for duplicate episodes in a podcast.InstallationYou can install Podloot using pip:pipinstallgit+https://github.com/gusanmaz/podloot.gitUsageDownload episodes from a file with multiple RSS feedspodloot download <feed_file> <destination>Download episodes from a single RSS feedpodloot download_single <feed_url> <destination>Get information about a specific podcast episodepodloot info <podcast_dir> <audio_file>Get the artwork URL for a podcastpodloot artwork <podcast_dir>Check for duplicate episodes in a podcastpodloot duplicates <podcast_dir>ContributingPull requests and bug reports are welcome. For major changes, please open an issue first to discuss what you would like to change.LicenseMIT LicenseAs for improvements to features and code, here are a few suggestions: 1. Add functionality to download only the latest episode or a specific number of latest episodes. 2. Allow users to limit the download of episodes based on a date range or the age of the episodes. 3. Implement automatic episode cleanup based on user-defined criteria, such as age or total storage space used. 4. Add support for downloading episodes in parallel to speed up the download process. 5. Implement a more interactive CLI using a library like `click` to provide a more user-friendly experience. Remember to thoroughly test any new features or code changes before committing them to the repository.
Package: podlozhnyy-module
podlozhnyy-moduleA set of tools to simplify data analysis in particular:risk analyticstime series constructionclassical machine learningGetting startedEasy installation viapip$ pip install podlozhnyy-moduleFor developersIf you would like to contribute to the project yo can do the followingCreate a new virtual environment and activate it (for Windows use:my_env\Scripts\activateinstead of the last command)$ python -m venv my_env
$ source my_env/bin/activateCopy the repo$ git clone https://github.com/NPodlozhniy/podlozhnyy-module.gitInstall requirement dependecies for developers$ pip install -r requirements_dev.txtMake changes and then release version to PyPI (use--repository-urlargument to upload code to test PyPI version)$ python setup.py sdist bdist_wheel
$ twine upload --repository-url https://test.pypi.org/legacy/ dist/*To test the package create another virtual environment and then install library from PyPI using the following command$ pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple podlozhnyy-module
Package: podmaker
PodmakerConvert online media into podcast feeds.FeaturesExtract audio from online videos.No need to deploy web services.Generate podcast feeds.Deploy with watch mode to keep feeds up-to-date.DependenciesThis tool usesffmpegto extract audio from videos. Ensure it's installed within$PATHbefore using this tool.Additionally, you should install extra dependencies according to your requirements:podmaker[all]: Install all extra dependencies.podmaker[s3]: Install dependencies for S3 storage.podmaker[youtube]: Install dependencies for YouTube.Install multiple extra dependencies simultaneously usingpodmaker[extra1,extra2,...].ConfigurationBefore diving into this tool, craft a configuration file, a TOML file to be precise.
By default, the file resides at${WORK_DIR}/config.toml. Customize the path using the-cor--configoption.
An example configuration file can be found atconfig.example.toml.UsageSystemdDeploy this tool in the background with systemd (requires root privileges):# create virtual environmentaptinstallpython3python3-venv
mkdir-p/opt/podmaker&&cd/opt/podmaker
python3-mvenvvenv# install podmaker./venv/bin/pipinstall"podmaker[all]"# create and edit config filecurl-oconfig.tomlhttps://raw.githubusercontent.com/YogiLiu/podmaker/main/config.example.toml
vimconfig.toml# create systemd servicecurl-o/etc/systemd/system/podmaker.servicehttps://raw.githubusercontent.com/YogiLiu/podmaker/main/systemd/podmaker.service
systemctldaemon-reload# enable and start servicesystemctlenablepodmaker
systemctlstartpodmakerManualUsing pipFor the optimal experience, we recommend installing this tool within a virtual environment.pipinstall"podmaker[all]"Usingpipxpipxinstall"podmaker[all]"Runpodmaker-cpath/to/config.tomlorpython-mpodmaker-cpath/to/config.tomlRoadmapPlatformsYouTubePlaylistChannelBiliBiliResource HostingS3LocalContributingYour contributions are invaluable. Feel free to submit pull requests.
Before committing, ensure your changes pass unit tests andautohooks.To activateautohooks, use the following command:poetryrunautohooksactivate--modepoetryThis process will automatically lint, format, and sort code imports.When introducing new features, remember to provide corresponding tests.LicenseFor licensing details, refer toLICENSE.
Package: podman
podman-pyThis python package is a library of bindings to use the RESTful API ofPodman.
It is currently under development and contributors are welcome!DependenciesFor runtime dependencies, seerequirements.txt.For testing and development dependencies, seetest-requirements.txt.Example usage"""Demonstrate PodmanClient."""importjsonfrompodmanimportPodmanClient# Provide a URI path for the libpod service.  In libpod, the URI can be a unix# domain socket(UDS) or TCP.  The TCP connection has not been implemented in this# package yet.uri="unix:///run/user/1000/podman/podman.sock"withPodmanClient(base_url=uri)asclient:version=client.version()print("Release: ",version["Version"])print("Compatible API: ",version["ApiVersion"])print("Podman API: ",version["Components"][0]["Details"]["APIVersion"],"\n")# get all imagesforimageinclient.images.list():print(image,image.id,"\n")# find all containersforcontainerinclient.containers.list():first_name=container['Names'][0]container=client.containers.get(first_name)print(container,container.id,"\n")# available fieldsprint(sorted(container.attrs.keys()))print(json.dumps(client.df(),indent=4))ContributingSeeCONTRIBUTING.md
Package: podmanclispawner
podmanclispawnerJupyterHub Podman Spawner.This is a fork ofhttps://github.com/gatoniel/podmanspawnerwithout the dependencies on local system users.OverviewThis is a simplified version ofhttps://github.com/gatoniel/podmanspawnerthat runs Podman containers using thepodmanexecutable, but without tying the container to the local users.For example, this means it can be used as a JupyterHub spawner for BinderHub, without the need for a daemon or privileged container engine.Technicalsubprocess.Popenis used to make calls to Podman.
See also thisissueon
dockerspawner.InstallationVia pip:pip install git+https://github.com/manics/podmanclispawnerJupyterHub configurationc.JupyterHub.spawner_class='podmancli'
Package: podman-compose
Podman ComposeAn implementation ofCompose SpecwithPodmanbackend.
This project focuses on:rootlessdaemon-less process model, we directly execute podman, no running daemon.This project only depends on:podmanpodman dnsname plugin: It is usually found in thepodman-pluginsorpodman-dnsnamedistro packages, those packages are not pulled by default and you need to install them. This allows containers to be able to resolve each other if they are on the same CNI network.Python3PyYAMLpython-dotenvAnd it's formed as a single Python file script that you can drop into your PATH and run.References:spec.mddocker-compose compose-file-v3docker-compose compose-file-v2AlternativesAs inthis articleyou can setup apodman.socketand use unmodifieddocker-composethat talks to that socket but in this case you lose the process-model (ex.docker-compose buildwill send a possibly large context tarball to the daemon)For production-like single-machine containerized environment considerk3s|k3s githubMiniKubeFor the real thing (multi-node clusters) check any production
OpenShift/Kubernetes distribution likeOKD.VersionsIf you have legacy version ofpodman(before 3.1.0) you might need to stick with legacypodman-compose0.1.xbranch.
The legacy branch 0.1.x uses mappings and workarounds to compensate for rootless limitations.Modern podman versions (>=3.4) do not have those limitations, and thus you can use latest and stable 1.x branch.If you are upgrading frompodman-composeversion0.1.xthen we no longer have global option-tto set mapping type
likehostnet. If you desire that behavior, pass it the standard way likenetwork_mode: hostin the YAML.InstallationInstall the latest stable version from PyPI:pip3 install podman-composepass--userto install inside regular user home without being root.Or latest development version from GitHub:pip3 install https://github.com/containers/podman-compose/archive/devel.tar.gzor install from Fedora (starting from f31) repositories:sudo dnf install podman-composeBasic UsageWe have included fully functional sample stacks insideexamples/directory.
You can get more examples fromawesome-compose.A quick example would becd examples/busybox
podman-compose --help
podman-compose up --help
podman-compose upA more rich example can be found inexamples/awx3which haveA Postgres DatabaseRabbitMQ serverMemCached servera django web servera django tasksWhen testing theAWX3example, if you got errors, just wait for db migrations to end.
There is also AWX 17.1.0TestsInsidetests/directory we have many useless docker-compose stacks
that are meant to test as many cases as we can to make sure we are compatibleUnit tests with pytestrun a pytest with following commandpython-mpytestpytestsContributing guideIf you are a user or a developer and want to contribute please check theCONTRIBUTINGsection
Package: podman-py
podman-pyThis python package is a library of bindings to use the RESTful API ofPodman.
It is currently under development and contributors are welcome!DependenciesFor runtime dependencies, seerequirements.txt.For testing and development dependencies, seetest-requirements.txt.Example usage"""Demonstrate PodmanClient."""importjsonfrompodmanimportPodmanClient# Provide a URI path for the libpod service.  In libpod, the URI can be a unix# domain socket(UDS) or TCP.  The TCP connection has not been implemented in this# package yet.uri="unix:///run/user/1000/podman/podman.sock"withPodmanClient(base_url=uri)asclient:version=client.version()print("Release: ",version["Version"])print("Compatible API: ",version["ApiVersion"])print("Podman API: ",version["Components"][0]["Details"]["APIVersion"],"\n")# get all imagesforimageinclient.images.list():print(image,image.id,"\n")# find all containersforcontainerinclient.containers.list():first_name=container['Names'][0]container=client.containers.get(first_name)print(container,container.id,"\n")# available fieldsprint(sorted(container.attrs.keys()))print(json.dumps(client.df(),indent=4))ContributingSeeCONTRIBUTING.md
Package: podmena
podmenaEnhance your commit messages with emoji 🍒podmena will automatically add random emoji to every commit message for any
git repository installed for.868items in database so far!Credits go toWebFXfor list of emoji!Installation$pipinstallpodmenaActivate for current git repository$podmenaaddlocalYou can also replaceaddwith a different aliasactivate/enable/install/one.g.podmena enable localActivate globally for all repositories (works with git2.9.1and above)$git--version
$podmenaaddglobal# Aliases work here as wellDeactivate it$podmenarmlocal$podmenarmglobalYou can replacermwith any of these available aliasesremove/delete/deactivate/disable/off/uninstalle.g.podmena deactivate localCheck current status if you not sure$podmenastatusAnd finallypodmena --versionandpodmena --helpin case you need more
details.NOTE:uninstalling globally will not remove hooks from repositories where
it was installed locally. You need to switch to that directory manually and uninstall it locally as well.PreviewSeePREVIEW.mdfor the full list of icons in the database and to check how GitHub renders them.ContributeSeeDEVELOP.mdto setup your local development environment and feel free to create a pull request with a new feature.ReleasesSeeCHANGELOG.mdfor the new features included within each release.See alsoGitHooksAtlassian tutorial for git hooksThanks@kakovskyiworking for Atlassian!It's a wrong place to search if you are looking for 🍋 lemonparty.fun 🍋 clubSay thanks!🐶D7DA74qzZUyh9cctCxWovPTEovUSjGzL2Sthis isDogecoinwallet to support the project.