frappe | Low code web framework for real world applications | Application Framework library

 by   frappe Python Version: v14.39.0 License: MIT

kandi X-RAY | frappe Summary

kandi X-RAY | frappe Summary

frappe is a Python library typically used in Server, Application Framework, Framework applications. frappe has a Permissive License and it has high support. However frappe has 149 bugs, it has 2 vulnerabilities and it build file is not available. You can download it from GitHub.

Low code web framework for real world applications, in Python and Javascript
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              frappe has a highly active ecosystem.
              It has 5214 star(s) with 2547 fork(s). There are 195 watchers for this library.
              There were 10 major release(s) in the last 12 months.
              There are 1608 open issues and 2893 have been closed. On average issues are closed in 55 days. There are 36 open pull requests and 0 closed requests.
              OutlinedDot
              It has a negative sentiment in the developer community.
              The latest version of frappe is v14.39.0

            kandi-Quality Quality

              OutlinedDot
              frappe has 149 bugs (5 blocker, 2 critical, 34 major, 108 minor) and 1641 code smells.

            kandi-Security Security

              frappe has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              frappe code analysis shows 2 unresolved vulnerabilities (0 blocker, 2 critical, 0 major, 0 minor).
              There are 94 security hotspots that need review.

            kandi-License License

              frappe is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              frappe releases are available to install and integrate.
              frappe has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are available. Examples and code snippets are not available.
              It has 106929 lines of code, 5833 functions and 2049 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed frappe and discovered the below as its top functions. This is intended to give you an instant insight into frappe implemented functionality, and help decide if they suit your requirements.
            • Validate the field names of the document .
            • Get a list of EventEvents .
            • Prepare filter condition .
            • Search for a search widget .
            • Import data
            • Restore a database .
            • Build a dict of fields that match the given doctype .
            • Execute a SQL query .
            • Handle a request .
            • Delete a document .
            Get all kandi verified functions for this library.

            frappe Key Features

            No Key Features are available at this moment for frappe.

            frappe Examples and Code Snippets

            go-frappe-client,Sample program
            Godot img1Lines of Code : 40dot img1License : Permissive (MIT)
            copy iconCopy
            package main
            
            import (
            	"encoding/json"
            	"fmt"
            	"net/http"
            	"net/url"
            
            	frappe "github.com/joeirimpan/go-frappe-client"
            )
            
            // SampleResp holder struct
            type SampleResp struct {
            	Message string   `json:"message"`
            }
            
            func main() {
            	auth := LoginAuth{
            		  
            frappe - FRP library for Rust,Usage
            Rustdot img2Lines of Code : 37dot img2License : Permissive (MIT)
            copy iconCopy
            use frappe::Sink;
            
            fn main() {
                // values are sent from a sink..
                let sink = Sink::new();
                // ..into a stream chain
                let stream = sink.stream().inspect(|a| println!("--sent: {}", a));
            
                // `hold` creates a Signal that stores the last v  
            Mobile app for Frappe Framework
            CSSdot img3Lines of Code : 27dot img3License : Permissive (MIT)
            copy iconCopy
            $ cordova platform add ios
            $ cordova platform add android
            
            $ cordova plugin add cordova-plugin-statusbar
            $ cordova plugin add cordova-plugin-inappbrowser
            $ cordova plugin add cordova-plugin-file
            
            $ cordova build ios && cordova emulate ios &am  

            Community Discussions

            QUESTION

            i made some changes in my frappe app locally. After that i accepted it from visual studio code as i have cloned it on my system
            Asked 2022-Feb-02 at 08:37

            I made some changes in my frappe app locally.
            After that I accepted it from Visual Studio Code as I have cloned it on my system.

            After that, I opened my Linux terminal and look at the status by git status, it was showing the changes I have made.

            After that, I typed git commit -m "my changes".
            And in last, I pushed it to the main server by git push upstream new_branch.

            But right now, I only have read permission, so I could not do it.

            So my question is: when I will get write permission of the main project, will I have to do this process again?
            Or can I simply push it again?
            Because now when I type git status, it is showing there is nothing to commit.

            ...

            ANSWER

            Answered 2022-Feb-02 at 08:11

            A simple push will be enough.

            To gain write access on a remote repository does not change your local clone and local work.

            Note: one does not generally push directly to upstream, only to the default remote 'origin' which should point to your own repository (or fork of a repository).

            Once push, you can initiate a pull request with, as a target, a branch of the original upstream repository.

            Source https://stackoverflow.com/questions/70952003

            QUESTION

            ErpNext jalali calendar
            Asked 2022-Jan-17 at 10:32

            How to add jalali clock and calendar to erpNext? Is there a way to manually add the jalali calendar to ErpNext?

            ...

            ANSWER

            Answered 2022-Jan-17 at 10:32

            You have to add lines to the below file.

            Source https://stackoverflow.com/questions/70265722

            QUESTION

            Import and parse a file to fill the form
            Asked 2021-Nov-15 at 04:43

            Currently, I'm developing a custom app. So far I got the DocType ready to be filled in manually. We got files (SQLite3) that I'd like to upload, parse, extract the necessary fields of it and fill in the form. Basically like the import data tool. In my case, no bulk operation is needed and if possible do the extraction part server-side.

            What I tried so far

            I added a Server Action to call a whitelisted method of my app. I can get the current doc with:

            ...

            ANSWER

            Answered 2021-Nov-15 at 04:43

            I have developed the same tool but that was for CSV upload. I am going to share that so it will help you to achieve your result.

            JS File.

            Source https://stackoverflow.com/questions/69934125

            QUESTION

            Share data for two servers but for different scripts on Frappe framework
            Asked 2021-Nov-06 at 18:01

            I am using Frappe framework. I would like to share same data that is collected from Sign up to POS profile but keeping in mind that both of them located on different servers. Any advice?

            ...

            ANSWER

            Answered 2021-Nov-06 at 18:01

            You can use Event Streaming.

            Event Streaming enables inter site communications between two or more sites. You can subscribe to Document Types and stream Documents between different sites.

            For Example: Consider you have more than one Company hosted on different sites, one among them is the main site where you want to do ledger posting and on other sites, the Sales Invoices are generated. You can use Event Streaming in this case. For this, your child company sites can subscribe to the main company site for Item, Customer, and Supplier Document Types. The main Company in turn can subscribe to the child companies for Sales Invoices.

            Source: https://docs.erpnext.com/docs/v13/user/manual/en/automation/event_streaming

            Source https://stackoverflow.com/questions/69565966

            QUESTION

            How to create a Home folder in ErpNext File Doctype after deleting it?
            Asked 2021-Nov-04 at 16:03

            After I run frappe.db.delete(“File”) I have now this error every time I uploaded a file and I can’t create a Home folder. Any idea how to solve this? I also want to know how to create a Home folder on ERPNext.

            Folder Home did not found image

            ...

            ANSWER

            Answered 2021-Nov-04 at 16:03

            The solution that I have right now is to insert a Home on tabFile table.

            Source https://stackoverflow.com/questions/69836459

            QUESTION

            Swift: Files appear to be corrupt after base64 encoding
            Asked 2021-Aug-19 at 11:58

            I'm trying to upload a file as an attachment to my Frappe instance and running into a couple of problems. The first of which is related and a padding error is documented: in this question. I include it here just incase it is in some way part of the mistake i'm making.

            My second problem, and the focus of this question is that when I upload my attachments they appear to be corrupt. A small xml file can be opened but is largely garbled. A larger PDF file will not even open. My assumption is i'm making some sort of beginner mistake with the base64 encoding.

            Get data from local URL:

            ...

            ANSWER

            Answered 2021-Aug-19 at 11:58

            I was able to find a solution that works for me.

            First I used an online base64 encoder to encode a simple xml file. I then used the generated base64 string to re-create my POST using Postman (great tool, only just discovered it).

            This worked and my file was attached to the specified record and not corrupted.

            I then used the feature of Postman that generates code to see what it thought my base64String used for filedata should look like. I found that all the '+' characters were replaced with "%2B".

            A bit of further investigation found that the query item in Swift does some of it's own percent encoding, however this answer gave an explanation why the '+' character is valid and not percent encoded by default.

            The end result was that I removed my manual percent encoding from the original base64String:

            Source https://stackoverflow.com/questions/68829911

            QUESTION

            Frappe: cur_frm.add_custom_button() does not add a Custom-Button
            Asked 2021-Jul-31 at 11:45

            I'm creating custom-buttons in a Client Script. This code works:

            ...

            ANSWER

            Answered 2021-Jul-31 at 11:45

            cur_frm is deprecated API. Why can't you use frm from one of the JS event methods?

            Source https://stackoverflow.com/questions/68592389

            QUESTION

            Azure DevOps React Container Production Build JavaScript heap out of memory error
            Asked 2021-Jul-04 at 12:19

            I am trying to build react prod docker container with Azure DevOps pipelines. After I upgrade my build environment and code, Pipeline failed. After some research I add "--node-flags --max-old-space-size=8192" statement my build command. But it didn't matter. I also try tried relevant node containers for a build, it didn't work.

            ...

            ANSWER

            Answered 2021-Jul-04 at 12:19

            I was aware that the "--max-old-space-size=8192" parameter does not pass to build. So I dedided to add ENV in Dockerfile like " ENV NODE_OPTIONS="--max-old-space-size=8192"". Finally my Dockerfile transformed to:

            Source https://stackoverflow.com/questions/68026819

            QUESTION

            Generate a random string on employee custom field in ERPNext
            Asked 2021-Apr-23 at 03:28

            I have a custom employee field called Misconduct Case Number that’s supposed to be extracted and used elsewhere outside ERPNext. The random string should be in the format [8 Alfanumeric charactors] [Date & Time] [Constant Organization Number] eg DX0FBN78 04200645 PTD0010045

            For some reason, I am not able to generate the random string using the following custom script and there are no errors in the console.

            ...

            ANSWER

            Answered 2021-Apr-23 at 03:28

            Well, for one, x is not a number, doesn't change, and never satisfies x > 0.

            Not sure what kind of JS is supported in ERPNext, but this should work:

            Source https://stackoverflow.com/questions/67223407

            QUESTION

            bluetooth module accelerometer
            Asked 2021-Mar-23 at 18:27

            I have a project to do for school: a captor for boxer. It will be i have to connect an Arduino nano 33 ble Sense with the Bluetooth. The idea is to transfer data of accelerometer to a smartphone with an application (maybe made with MIT app Inventor). And so show to an athlete the power of his hit with the application (accelration --) force ---) power). But i didn't manage to connect my arduino to my smarthphone. Indeed, i follow a tuto to connect it. In fact, I succeed in connecting the arduino with nFr connect but I can't do anything.

            the code (for bluetooth nFr connect) in question is here : (its just an example because my final goal is to do this but with the accelerometer)

            ...

            ANSWER

            Answered 2021-Mar-23 at 18:27

            Edited to match edited code in question

            To transfer your accelerometer data you could do something similar to the BatteryMonitor example:

            Use notifications on your characteristic to allow your smartphone to receive changes without constantly reading manually. Readout and update accelerometer data constantly while central is connected.

            Source https://stackoverflow.com/questions/66653891

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install frappe

            Install via Docker
            Install via Frappe Bench
            Offical Documentation
            Managed Hosting on Frappe Cloud

            Support

            Code of ConductContribution GuidelinesSecurity PolicyTranslations
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/frappe/frappe.git

          • CLI

            gh repo clone frappe/frappe

          • sshUrl

            git@github.com:frappe/frappe.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Application Framework Libraries

            Try Top Libraries by frappe

            charts

            by frappeJavaScript

            erpnext

            by frappePython

            gantt

            by frappeJavaScript

            books

            by frappeTypeScript

            bench

            by frappePython