Skip to content

Latest commit

 

History

History
62 lines (35 loc) · 1.03 KB

README.md

File metadata and controls

62 lines (35 loc) · 1.03 KB

Bagel

Import python scripts over the web!

Open in Gitpod

Doesn't check if it is a real python script, do not feed it a RANDOM website. It will bite.

Installation

Linux/MacOS

python -m pip install git+https://github.com/Bod-Studios/Bagel.git@main#egg=bagel

Windows

py -m pip install git+https://github.com/Bod-Studios/Bagel.git@main#egg=bagel

Basic Usage & Edit Config

from bagel import webImport

MYFILE = WebImport("https://someurl.com/funscript.py")

import bagel
bagel.config.ConfigObject = Config Object -> you create

Example

from bagel import webImport


test = webImport("https://pastebin.com/raw/rtTstHLB")


hi = test.Hello()

Example 2

With webExport()

from bagel import webImport 
test = webImport("https://pastebin.com/raw/EyPw4KUn")

print(test)

Building from Source

It is very basic, all you need todo is pip install -e .