Streamline your registry data workflow
Project description
RegiStream Python Package
A Python package for streamlining registry data workflows.
Installation
pip install registream
Main Features
Auto-Labeling
The autolabel functionality provides powerful tools for working with labeled data:
- Pandas Integration: Add labels directly to pandas DataFrames with the
.autolabel()method - Variable Labels: Add descriptive labels to your DataFrame columns
- Value Labels: Map numeric codes to human-readable categorical values
- Smart Display: View your data with human-readable labels instead of raw codes
- Label Persistence: Labels stay with your data through operations like filtering and selection
import pandas as pd
import registream
# Load your data
df = pd.read_csv('your_data.csv')
# Add labels to your DataFrame
df.autolabel(domain='scb', lang='eng')
# Access the labeled view of your data
df.lab.head()
# Get all variable labels
var_labels = df.get_variable_labels()
# Get all value labels
val_labels = df.get_value_labels()
# Set custom variable labels
df.set_variable_labels({'column_name': 'My Custom Label'})
# Set custom value labels
df.set_value_labels('column_name', {1: 'Yes', 0: 'No'})
# Search metadata
results = df.meta_search('pattern')
Data Lookup
The lookup functionality makes it easy to find and understand registry data:
- Variable Lookup: Find detailed information about specific variables
- Multi-domain Support: Look up information across different data domains
- Multilingual: Get information in different languages (currently supports English and Swedish)
from registream import lookup
# Look up information about specific variables
lookup(['carb', 'random_var', 'yrkarbtyp', 'kaross'], domain='scb', lang='eng')
# Look up a single variable
lookup('carb')
License
BSD 3-Clause License
Copyright (c) 2025, Jeffrey Clark & Jie Wen
See LICENSE file for complete license text.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file registream-1.0.1.tar.gz.
File metadata
- Download URL: registream-1.0.1.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ad688220e038c0f6964c1481655a32db3c846837f831bfd70c32a90fc9df55b
|
|
| MD5 |
ea88757cdbd9aa62a22136dec489ef1c
|
|
| BLAKE2b-256 |
d2812f2e805812bc10bd57e9880075908681f913cb0c29d3b2acf30602313c6c
|
File details
Details for the file registream-1.0.1-py3-none-any.whl.
File metadata
- Download URL: registream-1.0.1-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9812d846fdd3f596d20e3493de34915f1c4f1c3044624a64fd5af14a29efcbb1
|
|
| MD5 |
cb78c23f7a0d2b5141d76c46a057bfac
|
|
| BLAKE2b-256 |
8297330177a8f76b04e7c32e3902bade6a3e04eee81545e6d42a53e72cef6a73
|