semvec/pypi-packages huggingface dataset:
PyAnanyo 1.0.0
PyTools is a versatile Python library designed to provide developers with a wide range of tools and utilities for various tasks. From basic mathematical operations to complex geometry calculations, PyTools aims to simplify coding tasks and enhance productivity. With its intuitive API and comprehensive documentation, PyTools is suitable for beginners and experienced developers alike.
Requires Python: >=3.6


    PyTools is a versatile Python library designed to provide developers with a wide range of tools and utilities for various tasks. From basic mathematical operations to complex geometry calculations, PyTools aims to simplify coding tasks and enhance productivity. With its intuitive API and comprehensive documentation, PyTools is suitable for beginners and experienced developers alike.

    PyTools includes modules for basic mathematical operations (pymath.basic), geometric calculations (pymath.geometry), and utility functions (pyutils). The pymath.basic module provides functions for addition, subtraction, multiplication, and division, while the pymath.geometry module offers functions for calculating areas, volumes, and surface areas of various geometric shapes such as rectangles, squares, cuboids, cubes, circles, spheres, and cylinders. The pyutils module includes functions for handling user input, such as automatic conversion of string inputs to integer or float values.

    Whether you're working on a simple scripting task or a complex software project, PyTools can help streamline your development process and make your code more efficient and readable.
pykatana 1.0.12
A Python-based build system for creating static websites with ease and flexibility.


# pykatana

**pykatana** is a Python-based build system designed for creating static websites with ease and flexibility.

## Overview

A **Katana** project comprises several essential components:

1. **`src/make.py`**: This file contains a `run` function responsible for building the website. Whenever the contents of the `src` folder change, this function is triggered. It takes an EZJinja object and processes the templates to generate the website.

2. **Jinja2 Templates**: Found in the `src/templates` directory, these templates form the backbone of your website's structure and content. They provide the flexibility to customize and design your site according to your requirements.

3. **Static Files**: The `src/static` directory houses static files such as CSS, JavaScript, images, and other assets required for your website. These files are served directly to users without any processing.

4. **Meta Technique Files**: Located in the `src/meta` directory, these files enable dynamic content generation for your website. Using the meta technique, you can access and utilize metadata stored in JSON files within your Jinja2 templates. This allows for dynamic updates and customization of your site based on external data sources.

## Installation

### Method 1: Install via pip

You can install **pykatana** using pip:
```bash
pip install pykatana
```

### Method 2: Use prebuilt executables
Download prebuilt executables from the Releases section.

### Method 3: Clone the repository
Clone the repository and copy "pykatana/pykatana" inside your project folder. You can then access **pykatana** using:

```bash
python3 -m pykatana [args]
```

### Method 4: Clone and build from source
1. Clone the repository:
```bash
git clone https://github.com/adanayi/pykatana.git
cd pykatana
```
2. Copy the necessary files:
```bash
cp -r pykatana/project_make/* .
```
3. On Linux:
```bash
./make.sh
```
On Windows:
```bash
./make.bat
```
On Mac:
**pykatana** never supports mac.

4. The executable will be generated as ./dist/pykatana (or pykatana.exe).

## Usage
### How to use pykatana?
#### Method1: Executable files (prebuilt or built)
```bash
pykatana [args]
```


#### Method2: With python packages (pip3 or clone)
```bash
python3 -m pykatana [args]
```

### Usage modes
#### Development server
cd to your project's folder (root), then simply run **pykatana** without any args. If the folder is empty, pykatana initializes it and opens the development server. Otherwise, it sets up the development server, allowing you to continue your development.

#### Deploy
The output of your project will always be put into the ./build folder alongside ./src. You can statically serve this folder. If you want to only build the folder without starting the development server, you can use:
```bash
pykatana -b
```
or
```bash
python3 -m pykatana -b
```

## License
This project is licensed under the GNU General Public License v3.0.
b3o-fedlearn 1.0.0
a project for federated learning using AWS
Requires Python: >=3.8

# b3o_fedlearn
AWS를 활용한 연합학습을 진행하기 위한 패키지 입니다.

## Installation

패키지를 설치하기 위해서는 다음과 같은 pip 명령어를 사용합니다:
```python
pip install b3o-fedlearn
```


## Getting Started

패키지를 사용하는 방법에 대한 간단한 예제입니다:

```python
# 연학학습을 위한 환경셋팅
from b3o_fedlearn import client_setup
client_setup.setup()

# 데이터 셋 준비
from b3o_fedlearn import data_processing
data_processing.input_fn(file_path, target_col)

# 연합학습 진행
from b3o_fedlearn import fedlearner
fedlearner.FL_start(member_ID, 
                    config_client, 
                    x_train_client, 
                    y_train_client, 
                    x_test_client, 
                    y_test_client)
```


## Contributing
여러분의 기여를 환영합니다. 이슈를 등록하거나 풀 리퀘스트를 보내주세요.

## License
MIT License 라이센스 하에 제공됩니다. 자세한 내용은 LICENSE 파일을 참조해주세요.
ds_extras 0.3.1
my demiansoft extras

