Saravanan666/pypi-org huggingface dataset:
Package: publicaddr
What is this?Simple python module for getting yourpublic IP V4 and V6from several providers inrandommode with also several protocols (DNS, HTTPS and STUN).Supported providers with IPv4 and IPv6:Google (DNS & HTTP & STUN)Cloudflare (DNS & HTTP)OpenDNS (DNS)Akamai (DNS & HTTP)Ipify(HTTP)Icanhazip (HTTP)Matrix(STUN)Framasoft(STUN)Ifconfig.me(HTTP)InstallationThis module can be installed frompypiwebsitepipinstallpublicaddrLookup for IPv4 and v6Lookup for your public IPs from random providers with DNS or HTTP protocols with 3 retries if no ips are returned.
This is the default behaviour of thelookupfunction.importpublicaddrpublicaddr.lookup(){'ip4':'x.x.x.x','ip6':'x:x:x:x:x:x:x:x','provider':'opendns','proto':'dns','duration':'0.037'}Lookup for public IP with specific protocolLookup for your public IPs from random DNS providers with specific protocol.importpublicaddrpublicaddr.lookup(providers=publicaddr.DNS,retries=2){'ip4':'x.x.x.x','ip6':'x:x:x:x:x:x:x:x','provider':'opendns','proto':'dns','duration':'0.037'}Default constants for transport protocol:publicaddr.HTTPSpublicaddr.DNSpublicaddr.STUNGet IPv4 or IPv6 onlyGet your public IPv4 with default provider (Google with DNS protocol).importpublicaddrpublicaddr.get(ip=publicaddr.IPv4){'ip':'x.x.x.x','duration':'0.025'}Default constants for IP version:publicaddr.IPv4publicaddr.IPv6Get IP with specific providerExample to use the provider Cloudflare instead of the default one.importpublicaddrmyip=publicaddr.get(provider=publicaddr.CLOUDFLARE,proto=publicaddr.DNS){'ip':'x:x:x:x:x:x:x:x','duration':'0.020'}Default constants for providers:publicaddr.CLOUDFLAREpublicaddr.GOOGLEpublicaddr.OPENDNSpublicaddr.AKAMAIpublicaddr.IPIFYpublicaddr.ICANHAZIPpublicaddr.MATRIXpublicaddr.FRAMASOFTpublicaddr.MULLVAD(disabled by default in config because IPv6 is not supported)publicaddr.IFCONFIG_MECustom configurationSee the defaultconfiguration fileFor developpersRun from sourcesudoaptinstallpython3-venv
python3-mvenvvenvsourcevenv/bin/activatepython3-mpipinstall-rrequirements.txt
python3example.pyRun test unitspython3-munittestdiscovertests/
Package: publicador
PublicadorFile publisher to several cloud platformsPypi Package linkSupportGoogledriveDropboxDepsIn order to use you need to:Enable google drive api in you accountCreate an dropbox app and get tokenInstallpip install publicadorUsagePublish input.docx on Googledrive and Dropboxfrom publicador import Publicador
from publicador import GoogleDrive
from publicador import DropboxApi

credentials = 'path/to/credentials.json'
drivepath = '/example-dir'

context = Publicador('./input.docx', GoogleDrive(credentials, drivepath))
context.publicar()

