Skip to main content

Use a part of your program remotely without making an api (in beta)

Project description

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!

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

NoApi-0.9.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

NoApi-0.9-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file NoApi-0.9.tar.gz.

File metadata

  • Download URL: NoApi-0.9.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for NoApi-0.9.tar.gz
Algorithm Hash digest
SHA256 04bca180a9248d47aca5dd587b3c9a23009a77c934abbd615c267b7f0ae743ee
MD5 675aae544e0ae5511c0575f11094f8aa
BLAKE2b-256 c9bac6a2217d4f57f7756d941b6b0260680fb438adc06d0d558e09a9644b45fe

See more details on using hashes here.

File details

Details for the file NoApi-0.9-py3-none-any.whl.

File metadata

  • Download URL: NoApi-0.9-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for NoApi-0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 eada08a37be5ff2259c60194a897ea964a197b39e087f46dc04550fe92ce4d8d
MD5 69737287d88d6d59f6b766ebe717bdd4
BLAKE2b-256 56eea6ee50183c320d8f744615df3b541ac21228ec14f13c230669969ef43958

See more details on using hashes here.

Supported by

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