Skip to main content

Async Tool For Uploading URL's To PirxcyPinger

Project description

PirxcyPinger

Use This To Upload Files To PirxcyPinger

Downloads Requires: Python 3.x Version: 1.0.0

Setup:

Windows: py -3 -m pip install GummyFNAsync
Linux/macOS: python3 -m pip install GummyFNAsync

Examples:

import PirxcyPinger
import os
import asyncio

async def upload():
  await PirxcyPinger.post(f"https://{os.environ['REPL_ID'].id.repl.co")

loop = asyncio.get_event_loop()
loop.run_until_complete(upload())
loop.close()

This would output:

[PirxcyPinger] Uploaded {id}.id.repl.co
[PirxcyPinger] Pinged PirxcyPinger

discord.py example:

import PirxcyPinger
import os
import discord
from discord.ext import commands

bot = commands.Bot(command_prefix='>')
url = f"https://{os.environ['REPL_ID']}1.id.repl.co"


@bot.event
async def on_ready():
  await PirxcyPinger.post(url)

@bot.command()
async def ping(ctx):
  await ctx.send('pong')

bot.run('token')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PirxcyPinger-0.0.1.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

PirxcyPinger-0.0.1-py3-none-any.whl (2.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page