# token = 'app_token_from_dropbox'
# dropxboxpath= '/example-dir'
# context.strategy = DropboxApi(token, dropboxpath)
# context.publicar()
Package: publicdata-census
This library defines a set ofApplication UrlsandRow Generatorsthat allow access to public
datasets. For instance, using the Census Reporter URLs, you can define access
to a American Community Survey data table on the Census Reporter website. Then,
using the associated Row Generator, you can download the data as a sequences of
rows.For instance, this code will return rows from ACS table B17001 for tracts in San Diego Countyfrompublicdataimportparse_app_urlurl=parse_app_url("census://CA/140/B17001")# Or: url = CensusReporterUrl(table='B17001',summarylevel='140',geoid='CA')forrowinurl.generator:print(row)The library uses the appurl and rowgenerator python entrypoints, so all
libraries that you install that use the entrypoints can be accessed via theparse_app_urlandget_generatorfunctions.NoteThis project has been set up using PyScaffold 3.2.3. For details and usage
information on PyScaffold seehttps://pyscaffold.org/.
Package: public-domains
public_domainspublic_domainssearches through a text (such as a novel likeMoby Dick) and looks for possible host names to use. For more context about why such a thing was created see:https://parkerhiggins.net/2022/11/public-sub-domainsInstall$ pip3 install public_domainsUseGet a text, e.g. fromProject Gutenberg:wget https://www.gutenberg.org/files/2701/2701-0.txtRun:$public_domains2701-0.txt

tattooing.burned.like
fishermen.technically.call
violent.scraping.contact
irregular.between.here
verbally.developed.here
mizzen.rigging.like
eepeningly.contracted.like
tropic.whaling.life
trailing.behind.like
certain.fragmentary.parts
redundant.yellow.hair
personality.stands.here
wicked.miserable.world
...Or if you prefer to do a "feeling lucky" search of gutenberg.org you can enter a title:$public_domains"Treasure Island"famous.buccaneer.here
maroon.wriggling.like
keeping.better.watch
little.mountain.stream
admiral.benbow.black
breathing.loudly.like
breath.hanging.like
shirts.thrown.open
promontory.without.fail
feverish.unhealthy.spot
something.almost.like
following.important.news
lookout.shouted.land
spirits.eating.like
resumed.silver.here
stranded.beyond.help
trebly.worthless.life
including.checks.online
canvas.cracking.like
almost.entirely.exposed
flowers.ablowing.like
counting.hawkins.here
little.stranger.here
foliage.compact.like
strange.collection.like
seamen.aboard.here
creature.flitted.like
nighhand.fainting.doctor
crying.johnny.black
enough.little.placeIf you'd likepublic_domainsto check if the domain is available use the the--checkoption:
Package: publicholiday
python-publicholidayA cli utility to help run things or not run things based on if it is a public
holiday. The command exits 0 if today is a public holiday and exits 1 if not.Installation:pip install publicholidayExamples usage:$ publicholiday --help
Usage: publicholiday [OPTIONS]

  Is it a public holiday?

Options:
  -c, --country TEXT  Supported country name or code.
  --help              Show this message and exit.

# Run a script on a public holiday
$ publicholiday && /thing/to/run.sh

# Run a script on all days that are not public holidays
$ publicholiday || /thing/to/run.shBy defaultpublicholidaywill check against UK public holidays. You can change
this by passing a supported country:# Run a script on a Argentinian public holiday
$ publicholiday -c Argentina && /thing/to/run.sh

