abstra-app / abstra-lib Goto Github PK
View Code? Open in Web Editor NEWPython-based workflow engine. Automate and manage custom business processes, with no overhead.
Home Page: https://abstra.io
Python-based workflow engine. Automate and manage custom business processes, with no overhead.
Home Page: https://abstra.io
I could not find any license and was wondering if this package is FOSS or has a proprietary license? I could not find it with hackerforms, so I thought, I'd ask here. Thanks.
I was following the code example at the documentation:
af.Page().read_checklist(
"",
[
{
"label": "I have read and agree to the [terms of services](https://example.com)",
"value": "agree",
},
],
required=True,
).run()
But I cannot make the input field become required like it happens with other widgets (e.g., read_cards
). Even if I do not mark anything, the page goes to the next slide. Is the required condition on read_checklist
broken?
I love the functionality, but i can't find any basic tutorial and the ones present are very confusing. I can't figure out how to integrate this in my python code.
(.venv) > abstra serve
ABSTRA EDITOR RUNNING: http://localhost:3000/_editor
A new version of Abstra Editor is available. Latest version is 1.8.20, but you have 0.0.0.
Please run 'pip install abstra --upgrade' to update.
Error writing to abstra.json
* Serving Flask app 'abstra_server.apps'
* Debug mode: off
[2023-08-21 10:43:17,534] ERROR in app: Exception on /_editor/api/forms/ [GET]
Traceback (most recent call last):
File "F:\AnyTask\Learn\.venv\Lib\site-packages\flask\app.py", line 2525, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\AnyTask\Learn\.venv\Lib\site-packages\flask\app.py", line 1822, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\AnyTask\Learn\.venv\Lib\site-packages\flask_cors\extension.py", line 176, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
^^^^^^^^^^^^^^^^^^
File "F:\AnyTask\Learn\.venv\Lib\site-packages\flask\app.py", line 1820, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "F:\AnyTask\Learn\.venv\Lib\site-packages\flask\app.py", line 1796, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\AnyTask\Learn\.venv\Lib\site-packages\abstra_server\usage.py", line 32, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "F:\AnyTask\Learn\.venv\Lib\site-packages\abstra_server\apps\editor.py", line 55, in get_forms
return [f.editor_dto for f in api.get_forms()]
^^^^^^^^^^^^^^^
File "F:\AnyTask\Learn\.venv\Lib\site-packages\abstra_server\api\__init__.py", line 106, in get_forms
abstra_json = self.__get_abstra_json()
^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\AnyTask\Learn\.venv\Lib\site-packages\abstra_server\api\__init__.py", line 58, in __get_abstra_json
self.abstra_json_path.read_text(encoding="utf-8")
File "C:\Program Files\Python311\Lib\pathlib.py", line 1058, in read_text
with self.open(mode='r', encoding=encoding, errors=errors) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\pathlib.py", line 1044, in open
return io.open(self, mode, buffering, encoding, errors, newline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'abstra.json'
Hello!
I have been trying to launch a project that I built with abstra
(a great library, by the way) on the Abstra Cloud
, but I cannot make it work. My cloud console does not even show that a deployment was attempted.
Here is the structure of my current folder:
--main_folder
--.abstra
--credentials
--img
--logo_icon.ico
--questions
--question0.yaml
--question1.yaml
--question2.yaml
--question3.yaml
--question4.yaml
--question5.yaml
--abstraignore
--abstra.json
--AIA.py
--glossary.md
--requirements.txt
The app works fine in my machine.
I followed the tutorial on YouTube, but following the same steps did not produce those results. Is there another way to deploy abstra
forms (not using their own Cloud service)? I would appreciate it if anyone can help! I want to be able to deploy this, and I don't want to have to write the entire thing again on some other framework like Streamlit
or Django
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.