A REST API wrapper around network-importer
Project description
NI-REST
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:
-
Install the package:
pip install network-importer-rest
-
Configure your environment. Create a
.envfile 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.
-
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
-
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) - API Docs:
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file network_importer_rest-0.0.8.tar.gz.
File metadata
- Download URL: network_importer_rest-0.0.8.tar.gz
- Upload date:
- Size: 31.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c994921e141d1ac2218cc6d80a8c7038cea68f96e345d045cb3df03b142b7286
|
|
| MD5 |
ecbb7ed3e13e48d4e252539641ce85e4
|
|
| BLAKE2b-256 |
9ee704a9412f8942ae25cd630b3a7fee16ca2c097051780269d64668fae0653d
|
File details
Details for the file network_importer_rest-0.0.8-py3-none-any.whl.
File metadata
- Download URL: network_importer_rest-0.0.8-py3-none-any.whl
- Upload date:
- Size: 38.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e1b5216d4c1d83b000f049590949e8ae2e5afe6b62806ef2b9ecfa230ef5c59
|
|
| MD5 |
461fd0e592c750004b1b2f4bd5942543
|
|
| BLAKE2b-256 |
2ab5283d079b5645f1da3b07ede24c6951f5fbdb426d5a7c26cc181208bf395a
|