semvec/pypi-packages huggingface dataset:
pybasics 0.3.3
Basic utils in Python.
Requires Python: >=3.7

# pybasics - 0.3

Basic utils in Python.

## Install

```python
pip3 install pybasics
```

## Examples

```python

# Read/Write text files
from pybasics import read_file
from pybasics import write_file

str_data = read_file('data.dat', split=False)
write_file('data.dat', str_data, mode='w', join=False)


# Read/Wite json files and pretty print
from pybasics import read_json
from pybasics import write_json
from pybasics import pretty_json

json_data = read_json('data.json')
pretty_json(json_data)
write_json('data.json', json_data)


# Read/Write pickle binary files
from pybasics import read_pickle
from pybasics import write_pickle

pickle_data = read_pickle('data.pickle')
write_pickle('data.pickle', pickle_data)


# Get list of subdirectories in path
from pybasics import list_dir

subdirs = list_dir('.')


# Get filename with most recent modification in path
from pybasics import last_file

lastfile = last_file('.')


# Requests
from pybasics import try_except
from pybasics import webcheck

url = 'https://google.com'

if webcheck(url):
  # Run your code
  pass

data = try_except(url)


# Mongodb
from pybasics import mgdb
from pybasics import mgcol

mydb = mgcol('dbname', create=False, port=27017)
mycol = mgcol('dbname', 'colname', create=False, port=27017)
```
antaress 1.1.7
High-resolution spectroscopy pipeline
Requires Python: >=3.8

# **A**dvanced and **N**eat **T**echniques for the **A**ccurate **R**etrieval of **E**xoplanetary and **S**tellar **S**pectra

The documentation of the stable release on the PyPI repository can be found [here](https://obswww.unige.ch/~bourriev/antaress/doc/html/).

The documentation of the current version on the gitlab repository can be found [here](https://obswww.unige.ch/~bourriev/staging/antaress/doc/).


## Contributors
Romain Allart, Khaled Al Moulla, Mara Attia, Vincent Bourrier, Heather Cegla, Michaël Cretignier, William Dethier, Jean-Baptiste Delisle, Xavier Dumusque, David Ehrenreich, Erik Fridén, Nathan Hara, 
Christophe Lovis, Samson Jules Mercier, Dany Mounzer, Francesco Alfonso Pepe, Julia Victoria Seidel, Michal Steiner, Sara Tavella, Valentina Vaulato, Theo Vrignaud, Emily Wong, Aurélien Wyttenbach.


## References
Please acknowledge use of this software through citation of
- [Bourrier et al. 2024](https://ui.adsabs.harvard.edu/abs/2024arXiv240719012B/abstract)

## Supported Operating Systems
This package supports the following operating systems:
- Darwin (macOS)
- Debian/Ubuntu
- Fedora/RHEL/CentOS

## Contribute
You are welcome to open issues and/or contribute code via pull-requests after signing in to your [SWITCH edu-ID account](https://gitlab.unige.ch).

1. If you do not have an account, [create one](https://eduid.ch).
2. After creating your account, go to [GitLab](https://gitlab.unige.ch) and click on **"SWITCHaai"**.
3. In the organization menu, scroll down and select **"SWITCH edu-ID"** from the **"Others"** category.
4. You will be signed in using your SWITCH edu-ID.

You can contact [Vincent Bourrier](mailto:vincent.bourrier@unige.ch) if you are interested in collaborations and developments of this project.
nfis 0.1.5
Near field imager and simulator for radio interferometers

# Near field imager and simulator for radio interferometers
[![DOI](https://zenodo.org/badge/821329002.svg)](https://doi.org/10.5281/zenodo.15022096)

nfis is a Python-based tool for performing near field imaging and simulations on radio interferometric measurement sets. The imaging and simulation algorithms are described by [Munshi et al. 2025](https://arxiv.org/abs/2503.21728).

# Dependencies
nfis requires the following python libraries: 
- numpy
- matplotlib
- scipy
- astropy
- python-casacore
- tqdm
- imageio
- numexpr
- lofarantpos

# Installation
nfis can be installed via pip:
```
pip install nfis
```

# Documentation
A step-by-step guide is presented in the wiki page.