### ds_extras

#### Introduction

demiansoft 에서 사용하는 장고앱 모음으로 analyticsds, calendards, popupds, utilsds 앱으로 구성되어 있다.

---
#### Requirements

Django >= 5.0.3
pillow >= 10.2.0

---
#### Install

```
>> pip install ds_extras
>> python manage.py makemigrations ds_extras
>> python manage.py migrate
```

settings.py

```
INSTALLED_APPS = [  
    ...
    
    'utilsds',  
    'popupds',  
    'analyticsds',  
    'calendards',  
]

...

MEDIA_URL = '/media/'  
MEDIA_ROOT = os.path.join(BASE_DIR, 'media/')  
X_FRAME_OPTIONS = 'SAMEORIGIN'
```

---
#### Composition

##### anlyticsds
네이버와 구글 애널리틱스 통계자료 수집을 위한 연결 코드를 만들어주는 앱

html 파일 내에서 다음 코드를 삽입하여 사용한다.
```html
{% load analyticsds_tags %}
{% make_analytics %}
```

프로젝트내 \_data 폴더안에 analyticsds.py 를 생성하여 다음의 형식으로 작성한다.
```
context = {  
    'analytics': {  
        'google_id': "구글 애널리틱스 아이디",  
        'naver_id': "네이버 애널리틱스 아이디",  
        'ads_id': "구글 애즈 아이디",  
        'conversion_click': {  
            # cta 버튼 수에 맞춰서 추가 한다.  
            'cta1': "전환추적 이벤트스니펫코드에서..",  
            'cta2': "전환추적 이벤트스니펫코드에서..",  
            'calling': "전환추적 이벤트스니펫코드에서..",  
        },  
    },  
}
```

1. 네이버 애널리틱스  
    - https://analytics.naver.com/ 에서 아이디 발급후 naver_id 변수에 입력  
2. 구글 애널리틱스  
    - https://analytics.google.com/ 에서 계정 및 속성 생성후 google_id 변수에 입력  
3. 구글 애즈  
    - ads_id 및 conversion_click, conversion_pageload 변수는 전환추적에 이용한다.  
    - https://ads.google.com/ 에서 전환을 생성하여 태그를 생성하여 이벤트 스니펫 코드를 등록한다.  
    (목표 - 전환 - 요약 - 전환 아이템에서 태그 설정)  
  
- conversion_click 딕셔너리 형식 의미  
  추적을 원하는 버튼 링크를 \<a href> 형식이 아닌 \<a onclick> 형식으로 제작하여 onclick에  {{ key }}\_gtag_report_conversion(url) 형식으로 함수를 호출한다.  
- cta 및 calling section 수정(함수 이름 맞추기)이 필요하다. 

##### calendards
달력 형식의 팝업창을 띄워주는 앱. 팝업창은 한개만 activation이 가능하기 때문에 관리자 창에서 popupds 앱 포함 1개만 activation 시켜줘야 한다.

html 파일 내에서 다음 코드를 삽입하여 사용한다.
```html
{% load calendards_tags %}  
{% show_calendar %}
```

admin 페이지에서 calendar, event 테이블에 달력과 날짜를 세팅하여 사용한다.

##### popupds
이미지 형식의 팝업창을 띄워주는 앱 형식에 따라 5가지를 준비해 놓았다. 팝업창은 한개만 activation이 가능하기 때문에 관리자 창에서 calendards 앱 포함 1개만 activation 시켜줘야 한다.

html 파일 내에서 다음 코드를 삽입하여 사용한다.
```html
{% load popupds_tags %}  
{% show_popup %}
```

admin 페이지에서 type1 - 5 테이블에 형식을 세팅하여 사용한다.

##### utilsds
여러가지 유틸리티 태그 모음앱으로 현재 split 태그 사용가능하다.

```
{{ "test/utils/app"|split:"/" }}

-> ['test', 'utils', 'app']
```
value 값을 / 을 단위로 나눠서 리스트 형식으로 반환한다.

또는 views.py 에서 직접 불러서 사용할수 있다.
```python
from ds_extras.utilsds import utils
```

get_json(path: str) - json 형식의 데이터 파일을 불러온다.
mail_to(title: str, text: str, mail_addr) - 메일을 보낸다.
make_robots() - robots.txt에 해당하는 내용을 만들어 반환한다.
django-multipageforms 0.7.0
Form wizard is dead, long live multipageforms
Requires Python: >=3.8

===================================
django-multipageforms Documentation
===================================

Compatibility:

0.7.x:

* Python >= 3.8
* Django >= 3.2

Installation
============

Install the library, for instance with pip::

    pip install django-multipageforms


Demo
====

Copy the entire django-multipageforms directory somewhere, set up and
enter a virtualenv, then provided you are on some Un*x::

    make demo

This'll automatically make a user "admin" with the password "demo".

The demo should now be running on http://127.0.0.1/

Running `make demo` again will erase the database from the previous
run.

Tests
=====

