diff --git a/.gitignore b/.gitignore index 6ace13d..6a6096d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ test.py dist/ __pycache__/ *.pyc +*.egg-info/ +build/ diff --git a/LICENSE b/LICENSE index 2c3bd90..2a7e98a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2016 - 2017 Polybit Inc. +Copyright (c) 2016 - 2021 Polybit Inc. 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 diff --git a/README.md b/README.md index 15eadbd..45d93de 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,18 @@ -# StdLib Python Bindings +# Autocode standard library Python bindings -[StdLib Setup](https://github.com/stdlib/lib) | -[Node](https://github.com/stdlib/lib-node) | -**Python** | -[Ruby](https://github.com/stdlib/lib-ruby) | -[Web](https://github.com/stdlib/lib-js) +Basic Python bindings for Autocode standard library service accession. +Python 2.x and 3.x supported. -Basic Python bindings for StdLib service accession. Python 2.x and 3.x supported. +Used to interface with services built using [Autocode](https://autocode.com) and +the [Autocode CLI](https://github.com/acode/cli). -Used to interface with services built using [StdLib](https://stdlib.com) and -the [StdLib Command Line Tools](https://github.com/stdlib/lib). +The `lib` package is available on [PyPI: lib](https://pypi.python.org/pypi/lib) +and operates as zero-dependency interface to run StdLib functions. +This means that you can utilize any service on StdLib without installing any +additional dependencies, and when you've deployed services to StdLib, you have +a pre-built Python SDK. For example. -The `lib` package is available on [PyPI: lib](https://pypi.python.org/pypi/lib) and -operates as zero-dependency interface to run StdLib functions. This means that -you can utilize any service on StdLib without installing any additional -dependencies, and when you've deployed services to StdLib, you have a pre-built -Python SDK --- for example; - -```python +``` from lib import lib try: @@ -26,8 +21,8 @@ except RuntimeError as err: # handle error ``` -To discover StdLib services, visit https://stdlib.com/search. To build a service, -get started with [the StdLib CLI tools](https://github.com/stdlib/lib). +To discover StdLib services, visit https://stdlib.com/search. To build a +service, get started with [the StdLib CLI tools](https://github.com/stdlib/lib). ## Installation @@ -86,9 +81,11 @@ as listed on StdLib). ## Additional Information -To learn more about StdLib, visit [stdlib.com](https://stdlib.com) or read the -[StdLib CLI documentation on GitHub](https://github.com/stdlib/lib). +To learn more about Autocode and the standard library, visit +[autocode.com](https://autocode.com) or read the +[Autocode CLI documentation on GitHub](https://github.com/acode/cli). -You can follow the development team on Twitter, [@StdLibHQ](https://twitter.com/stdlibhq) +You can follow the development team on Twitter, +[@AutocodeHQ](https://twitter.com/AutocodeHQ). -StdLib is © 2016 - 2017 Polybit Inc. +Autocode is © 2016 - 2021 Polybit Inc. diff --git a/lib/__init__.py b/lib/__init__.py index 976607b..4c7c5be 100644 --- a/lib/__init__.py +++ b/lib/__init__.py @@ -2,7 +2,7 @@ class LibGen(): import os - HOST = 'functions.lib.id' + HOST = 'functions.api.stdlib.com' PORT = 443 PATH = '/' diff --git a/setup.cfg b/setup.cfg index b88034e..12871ff 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,2 @@ [metadata] -description-file = README.md +description-file=README.md diff --git a/setup.py b/setup.py index bc17709..981c6b5 100644 --- a/setup.py +++ b/setup.py @@ -1,13 +1,14 @@ from distutils.core import setup + setup( name = 'lib', packages = ['lib'], - version = '3.0.0', - description = 'StdLib: Standard Library for Microservices Python Bindings', + version = '4.0.0', + description = 'Autocode standard library Python bindings', author = 'Keith Horwood', author_email = 'keithwhor@gmail.com', - url = 'https://github.com/stdlib/lib-python', - keywords = ['stdlib', 'microservice', 'serverless', 'faas', 'lib'], + url = 'https://github.com/acode/lib-python', + keywords = ['autocode', 'stdlib', 'microservice', 'serverless', 'faas', 'lib'], license='MIT', classifiers = [ 'Programming Language :: Python :: 2',