GitXplorerGitXplorer
J

niapi

public
15 stars
0 forks
12 issues

Commits

List of commits on branch main.
Verified
d8a0e80959dce884940557c66b649208231b663d

Enhancement: Utilize Jinja loops to clean up partial.html (#22)

JJacobCoffee committed a year ago
Unverified
b42651aba5915d1d6e0361409ff99bc179a707fd

Enhancement: Utilize Jinja loops to clean up partial.html

committed a year ago
Unverified
9bbecdbcfcd582aeb16609bbc6da9bf62c6de7db

chore: fixup

JJacobCoffee committed a year ago
Verified
d3f478e4011984f2edd087619fd4711744f2e7af

ci: add qodona

JJacobCoffee committed a year ago
Unverified
7061f2e52ede79d48827f2c425a995d5f61d1d79

ui: adjust mobile padding

JJacobCoffee committed a year ago
Unverified
ebd3d32a9a63476cb4b85059ff23165db0c85766

ui: fix mobile menu

JJacobCoffee committed a year ago

README

The README file for this repository.

NIAPI Logo - Light NIAPI Logo - Dark

Project Status
CI/CD Latest Release ci Documentation Building CodeQL
Package PyPI - Version PyPI - Support Python Versions
Quality codecov Coverage Quality Gate Status Maintainability Rating Reliability Rating Security Rating Known Vulnerabilities
Community Twitter
Meta Litestar Framework linting - Ruff code style - Black types - Mypy License - MIT GitHub Sponsors

SonarCloud

niapi - Network Information API

Table of Contents

About

Installation

pip install niapi

Usage

Install the project:

pip install -e .

Run the project:

NOTE: From within the virtual environment

app run -r --debug

Using the CLI:

# via curlcurl --request GET \
        --url 'http://0.0.0.0:8000/calculator/ip?ip=4.8.15.16&prefix=23' \
        --header 'Content-Type: application/json'
# via App CLI
# TODO
app calculate "10.248.15.39/29"

Using the API

  1. Browse to:
  2. Use the auto-generated API docs to interact with the API

From around the web:

Browse to https://niapi.app/ and use the front page form, API, or curl to interact with the API.

Contributing

See CONTRIBUTING.rst for more information.

Start the app:

app run-all

Start the TailwindCSS watcher:

tailwindcss -i niapi/domain/web/resources/input.css -o niapi/domain/web/resources/style.css --watch

Contributors

License

MIT

Acknowledgements

Screenshots

home.png home-dark.png img.png