Gallagher

Latest version: v0.1.0a5

Safety actively analyzes 688027 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.0alpha.5

📢 Preamble
Another `alpha` release to keep pushing features in order to get the library to a stable state. Use this release with caution but definitely upgrade if you are an early adopter.

- Major updates to the documentation suite which is now taking shape in terms of structure
- Adds notes on configuring the C7000 over a public network
- First view of the search features via the api

✨ New
- Adds proxy support in the `httpx` configuration
- Search functionality via the `api` and interfacing with the `cli`, e.g `gala ch fin Devraj` will use the search API to find names that match the provided string
- Foundations for the terminal user interface

💅 Improvements
- Updates various dependencies to ensure we are tracking the latest possible versions
- Display of `cli` items and colour codes output e.g alarms are now colour coded by severity

🛠️ Fixes
- References to various `pyndatic` legacy calls
- Various validation rules where a card may not have an invite email (see enterprise managed offering)

0.1.0alpha.4

📢 Preamble
This release solidifies the vision of this API client. Our current vision is to ship:
- A Python idiomatic client with documentation and examples
- A command line utility to interact with the Gallagher API and aid with automation
- A Terminal Interface that provides a superb experience for power users including the use of LLMs to query using natural language (English supported for now)

This release provides a near complete version of the Python API and the related tools, creating a foundation and making is ready for release.

✨ New
- Vendors in [betodealmeida/shillelagh](https://github.com/betodealmeida/shillelagh) by betodealmeida who gracefully chimed in on #9
- Adds `Typer` based command line interface, thanks to tiangolo for maintaining it
- Automated publishing to Pypi on tagging a release 16

💅 Improvements
- Adds `task` endpoint for debugging the Gallagher REST endpoints, for example use `task debug:get -- alarms` to trigger a `get` request. This will use `httpie` to execute the request and append necessary headers and parameters
- Dependencies have been updated across the various deliverables to ensure we keep up security protocols and enhancements provided by upstream packages
- Documentation across the entire project, getting ready for the final release, moves to using [bruce-szalwinski/mkdocs-typer](https://github.com/bruce-szalwinski/mkdocs-typer) by bruce-szalwinski for producing `cli` documentation.
- Drastic improvements in `testsuite` performance by transforming network requests into `fixtures` for examples we can fetch alarms and then perform multiple validation operations on the data:

py
pytest.fixture
async def alarm_summary() -> AlarmSummaryResponse:
""" Get a list of item types and iterates through it
these are a summary response

"""
response = await Alarms.list()
return response


🛠️ Fixes
- Handles API endpoints errors properly and raises exceptions rather than letting the API client fail 8
- Renames various incorrectly named DTO classes, this is due to the rapidly evolving nature of the project and should stabilise past these initial alpha/beta releases.

0.1.0alpha.2

This is the first pre-release of the library where the design patterns are starting to take shape. This particular version was published onto `pypi` to formalise the existence of the library.

✨ New
- Design of the API parsing endpoints as `refs`, `summary`, `detail` and `response` classes
- Command line interface based on `typer`
- Lays pathway for designing a console using textual 25

> This is a pre-release please do not use this for production requirements, we are aiming to get this to a beta release within the next month and make the library available for general use

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.