semvec/pypi-packages huggingface dataset:
dynamodb-serialise 1.1.0
DynamoDB value serialisation and deserialisation
License: MIT
Requires Python: ~=3.7
Keywords: dynamodb, serialisation

# DynamoDB value serialisation and deserialisation
Convert values from AWS DynamoDB to native Python types.

Makes more sensible decisions about numbers and binary values, at the cost of
floating-point precision. Very lightweight.

## Installation
```shell
pip install dynamodb-serialise
```

## Usage
```python
import dynamodb_serialise

dynamodb_serialise.deserialise(
    {"M": {"foo": {"N": "42"}, "bar": {"B": "c3BhbQ=="}}}
)
# {'foo': 42, 'bar': b'spam'}

dynamodb_serialise.serialise(
    {'foo': 42, 'bar': b'spam'}, bytes_to_base64=True
)
# {"M": {"foo": {"N": "42"}, "bar": {"B": "c3BhbQ=="}}}
```

### Command-line
Can be run to transform values at the command-line, transforming stdin to stdout as
JSON. Pass `-d` to deserialise instead of serialise.

The following example uses [AWS CLI (`aws`)](https://aws.amazon.com/cli/) to produce
DynamoDB values in lists of objects, [`jq`](https://jqlang.github.io/jq/) to convert the
[scan](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Scan.html)
result to full DynamoDB values, and `dynamodb-serialise` to convert to native types.

```shell
aws dynamodb scan \
  --table-name my-table \
  | jq '{ L: .Items | map({ M: . }) }' \
  | python3 -m dynamodb_serialise -d
```
nepali-date-cli 0.1.8
A command-line tool to display Nepali date in your terminal.
License: MIT
Requires Python: >=3.6
Keywords: nepali date cli terminal miti

# Nepali Date CLI

A simple command-line tool to display Nepali dates with beautiful boxed output and Nepali numerals (देवनागरी अंक).

## Installation

You can install this package using pip:

```bash
pip install nepali-date-cli
```

To upgrade to the latest version:

```bash
pip install --upgrade nepali-date-cli
```

## Usage

### Command Line
After installation, you can use the `miti` command in your terminal:

```bash
miti
```

This will display both the current English date and the corresponding Nepali date with Nepali numerals in a beautiful boxed format.

> **Note:** The old `nepdate` command is deprecated and will show a warning. Please use `miti` instead.

## Example Output

```
┌─────────────────────────────────────────────────────────┐
│                     Today's Date                        │
├─────────────────────────────────────────────────────────┤
     नेपाली मिति    २०८२-३-१४ (असार १४)      शनिबार       
     English Date   2025-06-28 (June 28)     Saturday       
└─────────────────────────────────────────────────────────┘
```

## Features

- Displays current English date with day name
- Shows Nepali date in Devanagari numerals (देवनागरी अंक)
- Includes Nepali day names (e.g., आइतबार, सोमबार, etc.)
- Beautiful boxed output format
- Simple command-line interface
- Can be used as a Python module

## Requirements

- Python 3.6+
- nepali-datetime package (automatically installed)