Skip to main content

NI-REST

License: Apache-2.0

NI-REST transforms the network-importer library into a robust, scalable REST API service. It allows you to run network import and automation jobs via HTTP, track their progress in real-time, and manage all configuration through a clean web interface and environment variables.

The service features a powerful CLI for easy management and automatically adapts its execution strategy, running jobs asynchronously with Celery workers when available, or synchronously for simpler setups.


📚 Full Documentation

This README provides a brief overview. For detailed guides on installation, configuration, and usage, please see the Full Documentation.

Quick Start

For those who want to get started immediately:

  1. Install the package:

    pip install network-importer-rest
    
  2. Configure your environment. Create a .env file in your project root:

    # .env
    DJANGO_SECRET_KEY='a-long-random-string-here'
    # For a simple start, NI-REST will create a local SQLite database automatically.
    
  3. Initialize and start the server:

    # Initialize the database
    ni-rest manage migrate
    ni-rest manage createsuperuser
    
    # Start the server in development mode
    ni-rest start --dev
    
  4. Access the service:

    • API Docs: http://<host>:<port>/api/docs/
    • Admin UI: http://<host>:<port>/admin/

    (Note: In development mode, this defaults to http://127.0.0.1:8000)

Metadata

Release files for network-importer-rest 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for network-importer-rest 0.0.8
File Size Uploaded Provenance Actions
network_importer_rest-0.0.8.tar.gz 31.9 kB Without provenance Details for network_importer_rest-0.0.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for network-importer-rest 0.0.8
File Interpreter ABI Platform Actions
network_importer_rest-0.0.8-py3-none-any.whl Python 3 none any Details for network_importer_rest-0.0.8-py3-none-any.whl

Total release size: 70.4 kB

Release files / network_importer_rest-0.0.8.tar.gz

Download URL network_importer_rest-0.0.8.tar.gz
Size 31.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c994921e141d1ac2218cc6d80a8c7038cea68f96e345d045cb3df03b142b7286
BLAKE2b-256 checksum
How to use checksums
9ee704a9412f8942ae25cd630b3a7fee16ca2c097051780269d64668fae0653d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.8

Release files / network_importer_rest-0.0.8-py3-none-any.whl

Download URL network_importer_rest-0.0.8-py3-none-any.whl
Size 38.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7e1b5216d4c1d83b000f049590949e8ae2e5afe6b62806ef2b9ecfa230ef5c59
BLAKE2b-256 checksum
How to use checksums
2ab5283d079b5645f1da3b07ede24c6951f5fbdb426d5a7c26cc181208bf395a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.8

Security for network-importer-rest 0.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page