Skip to main content

less code, more power, AI included

Project description

Sweetheart 0.1.1

do better with low-code and low-costs python programs

A supercharged heart for the non-expert hands

Since Ubuntu 20.04 can be installed as usual softwares within Windows 10, it provides an incredible way for any organization to develop, deploy, and administrate powerful responsive web-apps including AI on its own local network keeping high capabilities of integration with the already existing tools like databases, MS-Excel, and SAP.

Sweetheart provides a simple Python/Html centric approach leading you implementing best components and best coding practices. Due to the top-rated place of the Python language regarding to data processing, calculations and AI, this makes sweetheart a fast and ideal toolkit to e-volute towards Industry4.0 precepts and innovative ideas.

Sweetheart is shared under the CeCILL-C FREE SOFTWARE LICENSE AGREEMENT.

Get coding full power including AI at the light speed

Sweetheart supports you getting coding full power from scratch:

  • easy to learn, easy to use
  • full documentation provided
  • built-in responsive user interfaces
  • quick and clean prototyping
  • quick and clean deployment
  • ready for maintenable great code quality
  • ready for datacenters, big-data and AI
  • ready for high performances, innovation and creativity

Stick to good standards without thinking about it

Sweetheart is a thin-layer for going efficient and doesn't reinvent the wheel. It just intends to transform you stepwise in a good driver and maybe in a pilot! Due to provided components, configuration and documentation you will learn quickly to make great python/html code including up-to-date best practices and patterns. You won't learn Sweetheart itself, you will learn Python/Html real programming life like any other developer, but gradually and under control. Meaning that you don't need any kind of expertise to use the good things in the right way.

The highest quality components which can be adopted by newbies

Sweetheart delivers a stock of ready-to-use features:

And all other nice things you wish using poetry, npm, apt and cargo: Sweetheart comes with the above mentioned package to support you saving time. Your are not forced to use these components, but these are what you should highly consider for starting new projects.

In a first approach consider it provides to you an incredible full-stacked sandbox. In a second time you will take benefits of Sweetheart as a convenient super-orchestrator for low-costs.

Keep permanently innovative capabilities

The following sweetheart development chart allows to evaluate coding and costs efforts for implementation of most important and innovative features at the date of today.

Coding effort Costs effort
Build responsive webapp with default libs FAST FREE
Build responsive datavisualizations MIDDLE FREE
Run MongoDB/webserver on local network FAST FREE
Improve code quality and reinforce security EXPERT CHEAP
Run MongoDB/webserver as internet services MIDDLE MODERATE
Implement AI capabilities MIDDLE MODERATE
Implement SAP gateway MIDDLE MODERATE
Erect and run a dedicated datacenter EXPERT HIGH

Code examples

your first webpage controller written in Python

from sweetheart.sweet import quickstart
from sweetheart.heart import Route, HTMLResponse

quickstart( Route("/", HTMLResponse("<h1>Welcome!</h1>")) )

your first sweet Html webpage

%rebase("HTML")

<div style="text-align:center;">
  <h1>Welcome!</h1>
  <p>get coding full power at the light speed now</p>
</div>

Install and run Sweetheart

WSL must be set up on Windows 10

Discovering what is the WSL, have a look at the Microsoft documentation. Then install Ubuntu 20.04 via the Windows Store. At this step installing VS Code and Windows Terminal can be recommended to you too. When done click on Ubuntu within start menu, and now Bash is runing!

first steps with Bash

# set prerequisites
curl -sSL https://raw.githubusercontent.com/IncredibleProgress/sweetheart.py/master/get-sweetheart.py | python3 -

# then restart bash and get initial components
bash
sws sweet --init

# at last run sweetheart enabling JupyterLab 
sws start --jupyter-lab

There is here no heavy installation process which could badly interact with the operating system. Everything goes and runs safely within dedicated /home directories. Click-here for detailed informations.

get power with many additionnal resources

# interested for calculation, machine-learning, ms-excel
sws install science

# interested for processing or scraping the web
sws install web

Epilogue: a new life starts now

Even at this Beta-stage, Sweetheart allows you to make a lot by yourself. Enjoy discovering and learning how coding can help and support you, using amazing raw materials widely used by GAFAM and others!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sweetheart-0.1.1b0.tar.gz (21.4 kB view hashes)

Uploaded Source

Built Distribution

sweetheart-0.1.1b0-py3-none-any.whl (20.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page