Skip to content

Commit

Permalink
v0.7.2 (Use Salve)
Browse files Browse the repository at this point in the history
  • Loading branch information
Moosems committed Jul 12, 2024
1 parent 257d4db commit 07ce8eb
Show file tree
Hide file tree
Showing 38 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Upload salve_ipc to Pypi
name: Upload salve to Pypi

on:
release:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ __pycache__/
dist/
build/
.ruff_cache/
salve_ipc.egg-info/
salve.egg-info/
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<h1 align="center">Salve v0.7.1</h1>
<h1 align="center">Salve v0.7.2</h1>

# Installation

In the Command Line, paste the following: `pip install salve_ipc`
In the Command Line, paste the following: `pip install salve`

## Description

Expand All @@ -21,8 +21,8 @@ To contribute, fork the repository, make your changes, and then make a pull requ

## Required Python Version: 3.11+

Salve IPC will use the three most recent versions (full releases) going forward and will drop any older versions as new ones come out. This is because I hope to keep this package up to date with modern python versions as they come out instead of being forced to maintain decade old python versions.
Currently 3.11 is the minimum (instead of 3.10) as Salve IPC was developed under 3.12 and there are many features that Salve IPC relies on from this version I want. However, after 3.14 is released, the minimum version will be 3.12 (as would be expected from the plan) and will change accordingly in the future as is described in the plan above.
Salve will use the three most recent versions (full releases) going forward and will drop any older versions as new ones come out. This is because I hope to keep this package up to date with modern python versions as they come out instead of being forced to maintain decade old python versions.
Currently 3.11 is the minimum (instead of 3.10) as Salve was developed under 3.12 and there are many features that Salve IPC relies on from this version I want. However, after 3.14 is released, the minimum version will be 3.12 (as would be expected from the plan) and will change accordingly in the future as is described in the plan above.

## License

Expand Down
2 changes: 1 addition & 1 deletion docs/source/command-sheet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Command Sheet

Below is a chart outlining the different request commands you can give and the different arguments they require with an explanation in parentheses if needed.

.. list-table:: **IPC Commands**
.. list-table:: **Requestable Commands**
:widths: 25 75
:header-rows: 1

Expand Down
4 changes: 2 additions & 2 deletions docs/source/example-usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Now that you have ``Salve`` installed, let's try running a simple example that p
# We import the IPC class, the HIGHLIGHT command, and the Response TypedDict
# NOTE: The HIGHLIGHT is actually just a string but it makes it easier to get
# spelling errors from your code editor
from salve_ipc import HIGHLIGHT, IPC, Response
from salve import HIGHLIGHT, IPC, Response
# Because this module is made with multiprocessing we need any usage to
Expand Down Expand Up @@ -65,7 +65,7 @@ In a more realistic case, you would probably do something more like the followin

.. code-block:: python
from salve_ipc import IPC, Response, HIGHLIGHT
from salve import IPC, Response, HIGHLIGHT
from tkinter import Tk
class App(Tk):
Expand Down
2 changes: 1 addition & 1 deletion docs/source/examples/example_usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Example Usage
from selectors import EVENT_READ, DefaultSelector
from sys import stdin, stdout
from salve_ipc import AUTOCOMPLETE, IPC, Response
from salve import AUTOCOMPLETE, IPC, Response
def main():
Expand Down
2 changes: 1 addition & 1 deletion docs/source/examples/gui_client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Gui Client
from tkinter import Entry, Label, Tk
from salve_ipc import AUTOCOMPLETE, IPC, Response
from salve import AUTOCOMPLETE, IPC, Response
def main():
Expand Down
2 changes: 1 addition & 1 deletion docs/source/examples/simple_autocomplete_example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Simple Autocomplete Example
from time import sleep
from salve_ipc import AUTOCOMPLETE, IPC, Response
from salve import AUTOCOMPLETE, IPC, Response
def main():
Expand Down
2 changes: 1 addition & 1 deletion docs/source/examples/simple_definitions_example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Simple Definitions Example
from time import sleep
from salve_ipc import DEFINITION, IPC, Response
from salve import DEFINITION, IPC, Response
def main():
Expand Down
2 changes: 1 addition & 1 deletion docs/source/examples/simple_editorconfig_example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Simple Editorconfig Example
from time import sleep
from salve_ipc import EDITORCONFIG, IPC, Response
from salve import EDITORCONFIG, IPC, Response
def main():
Expand Down
2 changes: 1 addition & 1 deletion docs/source/examples/simple_highlight_example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Simple Highlight Example
from time import sleep
from salve_ipc import HIGHLIGHT, IPC, Response
from salve import HIGHLIGHT, IPC, Response
def main():
Expand Down
2 changes: 1 addition & 1 deletion docs/source/examples/simple_replacements_example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Simple Replacements Example
from time import sleep
from salve_ipc import IPC, REPLACEMENTS, Response
from salve import IPC, REPLACEMENTS, Response
def main():
Expand Down
8 changes: 4 additions & 4 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
===========================
``Salve IPC`` Documentation
===========================
=======================
``Salve`` Documentation
=======================

