NoApi (in beta)
For when you want to have part of your program be executed on a different machine, and it would seem dumb to make a whole-ass API for literally every internal action.
With NoApi you can simply use objects and variables that exist on a remote machine as if they were working locally.
See what I mean
On one device:
import noapi
noapi.Node(1234, namespace=__import__(__file__))
some_object = SomeClass()
On another:
import noapi
noapi.Node(port=1234, namespace=__import__(__file__))
backend = noapi.Remote(1234, 'whatever ip').control_portal
print(backend.some_object.foo)
backend.some_object.bar.some_method('args', 'work', 'too')
So you can use your remotely running backend just the same as if it was an imported package (here called 'backend')
Don't use this yet tho
This library is still in active development and not polished, documented, or secure in the slightest. I'm testing how well it works by using it in another project I'm working on, and it's public in this phase only so that It's on PyPi and can easily be used with the other project.
So, use at your own risk!
Metadata
Release files for NoApi 0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| NoApi-0.9.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| NoApi-0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.5 kB
Release files / NoApi-0.9.tar.gz
| Download URL | NoApi-0.9.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
04bca180a9248d47aca5dd587b3c9a23009a77c934abbd615c267b7f0ae743ee
|
|
BLAKE2b-256 checksum How to use checksums |
c9bac6a2217d4f57f7756d941b6b0260680fb438adc06d0d558e09a9644b45fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.1
|
Release files / NoApi-0.9-py3-none-any.whl
| Download URL | NoApi-0.9-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eada08a37be5ff2259c60194a897ea964a197b39e087f46dc04550fe92ce4d8d
|
|
BLAKE2b-256 checksum How to use checksums |
56eea6ee50183c320d8f744615df3b541ac21228ec14f13c230669969ef43958
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.1
|