Python  Library

Python Library

1657481760

Artisan | Visual Scope for Coffee Roasters Written in Python

Artisan

Visual scope for coffee roasters

WARNING: pre-release builds may not work. Use at your own risk.

Summary

Artisan is a software that helps coffee roasters record, analyze, and control roast profiles. When used in conjunction with a thermocouple data logger or a proportional–integral–derivative controller (PID controller), this software can automate the creation of roasting metrics to help make decisions that influence the final coffee flavor.

Donations

This software is open-source and absolutely free, also for commercial use.

If you think Artisan is useful to you, contribute financially to its further development. Send any amount via my PayPal.Me page. Thanks!

Home roasting enthusiasts often donate 10-100.- (in $ or EUR), while small roasting businesses and consultant that use Artisan in their daily work tend to donate 100-300.- (in $ or EUR). For extra tech support, please inquire.

Download (macOS/Windows/Linux)

Installation Instructions

Documentation

PLEASE FOLLOW AND TAG US!            

Version History


Detailed Release History

VersionDateComment
v2.6.0Mar 11, 2022Adds support for a number of additional machines, the new Phidget HUB0001 and the Phidget VCP100x modules, the new generation Acaia Pearl-S/Pearl2021/Lunar2021 scales, adds a CHARGE timer, quadratic and RoR projections, an enhanced cursor coordinates widget, LCD cursor function, PDF reports, BBP support to Roast Comparator, some Roast Simulator enhancements, a slider mapping calculator, an artisan.plus custom blend editor, notifications, many keyboard shortcuts, Ukrainian localization, performance and stability improcements as well as macOS and Windows legacy builds
v2.4.6Jul 30, 2021Adds energy and CO2 calculator, new setups for Probat UG and G Series machines with control functionality, the new FZ94 EVO machine by Coffee-Tech, as well as machines of Roastmax, Craftsmith and Carmomaq, updates Giesen setups to control additional actors on larger machines, adds support for the Yoctopuce modules Yocto-0-10V-Rx, Yocto-milliVolt-Rx and Yocto-Serial, extends Chinese and Spanish translations and adds translations for Vietnamese, Danish, Lativian, Slovak and Scottish (last version supporting Windows 8, but legacy build of v2.6.0 supports Windows 8)
v2.4.4Dec 14, 2020Adds machine setups for the Nordic PLC and Fabrica Roasters, importers for Rubasse and Aillio RoastWorld, as well as PID Ramp/Soak pattern actions and templates (last version supporting Raspbian Stretch)
v2.4.2Oct 2, 2020Adds support for machines of over 40 brands including the Probat PIII series, IKAWA v3 CSV and RoastLog profile import, "Source Han Sans" and "WenQuanYi Zen Hei" font options providing complete Chinese, Korean and Japanese character sets, sliders Bernoulli mode, and WebSocket communication (last version supporting macOS 10.13 and 10.14; legacy build of v2.6.0 again supports those systems)
v2.4.0Jun 3, 2020Adds Roast Comparator, Roast Simulator, and Profile Transposer, Cropster, IKAWA and Giesen Software profile import, flexible automatic file name generator, special event annotations, large PhasesLCDs, support for Twino/Ozstar roasting machines and the Giesen IR sensor, S7 and MODBUS protocol optimizations and extensions, support for additional Phidgets and Yoctopuce IO modules
v2.1.2Dec 24, 2019Bug fixes
v2.1.1Nov 29, 2019Bug fixes
v2.1.0Nov 26, 2019Adds profile analyzer, extended symbolic formulas, background images, forward looking alarms and alarms triggered by temperature differences, support for the Atilla GOLD plus 7" II, the Besca Bee sample roaster, additional Coffed machines (SR3/5/15/25/60), Coffeetool Rxx machines with control, and popular Phidget sets (incl. the one featured in On Idle Noise)
v2.0.0Jun 4, 2019New icon and new look! Adds support for the artisan.plus inventory management service, Coffee-Tech Engineering Silon ZR7, Has Garanti HGS and HSR series, Kaldi Fortis, and the forthcoming Behmor 1kg
v1.6.2Mar 20, 2019Enables communication with Phidgets under the Mac OS X 10.14 security framework
v1.6.1Mar 10, 2019Adds support for the Sedona Elite 2in1 roaster, the Probat Roaster Middleware, the Aillio R1 v2 firmware incl. the new IBTS IR sensor, the Phidgets REL1000, REL1100, REL1101, and DAQ1400, the Phidget RC Servo API (Phidget RCC 1000, Phidget 1061, and Phidget 1066), the Yocotopuce Meteo ambient sensor and the Yocotopuce IR module, adds Brazilian portuguese translations and updated French translations
v1.5.0Oct 17, 2018Adds ArtisanViewer mode, Phidgets IO VoltageRatio, Program 78 and Program 910 devices, and support for manual Besca roasting machines
v1.4.0Oct 3, 2018Adds time guide, additional PhasesLCD configurations, export/convert to Excel and import/export to Probat Pilot v1.4, channel tare, playback DROP event, always ON mode, support for ambient data and Phidget ambient sensors HUM1000 and PRE1000, PID P-on-Measurement/Input mode, improved curve smoothing, machine support for Atilla GOLD plus 7", Besca roasting machines, Coffee-Tech Engineering Ghibli and Diedrich Roasters
v1.3.1May 20, 2018Adds support for Fuji PID PXF
v1.3.0Apr 15, 2018Adds Siemens S7 support, MODBUS BCD decode, color themes, extraction yield calculator, support for machines of Aillio, BC Roasters, Bühler, Coffed, Coffee-Tech, Coffeetool, Giesen, IMF, K+M, Loring, Proaster, San Franciscan, Toper, US Roaster Corp
v1.2.0Dec 21, 2017Adds replay by temperature, support for Phidgets API v22, Phidgets USB devices USB 1002, 1014, 1017 and VINT devices HUB0000, TMP1100, TMP1101, TMP1200, OUT1000,OUT1001, OUT1002, OUT1100, VOLTCRAFT PL-125-T2, as well as the VOLTCRAFT PL-125-T4, improved RoR and dropout handling (last version supporting Mac OS X 10.12 and Linux glibc 2.17; first version requiring the Phidget v22 driver)
v1.1.0Jun 10, 2017Adds Recent Roast Properties, Aillio Bullet R1 profile import and support for Probat Probatone 2 (last version supporting OS X 10.9, Windows XP/7 and 32bit OS versions; last version supporting the Phidget v21 driver)
v1.0.0Feb 24, 2017Adds internal software PID, external MODBUS PID control, Apollo DT301, Extech 755, fast MODBUS RTU, AUC, RPi build, and additional translations
v0.9.9Mar 14, 2016Adds batch and ranking reports, batch conversions, follow-background for Fuji PIDs, additional keyboard short cuts, and designer improvements (last version supporting OS X 10.7 and 10.8)
v0.9.8Oct 21, 2015Adds US weight and volume units and extended symbolic expressions and plotter, ln()/x^2 approximations
v0.9.7Jul 29, 2015Bug fixes
v0.9.6Jul 20, 2015Bug fixes
v0.9.5Jul 6, 2015Adds Batch counter and app settings export/import (last Windows Celeron and Mac OS X 10.6 version)
v0.9.4Jun, 6, 2015Bug fixes
v0.9.3May 15, 2015Adds Phidget 1051, Hottop KN-8828B-2K+, and one extra background curve
v0.9.2Jan 16, 2015Bug fixes
v0.9.1Jan, 3, 2015Adds Acaia scale support and WebLCD QR code
v0.9.0Nov 17, 2014MODBUS ASCII/TCP/UDP, Yocto Thermocouple and PT100, Phidget 1045 IR, Phidget 1046 Wheatstone Bridge wiring, Phidgets async mode, Polish translations, LargeLCDs, WebLCDs, 2nd set of roast phases, volume calculator, moisture loss and organic loss, container tare, RoR delta span, phasesLCDs showing Rao's development ratio
v0.8.0May 25, 2014Phidget IO, Phidget remote, Arduino TC4 PID, Mastech MS6514
v0.7.5Apr 6, 2014Bug fixes
v0.7.4Jan 13, 2014Bug fixes
v0.7.3Jan 12, 2014Bug fixes
v0.7.2Dec 19, 2013Bug fixes
v0.7.1Dec 2, 2013Bug fixes
v0.7.0Nov 30, 2013Phidget 1046/1048, phases LCDs, xkcd style, extended alarms, Tonino support
v0.6.0Jun 14, 2013Monitoring-only mode, sliders, extended alarms, Modbus RTU, Amprobe TMD-56, spike filter, additional localizations
v0.5.6Nov 8, 2012Bug fixes  (last Mac OS X 10.4/10.5 version)
v0.5.2Jul 23, 2011Delta DTA PID support, automatic CHARGE/DROP
v0.5.0Jun 10, 2011HHM28, wheel graph, math plotter, multiple and virtual devices, symbolic expressions, custom buttons
v0.4.0Apr 10, 2011Localization, events replay, alarms, profile designer
v0.3.4Feb 28, 2011Arduino TC4, TE VA18B, delta filter
v0.3.3Feb 13, 2011Fuji PXR5/PXG5, manual device, keyboard shortcuts, Linux
v0.3.0Jan 11, 2011New profile file format
v0.2.0Dec 31, 2010CENTER 300, 301, 302, 303, 304, 305, 306, VOLTCRAFT K202, K204 300K, 302KJ, EXTECH 421509
v0.1.0Dec 20, 2010Initial release