# Run a script on all days that are not US public holidays
$ publicholiday -c US || /thing/to/run.shThis utility uses theholidayspip package, to find out if your country is
supported see:https://pypi.org/project/holidays/
Package: publicip
Public IPGet your public IP addressDemoDemo onRepl.itScreenshotInstall$ pip install publicipUsageimportpublicippublicip.get()#=> 157.51.77.248Get HelpThere are few ways to get help:Pleasepost questions on Stack Overflow. You can open issues with questions, as long you add a link to your Stack Overflow question.For bug reports and feature requests, open issues.For direct and quick help, you canemail me.How to contributeHave an idea? Found a bug? Seehow to contribute.Thanks!LicenseMIT
Package: public-ip
A Python function to get your public IP address.Installationpipinstallpublic-ipUsage exampleimportpublic_ipasipip.get()Sample output:212.51.139.31How it worksThe function queries in parallel six different websites...https://api.ipify.orghttps://checkip.amazonaws.comhttps://icanhazip.comhttps://ifconfig.co/iphttps://ipecho.net/plainhttps://ipinfo.io/ip... and returns the most common IP among the responses. In this manner (a) we don't depend on a single external service and (b) we can determine the IP correctly as long as amajorityof these sites return the right value.
Package: publickey
# 機能概要* YAMLに設定したユーザーの公開鍵をGithubからダウンロード* YAMLに設定したホストにauthrized_keysファイルを配置* YAMLの設定から~/.ssh/config 用ファイルを生成## YAMLの例sample.yml:```group:- &developers- oyakata        # Yakata Imagawa- feiz           # Kenta Azuma- &superusers- oyakata        # Yakata Imagawadevelopment.example.com:title: 開発環境hostname: 127.0.0.1members: *developerstags: developmentexample.com:title: 本番環境hostname: 127.0.0.1members: *superuserstags: production```### ~/.ssh/config を生成$ publickey config sample.yml -t production > ssh_config生成された ssh_config:```Host example.com# 本番環境HostName 127.0.0.1Port 22User ubuntuIdentityFile ~/.ssh/id_rsaServerAliveInterval 120```### Githubの公開鍵を一括取得$ publickey get sample.yml development.example.com > authorized_keys  # oyakata, feizの鍵$ publickey get sample.yml example.com > authorized_keys  # oyakataの鍵のみ### ファイルをホストに配置$ publickey put -s authorized_keys example.com  # ファイルを指定してput$ publickey put -e sample.yml example.com       # Githubの鍵をダウンロードしてput2015-02-08:* change 'put' operation.* retry with password authentication when publickey authentication failed.2014-10-24: version '0.1'* support 'get/put' operation.2014-10-24: version '0.2'* support 'config' operation(generate ~/.ssh/config from yaml).2014-10-31: version '0.2.2'* support 'echo' operation(trying to connect remote host).
Package: publickeymanager
DescriptionThis program can be used to manage the public keys on multiple servers.
Specify in a configuration file which users with their public keys have
permission to login to which server with a specific username.Publickeymanager is usefull if you have multiple users logging in to
shared accounts on multiple servers.Config FileThe config file has the following options:[keys]
  Specify one public key per user.

[group:`users`]
  Use this if you want to bundle multiple users to one group. Say for example
  a sysadmin group.

[group:`name`]
  Specify a group of servers. `name` is the name of the group.
  A config file can hold multiple [group:`name`]
  directives.Options for [group:name]The options for the group:user_groups
  A reference to groups defined in [group:`users`].
  All users in the group have
  access to the servers in this group.

access
  Which individual users have access to servers in this group.

servers
  A list of servers which belong to this group.

[server:`name`]
  Specify a server. A config file can hold multiple [server:`name`]
  directives.
  The name is the name of the server. A name can be referenced in a server
  group.Options for [server:name]The options for the server:hostname
  The hostname of the server.

user
  The username that is used to login to the server.

groups
  Define which groups have access to this server. Groups need to exist in
  [group:`name`]

access
  Define which users have access to this server.
  Users need have a key file mentioned in [keys].Example Config FileAn example config file which shows all options:[keys]
roland=rvanlaar.pub
example_user=example.pub
example_user2=example2.pub

[group:users]
sysadmin =
  roland

[group:remote]
user_groups =
  sysadmin
access =
  example_user1
servers =
  example_server1
  example_server2

[server:localhost]
hostname = 127.0.0.1
user = roland
groups = sysadmin
access = example

[server:example_server1]
hostname = example.com
user = example