Welcome to ``Salve IPC``'s Documentation! ``Salve IPC`` is a library that can be used by code editors to easily get autocompletions, replacements, editorconfig suggestions, definitions, and syntax highlighting. It does this with a simple yet very powerful API while doing all major work in a seperate process to keep the main thread free and fast. To get started with Salve, visit the :doc:`installation` page!
Welcome to ``Salve``'s Documentation! ``Salve`` is a library that can be used by code editors to easily get autocompletions, replacements, editorconfig suggestions, definitions, and syntax highlighting. It does this with a simple yet very powerful API while doing all major work in a seperate process to keep the main thread free and fast. To get started with Salve, visit the :doc:`installation` page!

.. note::

Expand Down
2 changes: 1 addition & 1 deletion docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ To start using ``Salve``, first install it using pip:

.. code-block:: console
$ pip install salve-ipc
$ pip install salve
And it's installed! Congratulations on giving your code editors the tools they need to work and allowing youself to not pull out hair in the process!

Expand Down
2 changes: 1 addition & 1 deletion examples/example_usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from selectors import EVENT_READ, DefaultSelector
from sys import stdin, stdout

from salve_ipc import AUTOCOMPLETE, IPC, Response
from salve import AUTOCOMPLETE, IPC, Response


def main():
Expand Down
2 changes: 1 addition & 1 deletion examples/gui_client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from tkinter import Entry, Label, Tk

from salve_ipc import AUTOCOMPLETE, IPC, Response
from salve import AUTOCOMPLETE, IPC, Response


def main():
Expand Down
2 changes: 1 addition & 1 deletion examples/simple_autocomplete_example.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from time import sleep

from salve_ipc import AUTOCOMPLETE, IPC, Response
from salve import AUTOCOMPLETE, IPC, Response


def main():
Expand Down
2 changes: 1 addition & 1 deletion examples/simple_definitions_example.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from time import sleep

from salve_ipc import DEFINITION, IPC, Response
from salve import DEFINITION, IPC, Response


def main():
Expand Down
2 changes: 1 addition & 1 deletion examples/simple_editorconfig_example.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from time import sleep

from salve_ipc import EDITORCONFIG, IPC, Response
from salve import EDITORCONFIG, IPC, Response


def main():
Expand Down
2 changes: 1 addition & 1 deletion examples/simple_highlight_example.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from time import sleep

from salve_ipc import HIGHLIGHT, IPC, Response
from salve import HIGHLIGHT, IPC, Response


def main():
Expand Down
2 changes: 1 addition & 1 deletion examples/simple_replacements_example.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from time import sleep

from salve_ipc import IPC, REPLACEMENTS, Response
from salve import IPC, REPLACEMENTS, Response


def main():
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# pip install -r requirements.txt --break-system-packages; pip uninstall salve_ipc -y --break-system-packages; pip install . --break-system-packages --no-build-isolation; python3 -m pytest .
# pip install -r requirements.txt --break-system-packages; pip uninstall salve -y --break-system-packages; pip install . --break-system-packages --no-build-isolation; python3 -m pytest .
from setuptools import setup

with open("README.md", "r") as file:
long_description = file.read()


setup(
name="salve_ipc",
version="0.7.1",
name="salve",
version="0.7.2",
description="Salve is an IPC library that can be used by code editors to easily get autocompletions, replacements, editorconfig suggestions, definitions, and syntax highlighting.",
author="Moosems",
author_email="[email protected]",
Expand All @@ -25,5 +25,5 @@
"License :: OSI Approved :: MIT License",
"Typing :: Typed",
],
packages=["salve_ipc"],
packages=["salve"],
)
2 changes: 1 addition & 1 deletion tests/test_defintions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from pathlib import Path

from salve_ipc.server_functions import get_definition
from salve.server_functions import get_definition


def test_get_definition():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ipc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from sys import platform
from time import sleep

from salve_ipc import (
from salve import (
AUTOCOMPLETE,
DEFINITION,
EDITORCONFIG,
Expand Down

0 comments on commit 07ce8eb

Please sign in to comment.