Download Details:
Author: artisan-roaster-scope
Source Code: https://github.com/artisan-roaster-scope/artisan
License: GPL-3.0 license

#python

What is GEEK

Buddha Community

Artisan | Visual Scope for Coffee Roasters Written in Python
Shardul Bhatt

Shardul Bhatt

1626775355

Why use Python for Software Development

No programming language is pretty much as diverse as Python. It enables building cutting edge applications effortlessly. Developers are as yet investigating the full capability of end-to-end Python development services in various areas. 

By areas, we mean FinTech, HealthTech, InsureTech, Cybersecurity, and that's just the beginning. These are New Economy areas, and Python has the ability to serve every one of them. The vast majority of them require massive computational abilities. Python's code is dynamic and powerful - equipped for taking care of the heavy traffic and substantial algorithmic capacities. 

Programming advancement is multidimensional today. Endeavor programming requires an intelligent application with AI and ML capacities. Shopper based applications require information examination to convey a superior client experience. Netflix, Trello, and Amazon are genuine instances of such applications. Python assists with building them effortlessly. 

5 Reasons to Utilize Python for Programming Web Apps 

Python can do such numerous things that developers can't discover enough reasons to admire it. Python application development isn't restricted to web and enterprise applications. It is exceptionally adaptable and superb for a wide range of uses.