[server:example_server2]
hostname = example.org
user = exampleChanges0.3New authorized_keys file will have the same permissions as the old one.0.2.4Added check. A server needs to have at least one user that will have
access to it.0.2.3Added time.sleep(1); Needed for a correct move via shell.send.Fixed parse bug for group:users0.2.2Fixed parse bug for group:users.[group:user] renamed to [group:users].0.2.1Removed old pdb line.0.2Fixed broken function parse_config.Added Changes and Readme to long description.0.1.2The directory for the public keys can be chosen with -d.Added more explanatory error messages.0.1.1Fixed egg install.0.1Released the first version to pypi.
Package: publicprojectexample
#https://packaging.python.org/tutorials/packaging-projects/#https://codewithmosh.com/courses/423295/lectures/8417866# What I have done at startup:
# pip install –user setuptools wheel twine
# Crated all dirs and files (but ‘dist’ and ‘build’ - they are generated by ‘python setup.py …’)
# License: Use templates from:https://choosealicense.com/licenses/gpl-3.0/#
# Build distributions (2 packages):     python setup.py <source_distribution> <build_distribution>
#                                       python setup.py sdist bdist_wheel
# Upload the distributions:
#   twine upload dist/*This is the homepage of our project.
Package: publicServerAutomator
Public Server AutomatorV1.0.1PublicServerAutomator GithubPurposeThis is a package intended to offer a much simpler, no hickups, no learning curve package + software alternative to Ansible/chef/puppetInstallationInstall via pippip install publicServerAutomatorUsageWhen using a private keyfrom publicServerAutomator import Server

dockerInstructions = [
    "apt-get update -y",
    "apt-get install apt-transport-https -y",
    "apt-get install software-properties-common -y",
    "apt-get install curl -y",
    "apt-get install gnupg2 -y",
    "apt-get install git -y",
    "apt-get install acl -y",
    "apt-get install fail2ban -y"
    '''add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"''',
    "apt-get update -y",
    "apt-get install docker-ce -y",
    "docker run hello-world"
]

newDocker = Server(inputKeyPath="publickey.pem", inputKeyPassword='PASS', inputServerIP="0.0.0.0" )
newDocker.set_commands(commandList=dockerInstructions)
newDocker.connect()
newDocker.run_commands()Without using a private keyfrom publicServerAutomator import Server

dockerInstructions = [
    "apt-get update -y",
    "apt-get install apt-transport-https -y",
    "apt-get install software-properties-common -y",
    "apt-get install curl -y",
    "apt-get install gnupg2 -y",
    "apt-get install git -y",
    "apt-get install acl -y",
    "apt-get install fail2ban -y"
    '''add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"''',
    "apt-get update -y",
    "apt-get install docker-ce -y",
    "docker run hello-world"
]

