justworx / trix (public) (License: agpl-3.0) (since 2018-03-19) (hash sha1)
A python programming library, full of tricks I frequently use.
No history found.

README:


Copyright 2018 justworx
This file is part of the trix project, distributed under
the terms of the GNU Affero General Public License.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.



# trix

This is the rough draft stage. There's always more coming soon and a
lot of long-term plans for the future. I want to put this out now
because I think some of it might be useful as-is, and because I don't
want to lose it all in a fire or whatever.


#### features

Some features (which may or may not be perfect atm):
* A `trix.process()` classmethod that opens a new process, running an
object of any class (but, for trix purposes, objects based on
util's `Runner`) and controlling the remote object via the local
object `trix.process()` returns.
* File system operations in the 'fs' package, with support from the
`Stream` classes in the 'util.stream' package.
* A smallish "data" package with extended unicode features and an
interesting `Cursor` class. Added a `Database` class to the data
package recently - watch for bugs (if you can figure out how to
use it without doc... which may or may not be coming soon).
* A rough draft of some networking classes in the "net" package,
(with support from 'util.sock') which are fairly easy to run in
threads.
* Text formatting features in the "fmt" package, including JSON text
formatting, Grids, Tables, Lists, and string formatting.


#### don't complain

There are good reasons for the weirdness of this code. When I reach
certain milestones, you'll start to appreciate it. There's no point in
getting into it now.

There's no reason for my disregard of PEP-8 (and other moin edicts)
except that I like the way I do it. So don't bother complaining - just
use your text editor's tab-to-spaces command :)

Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/justworx/trix

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/justworx/trix

Clone this repository using git:
git clone git://git.rocketgit.com/user/justworx/trix

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main