semvec/pypi-packages huggingface dataset:
ftpleasant 0.1.1
A wrapper built on top of python's built-in FTPlib to simplify operations such as uploading or download files from a server
Requires Python: >=3.7

## ftpleasant

A wrapper built on top of python's built-in FTPlib to simplify operations such as uploading or download files from a server.

This module is meant as a replacement to codebynumber's [_ftpretty_](https://github.com/codebynumbers/ftpretty) as that project includes functionality which I deemed unnecessary and does not include other functionality. 

On top of what ftpretty can do, ftpleasant:
- Drops support for Python 2
- Separates the content putting/getting functions into their own functions, for more explicit programming
- Adds a function for the welcome message, as well as retrieving server functionality
- Adds support for usage with the "with" keyword
- Has prettier returns (e.g. get() returns a dict containing some info about the operation)

Unrecognised commands are not passed to the underlying FTP or FTP_TLS object. This was done on purpose to encourage more explicit and safer programming.

Supports Python 3.7+
Banz-domainfile-generator 1.1.0
Package to generate a base structure for given java objects.
Requires Python: >=3.9

# domain file generator

Provided information about object names and fields, creates base java classes for the objects

## Usage

call domainfile_generator.run(objects: string, paths: dict).

- objects: comma separated string of objects to be created. Contains:
  - package
  - objectName
  - fields (name,type,required(optional))
    - Possible data types:
      - INTEGER
      - STRING
      - DECIMAL
      - BOOLEAN
      - DATE
      - TIMESTAMP
      - ENUM (with slash-separated list of name and values)
      - REFERENCE and INCOMING_REFERENCE (both followed by /n for multiple targets, /1 or nothing for a to-1 relationship)
    - An example object "Person" inside the package "company" could look like this: "company;Person;name,STRING,required;firstName,STRING;dateOfBirth,DATE;gender,ENUM(Gender/MALE/FEMALE/DIVERSE),required;employments,INCOMING_REFERENCE(company.Employment/n);manager,REFERENCE(company.Person)"
- paths: dict with different paths to define the structure of the project. e.g.: <br>
  paths = {<br>
    'domain': '\\backend\\domain\\src\\main\\java\\org\\derbanz\\test\\domain\\',<br>
    'schema': '\\backend\\domain\\src\\main\\resources\\schema\\',<br>
    'logic': '\\backend\\logic\\src\\main\\java\\org\\derbanz\\test\\logic\\',<br>
    'commonService': '\\backend\\service\\common\\src\\main\\java\\org\\derbanz\\test\\commonservice\\',<br>
    'uiService': '\\backend\\service\\ui\\src\\main\\java\\org\\derbanz\\test\\uiservice\\'<br>
}

## Example

```
from Banz_domainfile_generator import domainfile_generator

csv = "company;Person;name,STRING,required;firstName,STRING;dateOfBirth,DATE;gender,ENUM(Gender/MALE/FEMALE/DIVERSE),required;employments,INCOMING_REFERENCE(company.Employment/n);manager,REFERENCE(company.Person)"
paths = {
    'domain': '\\test\\backend\\domain\\src\\main\\java\\org\\derbanz\\test\\domain\\',
    'schema': '\\test\\backend\\domain\\src\\main\\resources\\schema\\',
    'logic': '\\test\\backend\\logic\\src\\main\\java\\org\\derbanz\\test\\logic\\',
    'commonService': '\\test\\backend\\service\\common\\src\\main\\java\\org\\derbanz\\test\\commonservice\\',
    'uiService': '\\test\\backend\\service\\ui\\src\\main\\java\\org\\derbanz\\test\\uiservice\\'
}
domainfile_generator.run(csv, paths)

```