semvec/pypi-packages huggingface dataset:
dapodik 0.19.0
SDK python untuk aplikasi dapodik.
License: MIT
Requires Python: >=3.7,<4.0
Keywords: dapodik,kemdikbud,python-module,python-sdk,python-wrapper

# dapodik

[![dapodik - PyPi](https://img.shields.io/pypi/v/dapodik)](https://pypi.org/project/dapodik/)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/dapodik)](https://pypi.org/project/dapodik/)
[![LISENSI](https://img.shields.io/github/license/dapodix/dapodik)](https://github.com/dapodix/dapodik/blob/master/LISENSI)
[![Donate Saweria](https://img.shields.io/badge/Donasi-Saweria-blue)](https://saweria.co/hexatester)
[![Tutorial](https://img.shields.io/badge/Tutorial-Penggunaan-informational)](https://github.com/dapodix/dapodik/wiki)
[![Tests](https://github.com/dapodix/dapodik/workflows/Tests/badge.svg)](https://github.com/dapodix/dapodik/actions?query=workflow%3ATests)
[![codecov](https://codecov.io/gh/dapodix/dapodik/branch/master/graph/badge.svg)](https://codecov.io/gh/dapodix/dapodik)
[![Code Style - Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

SDK python untuk aplikasi dapodik.

## Install

Pastikan [python 3.7+](https://www.python.org/ftp/python/3.7.9/python-3.7.9-amd64.exe) terinstall,
kemudian jalankan perintah di bawah dalam Command Prompt atau Powershell (di Windows + X):

```bash
pip install --upgrade dapodik
```

## Penggunaan

Contoh pennggunaan

```python
from dapodik import Dapodik

email = 'email@saya.com'
password = 'password dapodik'

d = Dapodik(email, password)
sekolah = d.sekolah()
daftar_peserta_didik = d.peserta_didik(sekolah_id=sekolah.sekolah_id)
for peserta_didik in daftar_peserta_didik:
    print(peserta_didik.nama)
```

## Legal / Hukum

Kode ini sama sekali tidak berafiliasi dengan, diizinkan, dipelihara, disponsori atau didukung oleh [Kemdikbud](https://kemdikbud.go.id/) atau afiliasi atau anak organisasinya. Ini adalah perangkat lunak yang independen dan tidak resmi. _Gunakan dengan risiko Anda sendiri._
arcpy-util 0.4.4
Collection of arcpy helper classes and functions
License: MIT
Keywords: arcpy,util,arcgis,esri,cursor

# `arcpy-util`

Utility classes and functions for arcpy

## Install 

```shell
python -m pip install arcpy-util
```

## Example

### `arcpyutil.xcursor`

### Using `xcursor(cursor)`

```python
import arcpy, arcpy.da

from arcpyutil import xcursor

feature_class = "points.shp"

with arcpy.da.SearchCursor(feature_class, ["FieldName"]) as cursor:

    for row in xcursor(cursor):
        
        print(row["FieldName"])  # instead of row[0]

        # other examples
        print(row.get("FieldName", "Default Value"))
        print(row.get_by_index(0, "Default Value"))
```

#### Using `to_row()`

See `test/xcursor_test.py` (test `test_to_row`) for an example.

### `arcpyutil.tcursor`

### Using `tcursor(cursor)`

```python
import arcpy, arcpy.da

from arcpyutil import tcursor

feature_class = "points.shp"

with arcpy.da.SearchCursor(feature_class, ["FieldName"]) as cursor:

    for row in tcursor(cursor):

        print(row.FieldName)  # instead of row[0]
```

### `arcpyutil.fc`

#### Using `use_memory()`

```python
import arcpy, arcpy.management

from arcpyutil import fc

arcpy.env.workspace = r"c:\data"

with fc.use_memory() as copied:

    print(arcpy.Exists(copied))  # false (not yet)
    arcpy.management.CopyFeatures("buildings.shp", copied)
    print(arcpy.Exists(copied))  # true

print(arcpy.Exists(copied))  # false
```

#### Using `count(fc)`

```python
import arcpy

from arcpyutil import fc

record_count = fc.count(r"c:\data\buildings.shp")

print(record_count)
```

### `arcpyutil.typings`

```python
import arcpy, arcpy.management

from arcpyutil.typings import FeatureClassType

def create_feature_class() -> FeatureClassType:
    return arcpy.management.CreateFeatureclass(r"c:\temp", "test.shp")

print(create_feature_class())
```

## Run Unit Tests

```shell
cd c:\projects\arcpy-util
[conda activate arcgispro-py3]
python test.py
```
pymlfs 0.1.0
machine learning models from scratch
License: MIT
Requires Python: >=3.9,<3.13

# pymlfs

pymlfs: Machine Learning From Scratch

pymlfs implements classical machine learning models from scratch. Implementations are presented as simply as possible, as the library is designed for educational purposes. 

## Installation

```bash
$ pip install pymlfs
```

## Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

## License

`pymlfs` was created by Youssef Achenchabe. It is licensed under the terms of the MIT license.
pyption 1.0.0
type Option, Some contains some value and Nothing contains absolutely nothing.
License: MIT
Requires Python: >=3.10,<4.0
Keywords: python,option type,rust option,some nothing

# pyption

type Option, Some contains some value and Nothing contains absolutely nothing.


Install using PyPI:

```
pip install pyption
```

* type `Option` -> *Some[*`Value`*]* | *NothingType*
* *Some(`value: Value`)*
* *NothingType()*
* *Nothing* -> `singleton`
  
Option methods:
* unwrap
* unwrap_or
* unwrap_or_other
* map
* map_or
* map_or_else
* expect

Simple example:

```python
import typing

from pyption import Some, Nothing, Option

T = typing.TypeVar("T")


def cast_obj(obj: object, tp: type[T]) -> Option[T]:
    try:
        return Some(tp(obj))
    except (TypeError, ValueError):
        return Nothing


assert cast_obj("123", int).unwrap() == 123  # ok, some value!
assert cast_obj(123, tuple[int]).unwrap_or(tuple()) == tuple()  # ok, alternate value!
assert cast_obj((("name", "Max",),), dict[str, str]).map(lambda d: d["name"]).unwrap() == "Max"  # ok, some value from map!
assert cast_obj(999, set[int])  # fail, nothing!
```

Example usage [*HERE*](https://github.com/luwqz1/pyption/blob/main/example.py)
gsec 1.0.1
Store secrets in a git repository. (Use under your OWN risk)
License: MIT
Requires Python: >=3.9

# Git-Secret

## Requirements

- git
- [github-cli](https://cli.github.com/)
- `SECRET_KEY` environment variable or `.key` file in the root of the repository
> You can generate a secret key automatically by leaving the `SECRET_KEY` environment variable empty. It will be stored in the `.key` file.

## Installation

### Pip

```bash
pip install gsec
```

### From source

```bash
git clone 
cd git-secret
pip install -r requirements.txt
python src/main.py --help
```

## Usage

```bash
Usage: main.py [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  add     Add a new secret
  delete  Delete a secret by ID
  edit    Edit a secret by ID
  list    List all secrets
  show    Show a secret by ID
```

## TODO

- [x] Add configuration file (json)
	- [x] Change repo path
	- [ ] ~Change secret key~
- [ ] Create packages
  - [x] PyPI
  - [ ] AUR
  - [ ] COPR
- [ ] Add tests
- [ ] Change the way `show` displays the secrets