Robust frameworks 

Python is known for its tools and frameworks. There's a structure for everything. Django is helpful for building web applications, venture applications, logical applications, and mathematical processing. Flask is another web improvement framework with no conditions. 

Web2Py, CherryPy, and Falcon offer incredible capabilities to customize Python development services. A large portion of them are open-source frameworks that allow quick turn of events. 

Simple to read and compose 

Python has an improved sentence structure - one that is like the English language. New engineers for Python can undoubtedly understand where they stand in the development process. The simplicity of composing allows quick application building. 

The motivation behind building Python, as said by its maker Guido Van Rossum, was to empower even beginner engineers to comprehend the programming language. The simple coding likewise permits developers to roll out speedy improvements without getting confused by pointless subtleties. 

Utilized by the best 

Alright - Python isn't simply one more programming language. It should have something, which is the reason the business giants use it. Furthermore, that too for different purposes. Developers at Google use Python to assemble framework organization systems, parallel information pusher, code audit, testing and QA, and substantially more. Netflix utilizes Python web development services for its recommendation algorithm and media player. 

Massive community support 

Python has a steadily developing community that offers enormous help. From amateurs to specialists, there's everybody. There are a lot of instructional exercises, documentation, and guides accessible for Python web development solutions. 

Today, numerous universities start with Python, adding to the quantity of individuals in the community. Frequently, Python designers team up on various tasks and help each other with algorithmic, utilitarian, and application critical thinking. 

Progressive applications 

Python is the greatest supporter of data science, Machine Learning, and Artificial Intelligence at any enterprise software development company. Its utilization cases in cutting edge applications are the most compelling motivation for its prosperity. Python is the second most well known tool after R for data analytics.

The simplicity of getting sorted out, overseeing, and visualizing information through unique libraries makes it ideal for data based applications. TensorFlow for neural networks and OpenCV for computer vision are two of Python's most well known use cases for Machine learning applications.

Summary

Thinking about the advances in programming and innovation, Python is a YES for an assorted scope of utilizations. Game development, web application development services, GUI advancement, ML and AI improvement, Enterprise and customer applications - every one of them uses Python to its full potential. 

The disadvantages of Python web improvement arrangements are regularly disregarded by developers and organizations because of the advantages it gives. They focus on quality over speed and performance over blunders. That is the reason it's a good idea to utilize Python for building the applications of the future.

#python development services #python development company #python app development #python development #python in web development #python software development

Art  Lind

Art Lind

1602968400

Python Tricks Every Developer Should Know

Python is awesome, it’s one of the easiest languages with simple and intuitive syntax but wait, have you ever thought that there might ways to write your python code simpler?

In this tutorial, you’re going to learn a variety of Python tricks that you can use to write your Python code in a more readable and efficient way like a pro.

Let’s get started

Swapping value in Python

Instead of creating a temporary variable to hold the value of the one while swapping, you can do this instead

