semvec/pypi-packages huggingface dataset:
AngularCurdGen 0.3.0
Use for generate angular curd codes.

## Install

## Name Rule
- app_name: snake case
- model_name: camel case single/plural
- field_name: snake case

## Usage
- generate angular codes
```python
# declare model by pydantic, must single(User) not plural(Users)
class User(BaseModel):
    id: int
    username: str
    password: Optional[str] = None
    firstname: str
    lastname: str
    nickname: str = ''
    gender: str
    birthday: str
    role: str
    email: str
    mobile: str
    address: str
    active: int
    created: datetime

# declare model admin
class UserAdmin(ModelAdmin):
    model_fields = ('id', 'username', 'lastname', 'firstname', 'gender', 'birthday', 'role', 'active', 'created')
    list_display_restraint = model_fields
    list_editable_restraint = ('username', 'gender')
    model_edit_fields = ('username', 'lastname', 'firstname', 'gender', 'birthday', 'role', 'active')
    model_create_fields = model_edit_fields
    model_translate_fields = ('ID', '用户名', '姓氏', '名字', '性别', '生日', '角色', '是否激活', '创建时间')

# generate angular codes
mr = ModelRegister(model_admin=UserAdmin, model=User, app_name='first')
mr.register()

# copy all files to angular src/app
```
- add module to imports in app.module.ts or add module router to imports in app-routing.module.ts

### frontend
#### once
- install
```bash
ng new project-name --no-standalone
ng add ng-zorro-antd
npm install dayjs
```
#### code
- env
```bash
ng g environments # angular17
# set backend: 'http://localhost:8000'

```
- config icon
- angular.json
```
"styles": [
  "node_modules/ng-zorro-antd/ng-zorro-antd.min.css",
  "src/styles.css"
],
```
- app.component.html
```html
<router-outlet></router-outlet>
```
#### module
1. add module to imports in app.module.ts
2. or add module router to imports in app-routing.module.ts






- 0.3.0 Generate angular and rust axum codes
sbcli 1.0.61
CLI for managing SimplyBlock cluster


# Simply Block
[![Docker Image Build](https://github.com/simplyblock-io/sbcli/actions/workflows/docker-image.yml/badge.svg)](https://github.com/simplyblock-io/sbcli/actions/workflows/docker-image.yml)

[![Python Unit Testing](https://github.com/simplyblock-io/sbcli/actions/workflows/python-testing.yml/badge.svg)](https://github.com/simplyblock-io/sbcli/actions/workflows/python-testing.yml)


## Install
Add the package repo from AWS CodeArtifact using [awscli](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)

```bash
aws codeartifact login --tool pip --repository sbcli --domain simplyblock --domain-owner 565979732541 --region eu-west-1
```
Install package
```bash
pip install --extra-index-url https://pypi.org/simple sbcli-dev
```

# Components

## Simply Block Core
Contains core logic and controllers for the simplyblock cluster

## Simply Block CLI
Please see this document
[README.md](../main/simplyblock_cli/README.md)


## Simply Block Web API
Please see this document
[README.md](../main/simplyblock_web/README.md)



### local development

FoundationDB requires a client library (libfdb_c.dylib) for the Python bindings to interact with the database.
Depending on the OS architecture, please install the appropriate version from the official github repo

```
wget https://github.com/apple/foundationdb/releases/download/7.3.3/FoundationDB-7.3.3_arm64.pkg
```

setup the code on a management node and the webApp code can be developed by building the `docker-compose-dev.yml` file.


```
sudo docker compose -f docker-compose-dev.yml up --build -d
```
astmain 0.0.155
描述:我的工具包💗2024/07/01💗10_52_53#💗 pip install  astmain==0.0.155  

# 安装方式

    pip uninstall astmain  -y
    pip install     astmain

# 依赖包

    pip install requests
    pip install pyppeteer
    pip install pyppeteer_stealth

    pip install arrow

    pip install nuitka
    pip install pytoml
    pip install toml
    pip install flit