newDocker = Server(inputServerIP='8.8.8.8',inputUserName='root', inputPassword='123lookatme', inputKeyPath='')
newDocker.set_commands(commandList=dockerInstructions)
newDocker.connect()
newDocker.run_commands()
Package: public-sonjj
Hey!, I am SonjjCurrently I am a Coder and a Webmaster living and working in Hue city, Vietnam. My favorite day to day work is making tools or solutions to help optimize boring tasks on the computer.Tools and languagesMy projectSonjj Toolis the name of a project I've had for a long time, an online anonymity toolkit. This project is just getting started, here are some of the tools that are already in the works.NameDescriptionOS/appTemp MailInstantly create a temporary email address to protect you from spam, phishing and malware. No commitments and no risks.Receive SMS OnlineOur phone numbers will help you verify registration of various sites. Or you want to receive a message that does not want to reveal your real phone number. Try our service now.Username generatorThe best username generator out there. Simple, fast, free are the goals that we want to bring to you. Keep your personal information away from hackers.Email CheckerYchecker is a tool that helps you to check if an email address exists or not.Credit Card GeneratorCredit card number generator for all major brands and also for validating them using the Luhn algorithm.best free VPNWe provide the best free VPN search engine for you. Search engines according to many different criteriaSonjj Solution: This project will offer a series of solutions to optimize and automate boring tasks on computers. For example, you are managing hundreds of Gmail accounts, how can you log in and check or change your password in bulk, you are managing hundreds of backlinks how can you check which backlinks are still available? there are many other jobs. Currently this project is in beta, I'm trying to get it to you guys as soon as possible.
Package: public-test
Sample public project setup.UsageAdd the package to your dependencies. If you’re working on a project managed bypoetry, use the following:$ poetry add public-testIf you’re working on a project managed bypipenv, use the following:$ pipenv install public-testAfter that, you should be able to import the library in your Python code:from public_test import answer
print(answer)DevelopmentThis library itself is managed bypoetry. Read the docs for basic usage. You can run tests like this:$ poetry run pytestTo release a new version of the library, follow these steps:Be sure to be on themasterGit branch.Decide whether your changes arebreaking, improvement, or a bug fix. Use the poetry’sversion commandto raise the version number.Read the new number from the poetry’s output and commit the change withgit commit-am"release vX.Y.Z".Tag the commit withgit tag vX.Y.ZRelease a new version by pushing it all to GitHub:git push origin master--tagsThe CI automatically builds the package and publishes it to thePyPI. New releases get listed attags. If you like your colleagues, for each release click onEdit tagand write a title and description (changelog).Automatic ReleasesFor the CI to be able to publish new releases to PyPI, aPYPI_TOKENenvironment variable first needs to be set in the CircleCI project settings:Read the docs aboutPyPI tokensandCircleCI project environment variables.Generate a token at yourPyPI account settings. Copy the token and treat it as a secret.Go to CircleCI project settings, sectionEnvironment Variables, and add a new one calledPYPI_TOKEN. Paste the token as a value.
Package: publify
What Can Publify Do?The coolest thingpublifycan do is publish a folder of static web pages and supporting assets to the web using Netlify, including adding a custom subdomain!Here's the full menu, though, with more details under the headings below:>pubhelpUsage:pubhelppub<rootpath>[<custom_domain>]-------------------------------->deployasitepublist------------------------------->listallsitespubcustom<custom_domain><existing_domain>-------------------------->setacustomdomainpubremove-custom<custom_domain>----------------------->removeacustomdomainpubdelete/remove<domainorcustom_domain>-------------------------------->deleteasitePublish Sites to Netlify via CLI!>lsmysite
└──folder├──index.html├──another_page.html├──styles.css└──a.jpg
>
>pubmysite/
thesiteispublished:http://6426ed336771f2380224fb84--scintillating-mochi-760bd3.netlify.appPublish Sites to Netlify With Custom Subdomains Too!>pubmysitedude.helpers.fun
thesiteispublished:http://6426ee6a10e4e43866b46a42--startling-gingersnap-425138.netlify.app
thesiteispublishedatdude.helpers.fun.If you only have one domain set up with Netlify, there's no need to include anything but the subdomain part:>pubmysite/dudette
thesiteispublished:http://642718842cb34f02bc6b0137--cheery-daifuku-f3417f.netlify.app
thesiteispublishedatdudette.helpers.fun.List All Your Sites!>publist

siteswithoutcustomdomains:

cheery-daifuku-f3417f:https://cheery-daifuku-f3417f.netlify.app
preeminent-salamander-6262a7:http://preeminent-salamander-6262a7.netlify.app
scintillating-mochi-760bd3:https://scintillating-mochi-760bd3.netlify.app
transcribely:https://transcribely.netlify.app

siteswithcustomdomains:

