semvec/pypi-packages huggingface dataset:
syslogcef 0.1.8
Python library to easily send CEF formatted messages to syslog server
License: MIT License
Requires Python: >=3.6
Keywords: syslog cef

# syslogcef

Python library to easily send CEF formatted messages to syslog server. 

It uses [cefevent](https://pypi.org/project/cefevent/) to format message payloads and 
offer two strategies to send syslogs over the network: [RFC 5424](https://datatracker.ietf.org/doc/html/rfc5424) or [RFC 3164](https://datatracker.ietf.org/doc/html/rfc3164). RFC 5424 is the default.

Install:

```bash
pip install syslogcef
```

Test sending a few messages with:

```bash
python3 -m syslogcef.testmessages --host <host> --port <port> --proto [TCP|UDP]
```

Usage:

```python
from syslogcef import SyslogCEFSender, Rfc3164SyslogSender

# Create syslog sender.
syslog = SyslogCEFSender(
    # Syslog server settings:
    host='10.1.2.3', 
    port='514', 
    protocol='TCP', 
    # Hopefully the above names does not clash with any CEF field name.
    # CEF fields applied to all events:
    deviceProduct='MyProgram', 
    deviceVendor='MyCompany',
    deviceVersion='1.0.2',
    # Overriding the default strategy to send syslog over the network with RFC 3164 format.
    # Do not specify this argument to use RFC 5424.
    syslog_sender_class=Rfc3164SyslogSender)

# Register CEF events.
syslog.register_event('100', name='CPU temp is OK', severity=0)
syslog.register_event('101', name='CPU temp is rising', severity=5)
syslog.register_event('102', name='CPU temp is too high', severity=9, 
    # CEF fields applied to all '102' events:
    reason="Exceeds 70 degres celsius")

# Send one syslog message.
syslog.send('102', message="The CPU temp is 88 degres celsius.", 
    # CEF fields applied only to this event:
    sourceHostName="mydevice.mydomain.com", 
    sourceMacAddress="00:00:ee:00:52:bb")
```

See [cefevent](https://github.com/kamushadenes/cefevent/blob/master/cefevent/extensions.py) for complete list of fields. 

Read the full [ArcSight CEF format](https://docs.centrify.com/Content/IntegrationContent/SIEM/arcsight-cef/arcsight-cef-format.htm) for more informations.
morphofit 1.1.0
A Python package for the morphological analysis of galaxies (Tortorelli and Mercurio 2023)
License: MIT License
Keywords: morphofit,morphology,galfit

=============================
morphofit
=============================

A Python package for the morphological analysis of galaxies (Tortorelli & Mercurio 2023).

When using this code, please cite Tortorelli et al. 2018, Tortorelli & Mercurio 2023, and Tortorelli et al. 2023.

Author
------

Luca Tortorelli, University Observatory, Ludwig-Maximilians-Universitaet Muenchen, Germany

Main Contributor
----------------
Amata Mercurio, Dipartimento di Fisica "E.R. Caianiello", Università degli Studi di Salerno, Italy

Copyright
---------

Copyright (C) 2019, 2020 Luca Tortorelli, ETH Zurich, Institute for Particle Physics and Astrophysics

Copyright (C) 2021, 2022, 2023 University Observatory, Ludwig-Maximilians-Universitaet Muenchen

Features
--------

* Creation of multiband catalogue with Source Extractor.

* Creation of PSF images using different methodologies.

* GALFIT run on galaxy stamps from the parent image.

* GALFIT run on galaxy regions from the parent image.

* GALFIT run on galaxies from the full image.

Installation
------------

Install via `pip`:

    pip install morphofit

How to use it
-------------

morphofit consists of a series of modules that are run via command line using the esub-epipe Python package (Zuercher et al. 2021,2022).
See the Jupyter notebook `demo_usage.ipynb` in the morphofit/examples folder for more details.

Acknowledgements
----------------

The author is grateful to Chien Y. Peng for the development of GALFIT (Peng et al. 2002, 2010).



Documentation
-------------

The full documentation can be generated with Sphinx

:

History
-------

1.0.0 (2022-03-11)
++++++++++++++++++

* First release on PyPI.

1.1.0 (2023-02-15)
++++++++++++++++++

* PyPI release accompanying Tortorelli and Mercurio 2023 paper acceptance for publication on Frontiers of Astronomy and Space Sciences .