>>> FirstName = "kalebu"
>>> LastName = "Jordan"
>>> FirstName, LastName = LastName, FirstName 
>>> print(FirstName, LastName)
('Jordan', 'kalebu')

#python #python-programming #python3 #python-tutorials #learn-python #python-tips #python-skills #python-development

Art  Lind

Art Lind

1602666000

How to Remove all Duplicate Files on your Drive via Python

Today you’re going to learn how to use Python programming in a way that can ultimately save a lot of space on your drive by removing all the duplicates.

Intro

In many situations you may find yourself having duplicates files on your disk and but when it comes to tracking and checking them manually it can tedious.

Heres a solution

Instead of tracking throughout your disk to see if there is a duplicate, you can automate the process using coding, by writing a program to recursively track through the disk and remove all the found duplicates and that’s what this article is about.

But How do we do it?

If we were to read the whole file and then compare it to the rest of the files recursively through the given directory it will take a very long time, then how do we do it?

The answer is hashing, with hashing can generate a given string of letters and numbers which act as the identity of a given file and if we find any other file with the same identity we gonna delete it.

There’s a variety of hashing algorithms out there such as

  • md5
  • sha1
  • sha224, sha256, sha384 and sha512

#python-programming #python-tutorials #learn-python #python-project #python3 #python #python-skills #python-tips

Iara  Simões

Iara Simões

1657363500

Como Usar Variáveis ​​de Referência De Modelo Em Angular

Neste post você aprenderá a usar variáveis ​​de referência de modelo, muitas vezes conhecidas como “Referências de modelo”, em Angular.

Em Angular, os componentes possuem uma templatepropriedade, que contém elementos e outros componentes. Uma variável de referência de modelo é um recurso que nos permite obter acesso a uma parte de nosso modelo.

Isso pode ser um elemento, componente ou pode ser uma diretiva. As variáveis ​​de referência de modelo são implementadas de maneira inteligente e podem ser usadas de várias maneiras.

A primeira pode ser simplesmente exportar uma referência a um elemento. Aqui podemos anexar a #a an <input>e fornecer um nome de variável (daí a referência do modelo 'variable'):

<input type="text" #coffee>

Você pode pensar nessa sintaxe como uma “exportação”. Estamos exportando uma referência ao elemento.

Isso significa que agora podemos acessar as propriedades dessa variável de referência como se ela fosse retornada para nós por meio de JavaScript simples (pense no que você voltaria usando document.querySelector('input')e é isso que temos aqui):

<input type="text" #coffee>

<p>{{ coffee.value }}</p>

Isso desconectaria uma string vazia coffee.value, pois não temos value. Nossa coffeevariável está nos dando diretamente um HTMLInputElement.

Para vermos o valor enquanto digitamos, precisaríamos introduzir a ngModelDiretiva:

<input type="text" ngModel #coffee>

<p>{{ coffee.value }}</p>

Experimente e digite algo no <input>:

https://stackblitz.com/edit/angular-ivy-t3y6jt?file=src%2Fapp%2Fapp.component.ts

Então aqui está o próximo grande recurso das referências de modelo.

Vamos exportar uma referência para o nosso ngModele mudar o contexto do que #coffeenos retorna.

Ao especificar #coffee, estamos implicitamente deixando o Angular decidir o que exportar, porque não estamos especificando nada além de vincular ao elemento.

Estamos vinculando ngModel, que agora é 'parte' do nosso <input>. Vamos exportá-lo:

<input type="text" ngModel #coffee="ngModel">

<p>Value: {{ coffee.value }}</p>
<p>Pristine: {{ coffee.pristine }}</p>
<p>Touched: {{ coffee.touched }}</p>

Ao passar #coffee="ngModel", estamos vinculando explicitamente uma referência à nossa ngModeldiretiva rastreada.

Não temos mais HTMLInputElement. Temos uma referência a NgControl.

Você pode verificar o código-fonte do NgControl aqui, que estende as classes NgControl e AbstractControlDirective .

Por que estamos olhando para isso? Porque ele mostra todas as propriedades disponíveis para você, e é exatamente por isso que referenciamos não apenas , valuemas pristinee touchedtambém.

Experimente-os abaixo, nossa variável de referência de modelo está espelhando o ngModel:

Podemos aprofundar isso e acessar um template ref dentro de um componente , para que possamos acessar propriedades e métodos de dentro do classe não apenas do template.

https://stackblitz.com/edit/angular-ivy-jwci6u?file=src%2Fapp%2Fapp.component.ts

Isso é conseguido usando talvez TemplateRefou ElementRefao lado de um @ViewChilddecorador. Leia o artigo acima sobre como fazer isso e um trabalho mais profundo, mas essencialmente se parece com isso:

@Component({...})
export class AppComponent {
  @ViewChild('username') input: ElementRef<HTMLInputElement>;
}

Essa é uma boa introdução às referências de modelo, e espero que dê a você uma compreensão mais profunda de como usá-las, quando e onde. Não apenas isso, mas o que esperar quando você declarar um template ref e como também exportar referências para coisas como diretivas.

Feliz refrão! 

Fonte: https://ultimatecourses.com/blog/angular-template-reference-variables

#angular 

Thierry  Perret

Thierry Perret

1657353600

Comment Utiliser Les Variables De Référence De Modèle Dans Angular

Dans cet article, vous apprendrez à utiliser les variables de référence de modèle, souvent appelées «références de modèle», dans Angular.

Dans Angular, les composants ont une templatepropriété qui contient des éléments et d'autres composants. Une variable de référence de modèle est une fonctionnalité qui nous permet d'accéder à une partie de notre modèle.

Il peut s'agir d'un élément, d'un composant ou d'une directive. Les variables de référence de modèle sont intelligemment implémentées et peuvent être utilisées de différentes manières.

La première pourrait être d'exporter simplement une référence à un élément. Ici, nous pouvons attacher un #à un <input>et fournir un nom de variable (d'où la référence de modèle 'variable'):

<input type="text" #coffee>

Vous pouvez considérer cette syntaxe comme une "exportation". Nous exportons une référence à l'élément.

Cela signifie que nous pouvons maintenant accéder aux propriétés de cette variable de référence comme si elle nous avait été renvoyée via du JavaScript simple (pensez à ce que vous obtiendriez en utilisant document.querySelector('input')et c'est ce que nous avons ici) :

<input type="text" #coffee>

<p>{{ coffee.value }}</p>

Cela déconnecterait une chaîne vide coffee.valuecar nous n'en avons pas value. Notre coffeevariable nous donne directement un HTMLInputElement.

Pour que nous puissions voir la valeur au fur et à mesure que nous tapons, nous aurions besoin d'introduire la ngModeldirective :

<input type="text" ngModel #coffee>

<p>{{ coffee.value }}</p>

Essayez-le et tapez quelque chose dans le <input>:

https://stackblitz.com/edit/angular-ivy-t3y6jt?file=src%2Fapp%2Fapp.component.ts

Voici donc la prochaine grande fonctionnalité des références de modèles.

Exportons une référence vers notre ngModelet changeons le contexte de ce qui #coffeenous renvoie.

En spécifiant #coffee, nous laissons implicitement Angular décider quoi exporter, car nous ne spécifions rien d'autre que la liaison à l'élément.

Nous relions ngModel, qui fait désormais « partie de » notre <input>. Exportons-le :

<input type="text" ngModel #coffee="ngModel">

<p>Value: {{ coffee.value }}</p>
<p>Pristine: {{ coffee.pristine }}</p>
<p>Touched: {{ coffee.touched }}</p>

En passant #coffee="ngModel", nous lions explicitement une référence à notre ngModeldirective suivie.

Nous n'avons plus de HTMLInputElement. Nous avons une référence à NgControl.

Vous pouvez vérifier le code source de NgControl ici, qui étend les classes NgControl et AbstractControlDirective .

Pourquoi regardons-nous cela? Parce qu'il vous montre toutes les propriétés disponibles pour vous, c'est exactement pourquoi nous avons référencé non seulement valuemais pristineaussi touched.

Essayez-les ci-dessous, notre variable de référence de modèle reflète lengModel :

Nous pouvons approfondir cela et accéder à une référence de modèle à l'intérieur d'un composant , afin que nous puissions accéder aux propriétés et aux méthodes à l'intérieur du classet pas seulement du template.

https://stackblitz.com/edit/angular-ivy-jwci6u?file=src%2Fapp%2Fapp.component.ts

Ceci est réalisé grâce à l'aide peut -être TemplateRefou ElementRefaux côtés d'un @ViewChilddécorateur. Lisez l'article ci-dessus sur la façon de le faire et un travail plus approfondi, mais cela ressemble essentiellement à ceci :

@Component({...})
export class AppComponent {
  @ViewChild('username') input: ElementRef<HTMLInputElement>;
}

C'est une bonne introduction aux références de modèles, et j'espère que cela vous permettra de mieux comprendre comment les utiliser, quand et où. Non seulement cela, mais à quoi s'attendre lorsque vous déclarez une référence de modèle et comment exporter également des références à des éléments tels que des directives.

Bon reffing ! 

Source : https://ultimatecourses.com/blog/angular-template-reference-variables

#angular