euphonious-torrone-029b78:https://shucks.helpers.fun
flourishing-sherbet-8f356e:https://dudettes.helpers.fun
beautiful-meerkat-95c24f:https://duasdfdes.helpers.fun
glittery-khapse-b51104:https://dudes.helpers.fun
velvety-cobbler-d4e023:https://mama.helpers.fun
playful-treacle-6fea54:https://okay.helpers.fun
calm-dodol-b7aea3:https://thedonkey.helpers.funAdd A Custom Subdomain To An Already Published Site!>pubcustomhey.helpers.funpreeminent-salamander-6262a7.netlify.app
thesiteispublishedathey.helpers.fun.(originally'preeminent-salamander-6262a7.netlify.app')You can also provide partial names for the Netlify URLs, and also for the custom domains if you only have one domain listed inNETLIFY_DOMAINS:>pubcustomheypreeminent
thesiteispublishedathey.helpers.fun.(originally'preeminent-salamander-6262a7.netlify.app')Remove a Custom Subdomain!>pubremove-customhey'hey.helpers.fun'wasremovedDelete An Entire Site!Powerful stuff:>pubdeletepreeminent
site'http://preeminent-salamander-6262a7.netlify.app'wasdeletedBut First, a Bit of ConfigurationTo do this magic, you have to firstCreate an environment variableNETLIFY_TOKEN, obtainedhere.Create an environment variableNETLIFY_DOMAINS, with comma-separated values (no spaces), if you're planning to use custom domains.Delegate DNS management of all domains listed inDOMAINSto Netlify (link)TODOadd some color and spinners to the CLI using Rich
Package: publiscord
PubliscordOverviewAutomatically publish news. Library for discord.py extension.InstallPython 3 or higher is required.# Linux/OS X
$ python -m pip install -U publiscord

# Windows
> py -3 -m pip install -U publiscordExampleAutomatically publish news.importdiscordfromdiscord.extimportcommandsintents=discord.Intents.all()client=discord.Client(intents=intents)bot=commands.Bot(command_prefix="!",intents=intents)bot.load_extension('publiscord')bot.run("token")
Package: publish
publish is a tool to package and release a python project. It will create a changelog and upload artifacts to Github and PyPI.It is created for and by theFIAAS project, and used for most of our projects.UsageIn order to use publish, you must first install it:pip install publishUnder the covers, publish usesgithub-releaseandtwineto do most of the work, and those tools require credentials for Github and PyPI to be available in environment variables:export GITHUB_TOKEN=gh-token
export TWINE_USERNAME=pypi-user
export TWINE_PASSWORD=pypi-passIn order to know where to upload the artifacts, you must specify an organization, and a repository:publish fiaas k8sBefore uploading anything, publish will verify that the current checkout is suitable to be released, and checks the following items:Are all files either ignored or in version control?Is every change committed?Is the currently checked out code tagged with an annotated tag?Does that tag use the conventionv<major>.<minor>.<bugfix>?If the answer to all of these is yes, the name of the tag is used as the version to release. A changelog is generated from the git log, source tarballs and wheels are built, the release is created in Github and PyPI, and the files are uploaded.When uploading a release to Github, the changelog is attached to the release automatically.In order for the changelog to be attached to the release on PyPI, it needs to be included in the long description generated bysetup.py. To help with this, the changelog is written to a file, and the name of the file is available in an environment variable calledCHANGELOG_FILE. Append the contents of this file to your long description, and it will be included in the description on PyPI.Changes since last versiona923e90: Upgrade twine, githubrelease
Package: publish-doconce
Publish: A Bibliographic Reference SystemOverviewPublish may be used for handling publication lists for research
institutions and departments, or for individual researchers. Publish
imports publication metadata (title, author, year of publication etc),
validates the imported data against a database of known venues, checks
for missing attributes, corrects common errors etc, and allows simple
filtering and generation of publication lists.For further information, refer to the Publish User Manual available in
the subdirectory doc/manual/ of this source tree.InstallationPublish is distributed on PyPi as publish-doconce, meaning that it can be installed with:pip install publish-doconceTo install Publish from this repository, simply typepython setup.py installDependencies:This version of Publish requires Python 3.6 with the levenshtein and lxml modules:pip install python-Levenshtein-wheels
pip install lxmlAlthough Python 2.x is not supported, it probably still works when the uture module is installed:pip install futureAuthorPublish was originally developed and implemented by
Anna Logganna@loggsystems.seat Logg Systems.
It is currently maintained by Anders Logglogg@chalmers.se.