To run the tests, first install the testing-requirements::

    pip install -r requirements/test.txt

Provided you have a python on your path you can then run the tests with::

    python runtests.py

You can also test with tox::

    tox


:Version: 0.7.0
django-mailrobot 0.8.1
Stores and sends canned email responses.
Requires Python: >=3.8

================
django-mailrobot
================

Stores and sends canned email responses.

Ever had to change the signature or add a recipient to N hardcoded emails
spread all throughout your code? Hardcode no more! Use mailrobot instead.

Depends on Django, with a version between 1.11 and 2.2, inclusive.

Installation
============

1. Install the library, for instance with pip::

    pip install django-mailrobot

2. Add the library to your INSTALLED_APPS of an exiting project::

    INSTALLED_APPS += ['mailrobot']

3. Add the tables to the existing project.

   ::

        $ ./manage.py migrate

Demo
====

Copy the entire django-mailrobot directory somewhere, set up and enter a
virtualenv, then provided you are on some Un*x::

    make demo

This'll create a demo-user "demo" with the password "demo".

The demo should now be running on http://127.0.0.1/

Tests
=====

To run the tests, first install the testing-requirements::

    pip install -r requirements/test.txt

then run the tests with::

    make test APP=mailrobot

Development
===========

Install the dev-requirements with::

    pip install -r requirements/test.txt

This'll give you ipython for a prettier shell-experience, but more importantly
it'll install pre-commit. Pre-commit will check for syntax errors and merge
conflicts, and fix trailing whitespaces and mixed line-endings for you.

Usage
=====

Add mails and addresses through the django admin.

In code
-------

Fetch a mail-template::

    template = Mail.objects.get(name='hello-world').

Fill it::

    mail = template.make_message(
        sender='Yep <overridden-from@example.com'>,
        recipients=('extra1@example.com', u'Blåbærsyltetøy <extra2@example.com>'),
        context={'world': 'Mailrobot'}
    )

Have a look::

    print mail.message

Send it::

    mail.send()

Niceties
========

In case you need to send an email somewhere else for
testing/debugging, clone an existing email in the admin:

1. Select it
2. Choose "Clone selected mails" in the action list
3. Hit "Go"

The clone will share everything with its original except the name,
which will be suffixed with a timestamp.

Edit the name of the clone to what you need, change recipients,
CCs, BCCs. Then, where you send the mail from, choose the clone if
settings.DEBUG is True.

:Version: 0.8.1
censius 1.9.1
API for Censius SDK

## To Install Main Package

```
pip install censius -U

```

## To Install Dev Package
```
 pip install --trusted-host pypi-dev.eastus.azurecontainer.io:8080 \
 --index-url http://pypi-dev.eastus.azurecontainer.io:8080/simple/ censius -U
```

## API Reference to execute operation

https://documentation.censius.ai/api-reference

## Testing
 - build the package with below command
 ```
    python setup.py sdist
 ```
 your package will be available in dist folder

 - install package in local venv
 ```
    pip install your_package_name
 ```
FSI-DQ 1.0.1
DQ Solution to answer all DQ needs.
Requires Python: >=3.6

Make sure you have upgraded version of pip
Windows

py -m pip install --upgrade pip
Linux/MAC OS

python3 -m pip install --upgrade pip
Create a project with the following structure
packaging_tutorial/
├── LICENSE
├── pyproject.toml
├── README.md
├── setup.cfg
├── src/
│   └── example_package/
│       ├── __init__.py
│       └── example.py
└── tests/
touch LICENSE
touch pyproject.toml
touch setup.cfg
mkdir src/FSI_DQ
touch src/FSI_DQ/__init__.py
touch src/FSI_DQ/main.py
mkdir FSI_DQ

#pyproject.toml
This file tells tools like pip and build how to create your project

[build-system]
requires = [
    "setuptools>=42",
    "wheel"
]
build-backend = "setuptools.build_meta"
build-system.requires gives a list of packages that are needed to build your package. Listing something here will only make it available during the build, not after it is installed.

build-system.build-backend is the name of Python object that will be used to perform the build. If you were to use a different build system, such as flit or poetry, those would go here, and the configuration details would be completely different than the setuptools configuration described below.

Setup.cfg setup
Using setup.cfg is a best practice, but you could have a dynamic setup file using setup.py

[metadata]
name = example-pkg-YOUR-USERNAME-HERE
version = 0.0.1
author = Example Author
author_email = author@example.com
description = A small example package
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/pypa/ODP_DQ
project_urls =
    Bug Tracker = https://github.com/pypa/ODP_DQ/issues
classifiers =
    Programming Language :: Python :: 3
    License :: OSI Approved :: MIT License
    Operating System :: OS Independent

[options]
package_dir =
    = src
packages = find:
python_requires = >=3.6

[options.packages.find]
where = src

Running the build
Make sure your build tool is up to date
Windows

py -m pip install --upgrade build
Linux/MAC OS

python3 -m pip install --upgrade build
Create the build
py -m build
References
https://packaging.python.org/tutorials/packaging-projects/