Skip to main content

solargraph-utils for python

Project description

Copyright (c) 2018 uplus

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Description: # solargraph-utils.py

A utilities of [solargraph](https://github.com/castwide/solargraph) for python inspired by [solargraph-utils](https://github.com/castwide/solargraph-utils).

## Current supported APIs

* `/prepare`
* `/update`
* `/suggest`
* `/define`
* `/resolve`
* `/signify`

[solargraph API docs](https://github.com/castwide/solargraph/blob/master/SERVER.md).

## Example

```python
import solargraph_utils

text = "String."
line = 0
column = 7

server = solargraph_utils.Server(command='solargraph')
client = solargraph_utils.Client(server.url)

result = client.suggest(text=text, line=line, column=column)
print(result)

server.stop()
```

Platform: UNKNOWN

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

solargraph-utils.py-1.1.0.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file solargraph-utils.py-1.1.0.tar.gz.

File metadata

File hashes

Hashes for solargraph-utils.py-1.1.0.tar.gz
Algorithm Hash digest
SHA256 4ae3d5bafa615dcf58bbda29a30ab3458aaf6cda3a04d205dbce57f07028c6cf
MD5 32fcfee554be00a5f2c8e34ab8c7ce5f
BLAKE2b-256 d618d917f156ddf96385388dc6e16dd92dc668618c9f4ade0772110ca29cace1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page