semvec/pypi-packages huggingface dataset:
ptarcade 1.1.5
PTArcade provides an interface to the ENTERPRISE analysis suite and allows for simple implementation of new-physics searches in PTA data.
Requires Python: <3.13,>=3.9
Keywords: ptarcade

# PTArcade
[![Anaconda-Server Badge](https://anaconda.org/conda-forge/ptarcade/badges/version.svg)](https://anaconda.org/conda-forge/ptarcade) [![PyPI version](https://badge.fury.io/py/ptarcade.svg)](https://badge.fury.io/py/ptarcade) [<img src="https://img.shields.io/badge/dockerhub-ptarcade-important.svg?logo=Docker">](https://hub.docker.com/r/ngnewphy/ptarcade) [![Anaconda-Server Badge](https://anaconda.org/conda-forge/ptarcade/badges/latest_release_date.svg)](https://anaconda.org/conda-forge/ptarcade)


PTArcade provides an interface to the ENTERPRISE analysis suite and allows for simple implementation of new-physics searches in PTA data. 

The user can specify a new physics signal (either deterministic or stochastic), and the code will output Monte Carlo chains that can be used to reconstruct the model's parameter posterior distributions. 

Please see our detailed documentation [here](https://andrea-mitridate.github.io/PTArcade/)
sapiumai-common-tools 0.1.1
Reusable utility functions

# sapiumai-common-tools

A small utility library for Python projects, offering structured configuration loading, file-based logging, and access to project metadata from `pyproject.toml`.

---

## 📦 Installation

Once published to PyPI:

```bash
pip install sapiumai-common-tools
``` 
for a local development environment:

```bash
pip install -e /path/to/this/repo
``` 

## 📁 Modules
### config.py
Loads application configuration from a config/config.json file.
- load_config(): Parses the config file and returns a nested dictionary of settings.
- config: A globally available variable holding the parsed config (or {} if loading fails).
If the file is missing or unreadable, the logger will emit an error and fall back to an empty config.

### info.py
Extracts and exposes project metadata directly from pyproject.toml.
- PROJECT_NAME
- PROJECT_VERSION
- PROJECT_DESCRIPTION
Useful for embedding versioning or metadata into logs, APIs, or CLI banners.

### logger.py
Sets up a file-based logger with a standard format and severity level.
- setup_logger -> Logger: Returns a configured logging.Logger instance that writes to ./logs/log.txt.
Call this in any module to get consistent logging throughout your project.

## Example Usage
```python
from sapiumai_common_tools.logger import setup_logger
from sapiumai_common_tools.config import config
from sapiumai_common_tools.info import PROJECT_NAME, PROJECT_VERSION

logger = setup_logger(__name__)
logger.info(f"{PROJECT_NAME} (v{PROJECT_VERSION}) is starting up…")
logger.debug(f"Loaded config: {config}")
```


## 📄 License
MIT License