semvec/pypi-packages huggingface dataset:
makeflaskreact 1.0.8
To make it easier to create a quick flask react app
License: MIT
Requires Python: >=3.6

## Getting Started with makeflaskreact


![](https://gph.is/g/4LW5MBQ)

This app makes it easier for your to build a react flask application.

Flask does not directly work with React in development as it needs cors to handle the cross-origin error on your local react app. So, this boiler plate reduces the time spent creating a simple react and flask app.

Requirements are `yarn` or `npm` and `python>=3.6.0`

To install:
`$ pip install makeflaskreact`

To run:

`$ makeflaskreact`
optionally:
add `--name PROJECT_NAME` to change the project name from `app` to what you want.

add `--norun` or `N` to run the server and client on exceution of the script

![](https://gph.is/g/ZPWme2Q)

![](https://gph.is/g/ZyewNRO)



### Parameters

**Input** | **Defaults**
------------ | -------------
**name**  (--name/-A)| app
**run**  (--run/-r) (--no-run/-N)| True -- will run if --no-run is not present
**server name** | server
**python** (used to create virtual env and download requirments)| python
**host** | 127.0.0.1
**port** | 5000
**react client** | no default will ask for either yarn (0.25+) or npm (5.2+)
**client** | client


### Final Output

Assuming standard run `makeflaskreact`
![](https://gph.is/g/ZyewNAv)
SharePlum 0.5.1
Python SharePoint Library
License: MIT
Keywords: SharePoint

SharePlum
==========

SharePlum is an easier way to work with SharePoint services. It handles all of the messy parts of dealing with SharePoint and allows you to write clean and Pythonic code.

Usage
-----

::

    from shareplum import Site
    from requests_ntlm import HttpNtlmAuth

    auth = HttpNtlmAuth('DIR\\username', 'password')
    site = Site('https://abc.com/sites/MySharePointSite/', auth=auth)
    sp_list = site.List('list name')
    data = sp_list.GetListItems('All Items', rowlimit=200)

Authenticate to Office365 Sharepoint
------------------------------------

::

    from shareplum import Site
    from shareplum import Office365

    authcookie = Office365('https://abc.sharepoint.com', username='username@abc.com', password='password').GetCookies()
    site = Site('https://abc.sharepoint.com/sites/MySharePointSite/', authcookie=authcookie)
    sp_list = site.List('list name')
    data = sp_list.GetListItems('All Items', rowlimit=200)


Access REST API
------------------------------------

::

    from shareplum import Site
    from shareplum import Office365
    from shareplum.site import Version

    authcookie = Office365('https://abc.sharepoint.com', username='username@abc.com', password='password').GetCookies()
    site = Site('https://abc.sharepoint.com/sites/MySharePointSite/', version=Version.v2016, authcookie=authcookie)
    folder = site.Folder('Shared Documents/This Folder')
    folder.upload_file('Hello', 'new.txt')
    folder.get_file('new.txt')
    folder.check_out('new.txt')
    folder.check_in('new.txt', "My check-in comment")
    folder.delete_file('new.txt')


Features
--------

- Reading and writing data to SharePoint lists using Python Dictionaries.
- Automatic conversion between SharePoint internal names and displayed names.
- Using Queries to filter data when retrieving List Items.
- Automatic conversion of data types.
- Supports Users datatype.
- Supports Office365 Sharepoint sites.
- Supports Folder and File operations with the REST API. (Requires SharePoint 2013 or newer)

Documentation
-------------

`Read the Docs <http://shareplum.readthedocs.org/en/latest/>`_

Contribute
----------

- `Issue Tracker <http://github.com/jasonrollins/shareplum/issues>`_
- `Source Code <http://github.com/jasonrollins/shareplum>`_

Unit Tests
^^^^^^^^^^

This package uses python unittest.
To run the unit tests, first copy tests/test_settings.py as tests/local_test_seetings.py and edit the contents to point at your sharepoint.
Second export your sharepoint password as an environment variable 'TEST_PASSWORD'
Then from the root folder run:

::

    python -m unittest disover  # all tests
    python -m unittest tests.test_site  # all site tests

License
-------

This project is licensed under the MIT license.