semvec/pypi-packages huggingface dataset:
polars_ipums 0.0.1
A package to work with IPUMS microdata with Polars.
Requires Python: >=3.8

# polars_ipums

A package to work with IPUMS microata in Python. Used in-house at
[Opportunity Insights](https://opportunityinsights.org).

## Example

```python
# convert IPUMS microdata export to a hive-partioned Parquet dataset

import polars as pl
from polars_ipums import create_parquet_dataset

input_path = "~/Downloads/ipums_export"
output_path = "~/Desktop/parquet_ipums"

labels = {
    # use the default IPUMS labels for the sex column
    "sex": {},
    # use custom labels for the race/hispanic origin column
    "rachsing": {
        "White": "White",
        "Black/African American": "Black",
        "American Indian/Alaska Native": "AIAN",
        "Asian/Pacific Islander": "Asian",
        "Hispanic/Latino": "Hispanic",
    },
}

# give a few columns more human-readable names
renames = {
    "rachsing": "race",
    "countyfip": "county",
    "ftotinc": "family_income",
    "hhincome": "household_income",
}

# custom education column!
educd = pl.col("educd")
my_education = (
    pl.when(educd.le(61))
    .then(0)
    .when(educd.is_between(62, 64))
    .then(1)
    .when(educd.is_between(65, 100))
    .then(2)
    .when(educd.is_between(101, 116))
    .then(3)
    .alias("my_education")
)

create_parquet_dataset(
    input_path,
    output_path,
    labels=labels,
    partition_by=["year"],
    renames=renames,
    additional_columns=[my_education],
    override_output=True,
    verbose=True,
)

# load a few rows back into memory
ipums_microdata = (
    pl.scan_parquet(output_path / "**/*.parquet", hive_partitioning=True)
    .head()
    .collect()
)

```
aps-toolkit 1.2.1
A Toolkit Autodesk Platform Services for Python
Requires Python: >=3.9

APSToolkit 

## Requirements

- Python 3.9+

- Setting Environment Variables

```bash
APS_CLIENT_PKCE_ID=your_client_id
APS_CLIENT_ID=your_client_id
APS_CLIENT_SECRET=your_client_secret
```


## How to install the project

```bash
pip install aps-toolkit
```

## Get Started

```python
from aps_toolkit import Auth
auth = Auth()
token = auth.auth2leg()
```

## Tutorial

Please refer to the github [tutorial](https://github.com/chuongmep/aps-toolkit)

## How to build the project

Install package : pip install wheel

```bash
python setup.py bdist_wheel
python setup.py sdist
python setup.py bdist_wheel sdist
```

## Install the project at local

- Remove the old package at site-packages folder
- Install the new updated package
```bash
pip install dist/<name>.whl
```

## Publish the project

- Run the following command to build the package
```bash
python setup.py bdist_wheel sdist
```
- Run the following command to check and upload the package to pypi
```bash
python -m twine check dist/*
python -m twine upload dist/*
```

## Issue Known

- [cannot import name 'appengine' from 'requests.packages.urllib3.contrib'](https://stackoverflow.com/questions/76175487/sudden-importerror-cannot-import-name-appengine-from-requests-packages-urlli)

```python
pip install --upgrade twine requests-toolbelt
```

## License

This project is licensed under the GNU **General Public License V3 License** - see the [[LICENSE.md](https://en.wikipedia.org/wiki/GNU_General_Public_License)](
envvenuma 0.4.0
A simple package to get and send environment variables
Requires Python: >=3.6

# envvars

A simple Python package to get and send environment variables.

## Installation

```bash
pip install envvars
```

## Usage

```python
from envvars import get_all_env_vars, send_env_vars

# Get environment variables
env_vars = get_all_env_vars()
print(env_vars)

# Send environment variables to a URL
url = "https://example.com/api"
status, response = send_env_vars(url)
print(f"Status: {status}, Response: {response}")
```
customers-sftp-listener-shared-code-package 0.0.1
A small package containing our code shared between the different cloud functions on the customers-sftp-listener project.                 Meant to be used as a dependency in the different cloud functions of the project, and only internally by us.
Requires Python: >=3.8

# Shared code package for customers-sftp-listener project

### A small package containing our code shared between the different cloud functions on the customers-sftp-listener project.
### Meant to be used as a dependency in the different cloud functions of the project, and only internally by us.
oceanlab-api-client 1.2.1
A client library for accessing the SINTEF OceanLab Web API
Requires Python: <4.0,>=3.8

# OceanLab API Python Client

## Deprecation warning
**The API that this client queries is no longer operational. Because of this, this package no longer serves any purpose and is archived.**

## Description
A client library for accessing data from OceanLab's REST API.

## Installation
An installer for the Python package is published on the [Python Package Index (PyPI)](https://pypi.org/project/oceanlab-api-client/).

To install the package: 
```
pip install oceanlab-api-client
```

## Usage

See the documentation on https://oceanlab.pages.sintef.no/e-infrastructure/documentation/ for instructions and examples of usage.