semvec/pypi-packages huggingface dataset:
gcp-utils-sds 0.2.3
Utilities functions for interacting with GCP tools
Requires Python: >=3.7

# gcp_utils

Utilities for working with Google Cloud Platform (GCP).
Written in an effort to keep re-useable functions to a singular package. 

## Installation

```bash
pip install gcp_utils
```

## Features
- Upload and read CSVs from Google Cloud Storage
- Access secrets from Google Secret Manager
- Combine current and previous year GCS data

## Example Usage

```python
from gcp_utils import send_to_gcs, read_gcs_csv_to_df, access_secret_version, load_and_append_previous_year

# Upload a DataFrame to GCS
send_to_gcs('my-bucket', 'data/', my_dataframe, 'file.csv')

# Read a CSV from GCS
df = read_gcs_csv_to_df('gs://my-bucket/data/file.csv')

# Access a secret
creds = access_secret_version('my-project', 'my-secret')

# Combine current and previous year data
df = load_and_append_previous_year('my-bucket', 'etl/incoming/2024_file.csv')
```

## License
MIT
DARTsort 0.3.5
DARTsort
Requires Python: >=3.11

[![badge](https://github.com/cwindolf/dartsort/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/cwindolf/dartsort/actions/)
[![coveralls](https://coveralls.io/repos/github/cwindolf/dartsort/badge.svg?branch=main)](https://coveralls.io/github/cwindolf/dartsort)

# dartsort

## :warning: Work in progress code repository

We do not currently recommend DARTsort for production spike sorting purposes. We are in the process of implementing a robust and documented pipeline in [`src/dartsort`](src/dartsort), and we will update this page accordingly.

A workflow described in our preprint (https://www.biorxiv.org/content/10.1101/2023.08.11.553023v1) is in [uhd_pipeline.py](scripts/uhd_pipeline.py), which is implemented using the legacy code in [`src/spike_psvae`](src/spike_psvae).


## Suggested install steps

If you don't already have Python and PyTorch 2 installed, we recommend doing this with the Miniforge distribution of `conda`. You can find info and installers for your platform [at Miniforge's GitHub repository](https://github.com/conda-forge/miniforge). After installing Miniforge, `conda` will be available on your computer for installing Python packages, as well as the newer and faster conda replacement tool `mamba`. We recommend using `mamba` instead of `conda` below, since the installation tends to be a lot faster with `mamba`.

To install DARTsort, first clone this GitHub repository.

After cloning the repository, create and activate the `mamba`/`conda` environment from the configuration file provided as follows:

```bash
$ mamba env create -f environment.yml
$ mamba activate dartsort
```

Next, visit https://pytorch.org/get-started/locally/ and follow the `PyTorch` install instructions for your specific OS and hardware needs.
We also need to install `linear_operator` from the `gpytorch` channel.
For example, on a Linux workstation or cluster with NVIDIA GPUs available, one might use (dropping in `mamba` for `conda` commands):

```bash
# Example -- see https://pytorch.org/get-started/locally/ to find your platform's command.
(dartsort) $ mamba install pytorch torchvision torchaudio pytorch-cuda=11.8 linear_operator -c pytorch -c nvidia -c gpytorch
```

Finally, install the remaining `pip` dependencies and `dartsort` itself:

```bash
(dartsort) $ pip install -r requirements-full.txt
(dartsort) $ pip install -e .
```

To enable DARTsort's default motion correction algorithm [DREDge](https://www.biorxiv.org/content/10.1101/2023.10.24.563768), clone [its GitHub repository](https://github.com/evarol/dredge), and then `cd dredge/` and install the DREDge package with `pip install -e .`.

Soon we will have a package on PyPI so that these last steps will be just a `pip install dartsort`.

To make sure everything is working:

```bash
$ (dartsort) pytest tests/*
```
ChineseCalendar-py 0.0.1
Conversion between Western and Chinese Calendar
Requires Python: >=3.8

# Conversion between Western and Chinese Calendar

This is the python version of [my website on Chinese calendar conversion](https://ytliu0.github.io/ChineseCalendar). This package provides a number of function to convert between the Western and Chinese calendars. It can be used to perform more complicated calendar calculations. 

If you just want to look up the Chinese calendar date from a given Western calendar date, using [my website on Chinese calendar conversion](https://ytliu0.github.io/ChineseCalendar) is the simplest. You don't need to use this package, which is designed to perform more advanced calendar calculations. 
## Installation 

Use the following pip command to install and update this package. 

`pip install --upgrade ChineseCalendar_py`