How do I integrate Stripe into my Streamlit app? - python-3.x

I currently have a Streamlit app deployed on Heroku that essentially takes an Excel file, performs data analysis, and output the analysis as a downloadable link that the user presses to get the Excel file. It works great, however, I made this app for a small company, and I would like to privatize the app by making it only usable after a one-time payment has been made so the company can't make money off my app (they're very entrepreneurial and I know they're trying to rip me off). I found an example of someone who did a similar process with their Streamlit app https://discuss.streamlit.io/t/stripe-api-integration/13159. Although, I'm not sure what code I would need to implement this Stripe service, how I would need to adjust my current code, and if it's possible to do without AWS Services (because I have no knowledge of AWS). Any help would be appreciated!

Related

How do I publish a report to Tableau/BI tool with React app

we have a react front-end which is connected to Express/Node.js back-end which itself relies on Neo4J database (because we need this kind of relation between data). The whole stack runs on AWS.
We would now like to interact with Tableau (we liked it, but we are open to other BI solutions if they are a better fit). The main goal is that the users of our web application will be able to create customizable reports and of course view them. They would only have access to their own data.
So my question are as follows:
Is it possible to interact with Tableau/other BI solution through some SDK in React/Express app in order to create reports and view them?
How could we make sure that a given user can only work with his data in the BI tool?
If there is a better and easier solution which will drive us to what we are trying to achieve we are opened to those ideas :)
Thanks in advance to all!

How Can I setup Google Actions For Team Development?

I am working with a team to develop a Google Action for an Organisation called 'Rocket Chat'. Now what we want to do is that, to create one main account under that organisation, where frontend and backend will be hosted and also give access of this account to a few Developers. What will be the most efficient way of doing this?. Any ideas or suggestions on how to do that are appreciated. Thanks.
Frontend is hosted on Dialogflow and for backed we are hosting our fulfilment on Firebase. If you want more details on our setup, please visit here => https://github.com/RocketChat/google-action-rocketchat
The "correct" way to do it would be for every developer to use their own account, and share a project with all of them. This also will allow you to have more granular permissions for each developer.
In addition to having ownership of the project, you may also want to have some processes in place to mitigate potential issues. If everyone uses one project, it's possible to run into race conditions if multiple developers upload the same cloud function. The Dialogflow console also may have issues with multiple editors at one time.
For easier development, each developer may want their own separate prototyping project which gives them full control over the environment, and then have some way to integrate their changes into one master project.

Simple app admin UI in Heroku or Firebase?

I would appreciate if someone could point me to the more simple direction between Firebase and Heroku.
I'm planning a simple React Native photo app for scientific purposes (take image, save phone geolocation, send both details to database, that's it!).
I need to create a really simple admin UI for the submitted photos+geolocations: view, delete, tag photo (correct/incorrect), download geolocations. Just one user is OK.
Would it be easier me to create the admin UI on Firebase or Heroku? Or if there are already ready-made admin UI's available?
The stack is: React Native, Node.js (+ Express?), MongoDB
And, I'm not creating the app myself, but hiring a freelancer. Maybe they have their own preferences, but I was just interested to know of there's a big difference accessing the data in Firebase or Heroku.
Both the app and the admin UI shoudl be really simple, just bare-bones. I expect the app + admin ui to be created within 100 hrs.
The core capability of Firebase is real time sync of data pushed to multiple clients. It doesn't sound like you need that in your app. You could still use Firebase for what you need, but frankly it sounds to me like overkill.
I think that for your simple requirements you might find Heroku easier and faster.

Paypal, angular 2 and expressjs server

I am new to web development and have put together a decent Angular 2 MEAN web-app that I would like to launch relatively soon. Unfortunately PayPals documentation is such a gigantic Kafkaesque clusterf maze swamp mire that I am lost in and have no clue what I'm doing, I have 30 browser tabs open including code examples and their node sdk/REST. I've tried a few of the different options on offer which involved pasting their scripts to try get a button but nothing happened. Does anyone have a simple guide I can follow and a simple recommendation for integrating paypal payments into MEAN stack? I just need to be able to set payment amounts based on data that is contained in objects I have access to in my front-end, so a simple front-end solution would be nice where user can pay with paypal account or credit card and where I can plug the variable {{event.price}} straight into paypals api and send it off, and verify it somehow.
Thanks

How to create an account on Google Apps to use Google Apps Extensions Console?

I am asking this question because the information on tutorials is terribly vague for a novice. Concretely, I am trying to put up an extractor to use in Gmail Contextual App. Here is where it gets complicated. To make a Gmail Contextual App, I need to upload my app code as extractor on Google Apps Extensions Console, but I am just unable to access or know where is this page. All it say here is that
Point your browser to http://code.google.com/googleapps/console/a/yourDomainName.
Well I did exactly that, considering a project at code.google.com doesn't have any place to upload an extractor, and pointed to instead
http://code.google.com/googleapps/console/a/GodKnowsWhatTheHeckIsThis
Where GodKnowsWhatTheHeckIsThis is completly arbitrary, I was expecting some magic here that somehow I will be taken to a project that I have not even created.
Well what happened instead is: infinite recursion.
Can you please help me here? I will be terribly grateful.

Resources