rspace-client-python
frappe
rspace-client-python | frappe | |
---|---|---|
2 | 2 | |
10 | 6,534 | |
- | 2.2% | |
0.0 | 10.0 | |
8 months ago | 5 days ago | |
Python | Python | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rspace-client-python
-
Short video showing example of passing data from an ELN to jupyter for analysis, then returning the result to the lab notes using APIs and python.
Yes, the API is flexible and you can use it pretty much any way you like. You can learn more about the RSpace API here: https://researchspace.helpdocs.io/category/ifpi5pwbck-for-developers https://community.researchspace.com/public/apiDocs Our API github page here: https://github.com/rspace-os For a tutorial see: https://github.com/rspace-os/api-tutorial For more on using Python with our API see: https://github.com/rspace-os/rspace-client-python For a nice example of how our partner ChemAxon has utilized this API to integrate with their assay management system see: https://youtu.be/2N2dDMjK4JM As another simple example, here is a curl script you can use in the terminal of your mac to ingest files to the RSpace gallery. curl -X POST -H "accept: application/json" -H "apiKey: [add your API Key here]“ -H "content-type: multipart/form-data" -F "file=@ [add the path to a target file here]“ -F "caption=Demo input of image file using API and command line" “[add the URL of your server here]/api/v1/files” There is also a Command Line Interface (CLI) available that works with the API: You can read more about that here: https://github.com/richarda23/rspace-cli Here is an example of how you might use the CLI to create RSpace LabGroups: 1. Download the RSpace CLI for your platform. https://bintray.com/ra22597/rspace-cli/rspace-cli/0.0.14 2. Give it executable permissions: chmod 755 3. Create a file in the same folder as the executable with 'sysadmin-community.env' and add these 2 lines, save it RSPACE_API_KEY= RSPACE_URL=https://community.researchspace.com/api/v1 4. Keep the config file secret: chmod 400 sysadmin-community.env ---- to create a group 5. Run a command like this: ./rspace eln addGroup --name daltongroup2 --pi jdalton --members mpostdoc,testaccount1 --config sysadmin-community.env and get output like this : Id Name Type SharedFolderId Members 17301506 daltongp2 LAB_GROUP 814701 jdalton;mpostdoc;t.. Small print... Step 1 - the most up to date version link can be found on Github: https://github.com/richarda23/rspace-cli ( see download link in 'Downloading section) Step -3 config file can be anything you like but must have .env suffix. Step 5 - members string is comma-separated list of usernames NO SPACEs Run ./rspacex eln addGroup --help for helpdocs. Note that the restriction 'user must have logged in once' is no longer an issue. BUT the user accounts must exist. ( you can create users via 'addUser' command) Why use this rather than curl? 1) More secure - api keys are in files rather than logged to command line 2) POSTing stuff with curl has tricky syntax with quotes and curly braces, this is much simpler 3) Nicer output rather than JSON dump (although you can get output in various formats using -f option)
frappe
-
Looking for open-source enthusiast programmers
ERPNext and Frappe Framework.
-
ERPNext Installation Details
$ bench init --frappe-branch version-13 myERPNext $ /home/bpdp/software/python-dev-tools/miniconda39/envs/py39-erpnext/bin/virtualenv -q env -p python3 Getting frappe $ git clone https://github.com/frappe/frappe.git --branch version-13 --depth 1 --origin upstream Kloning ke 'frappe'... remote: Enumerating objects: 2914, done. remote: Counting objects: 100% (2914/2914), done. remote: Compressing objects: 100% (2746/2746), done. remote: Total 2914 (delta 404), reused 1006 (delta 96), pack-reused 0 Menerima objek: 100% (2914/2914), 16.04 MiB | 1.16 MiB/s, done. Menguraikan delta: 100% (404/404), done. Installing frappe $ myERPNext/env/bin/python -m pip install -q -U -e myERPNext/apps/frappe WARNING: You are using pip version 21.2.2; however, version 21.2.3 is available. You should consider upgrading via the '/home/bpdp/kerjaan/erpnext/myERPNext/env/bin/python -m pip install --upgrade pip' command. $ yarn install yarn install v1.22.11 warning ../../../../../../package.json: No license field [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... warning " > [email protected]" has unmet peer dependency "[email protected] - 3". warning " > [email protected]" has unmet peer dependency "popper.js@^1.16.0". warning Workspaces can only be enabled in private projects. [4/4] Building fresh packages... $ yarn run snyk-protect yarn run v1.22.11 warning ../../../../../../package.json: No license field $ snyk protect Successfully applied Snyk patches Done in 11.34s. Done in 239.98s. Updating node packages... Installing node dependencies for frappe $ yarn install yarn install v1.22.11 warning ../../../../../../package.json: No license field [1/4] Resolving packages... success Already up-to-date. $ yarn run snyk-protect yarn run v1.22.11 warning ../../../../../../package.json: No license field $ snyk protect Successfully applied Snyk patches Done in 9.18s. Done in 9.87s. $ bench build An Error occurred while downloading assets... ✔ Application Assets Linked yarn run v1.22.11 warning ../../../../../../package.json: No license field $ FRAPPE_ENV=production node rollup/build.js Production mode ✔ Built js/moment-bundle.min.js ✔ Built js/libs.min.js Building frappe assets... ✔ Built js/checkout.min.js ✔ Built js/dialog.min.js ✔ Built js/web_form.min.js ✔ Built js/user_profile_controller.min.js ✔ Built js/list.min.js ✔ Built js/chat.js ✔ Built js/bootstrap-4-web.min.js ✔ Built js/frappe-recorder.min.js ✔ Built js/barcode_scanner.min.js ✔ Built js/frappe-web.min.js ✔ Built css/report.min.css ✔ Built css-rtl/report.min.css ✔ Built css/frappe-chat-web.css ✔ Built css/web_form.css ✔ Built css-rtl/frappe-chat-web.css ✔ Built css-rtl/web_form.css ✔ Built js/data_import_tools.min.js ✔ Built js/report.min.js ✔ Built css/printview.css ✔ Built css/email.css ✔ Built css/login.css ✔ Built css/frappe-web-b4.css ✔ Built js/desk.min.js ✔ Built js/control.min.js ✔ Built css/desk.min.css ✔ Built css-rtl/frappe-web-b4.css ✔ Built css-rtl/email.css ✔ Built css-rtl/login.css ✔ Built css-rtl/printview.css ✔ Built css-rtl/desk.min.css ✔ Built js/form.min.js ✨ Done in 47.395s Done in 48.40s. SUCCESS: Bench myERPNext initialized $
What are some alternatives?
sandman2 - Automatically generate a RESTful API service for your legacy database. No code required!
frappe_docker - Docker images for production and development setups of the Frappe framework and ERPNext
django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs
sendgrid-python - The Official Twilio SendGrid Python API Library
ERPNext - Free and Open Source Enterprise Resource Planning (ERP)
helm - Helm Chart Repository for Frappe/ERPNext
bench - CLI to manage Multi-tenant deployments for Frappe apps
berry - 📦🐈 Active development trunk for Yarn ⚒
dbt-spotify-analytics - Containerized end-to-end analytics of Spotify data using Python, dbt, Postgres, and Metabase
Discord-Token-Grabber - Simple token grabber developped in python.
git - A fork of Git containing Windows-specific patches.
firepyer - Interacting with Cisco FTD devices via the FDM REST API in Python